#3866EA#3866EA

#3866EA is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 55.7% C 0.206 H 265.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3866EA
RGBrgb(56, 102, 234)
HSLhsl(224, 81%, 57%)
HSVhsv(224, 76%, 92%)
CMYKcmyk(76.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(47.34, 30.34, -71.15)
CIE-LCHlch(47.34, 77.35, 293.09°)
OKLaboklab(55.72% -0.0163 -0.2054)
OKLCHoklch(55.72% 0.206 265.5)
XYZxyz(21.2283, 16.2816, 79.8498)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866EA #EABC38
analogous
#38BFEA #3866EA #6338EA
triadic
#3866EA #EA3866 #66EA38
tetradic
#3866EA #EA38BF #EABC38 #38EA63
square
#3866EA #EA38BF #EABC38 #38EA63
split-complementary
#3866EA #EA6338 #BFEA38
monochromatic
#103398 #1646CF #3866EA #6F91F0 #A7BBF6

Accessibility & contrast

On white

4.93
#3866EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3866EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866EA#FFFFFF#000000##FFFFFF
##3866EA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3866ea;
/* rgb */ color: rgb(56, 102, 234);
/* oklch */ color: oklch(55.7% 0.206 265.5);
Tailwind
colors: {
  custom: {
    50: '#8891f2',
    500: '#3866ea',
    950: '#000000',
  },
}
SCSS
$custom: #3866ea;
$custom-light: #8891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#3866ea",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 224.494,
    "s": 80.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.20601,
    "h": 265.5
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#3866EA
secondary
#E3D09B
accent
#C430F7
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3866EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3866EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva