Skip to content

#3863eb

a balanced, electric blue · cool · closest name: Royal Blue

RGB
56, 99, 235
HSL
226°, 82%, 57%
CMYK
76, 58, 0, 8
Luminance
0.1576

At a glance

Every number on this page in one read: what #3863eb is made of, how bright it looks, and which way it leans.

Hex
#3863eb
Hue
226°
blue
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1576
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.06:1
Closest name
Royal Blue
ΔE2000 2.2
Where it sits
Hue226° of 360°
Saturation82%
Lightness57%
Temperature
Warm ← → Cool91% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#3863eb
RGBrgb(56, 99, 235)
HSLhsl(226, 82%, 57%)
CMYKcmyk(76%, 58%, 0%, 8%)
LABlab(46.7 32.6 -72.8)
LCHlch(46.7 79.8 294.1)
OKLCHoklch(0.552 0.211 266.1)
Decimal3695595
Display P3color(display-p3 0.220 0.388 0.922)

Copy-ready code

/* CSS */
color: #3863eb;
background-color: #3863eb;
/* Tailwind (arbitrary) */
class="text-[#3863eb] bg-[#3863eb]"
/* SCSS */
$brand: #3863eb;
/* SwiftUI */
Color(red: 0.220, green: 0.388, blue: 0.922)
/* Android */
Color.parseColor("#3863eb")
/* Flutter */
Color(0xFF3863EB)
/* Python / OpenCV (BGR) */
(235, 99, 56)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #3863eb · 5.06:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.06:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.15:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3863eb as text scores 5.06:1 on white and 4.15:1 on black.

Accessibility — WCAG contrast

Aa
#3863eb on white: 5.06:1
AA ✓ pass · AA-large · AAA
Aa
#3863eb on black: 4.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077F0
deuteranopia · #0067E8
tritanopia · #00859D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3863eb is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F5FC
#E6EBF9
#C6D1F6
#99AFF5
#6687F0
#3863eb
#1646DE
#133BB9
#0F2F94
#0F256B
#091743
Base = 500Lightest = 50 · #F2F5FCDarkest = 950 · #091743
:root {
  --brand-50: #F2F5FC;
  --brand-100: #E6EBF9;
  --brand-200: #C6D1F6;
  --brand-300: #99AFF5;
  --brand-400: #6687F0;
  --brand-500: #3863eb;
  --brand-600: #1646DE;
  --brand-700: #133BB9;
  --brand-800: #0F2F94;
  --brand-900: #0F256B;
  --brand-950: #091743;
  --brand: #3863eb;
  --brand-ink: #ffffff;
}

Colors that work with #3863eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0CBED
Hairlines and dividers
Muted text#4B5E9B
Captions on the surface
Accent#BD670F
Second voice, not a rival
Dark variant#0C2574
Hover, pressed, headers
Light variant#E8EDFD
Selected rows, tints
Dark surface#141824
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #3863eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#EBC038
Analogous left#38BDEB
Analogous right#6738EB
Split-complement 1#EB6738
Split-complement 2#BDEB38
Triadic 1#EB3863
Triadic 2#63EB38
Tetradic#EB38BD

RGB percentages

Red22.0%
Green38.8%
Blue92.2%

CMYK percentages

Cyan76.2%
Magenta57.9%
Yellow0.0%
Key (black)7.8%

Color previews

#3863eb text on a black background

contrast 4.15:1

Card sample

#3863eb text on a white background

contrast 5.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3863eb;
Background color
Panel with #3863eb background
background-color: #3863eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3863eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(56, 99, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 99, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3863eb;
background: linear-gradient(135deg, #3863eb, #8438EB);

Monochromatic scale

Palettes built from #3863eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#3863eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#3863eb, answered

What color is #3863eb?

#3863eb is a balanced electric blue, closest to Royal Blue (ΔE2000 2.2). It sits at 226° on the hue wheel with 82% saturation and 57% lightness, which reads as cool.

What is the RGB value of #3863eb?

rgb(56, 99, 235) — 56 red, 99 green and 235 blue out of 255, or 22% / 38.8% / 92.2% by channel.

Is #3863eb a light or a dark color?

It is a dark color. Relative luminance is 0.1576 and perceived brightness is 45%, so white text on it reaches 5.06:1.

Should I use black or white text on #3863eb?

White. It scores 5.06:1 against #3863eb, versus 4.15:1 for black — AA at any size.

What is the complementary color of #3863eb?

#EBC038 sits directly opposite on the wheel. Softer options are the split-complements #EB6738 and #BDEB38, which give the same contrast with far less vibration.

What colors go well with #3863eb?

For interface work: #F4F6FA as the surface, #C0CBED for borders, #4B5E9B for secondary text, #BD670F as an accent and #0C2574 for hover and pressed states. For a palette, the analogous pair #38BDEB and #6738EB stays calm, while #EBC038 is the loudest partner.

What is #3863eb in CMYK for printing?

cmyk(76%, 58%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #3863eb warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F38EB; nudged cooler, #3678ED.

Work with #3863eb in the Color Lab