#3966D8#3966D8

#3966D8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.182 H 264.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3966D8
RGBrgb(57, 102, 216)
HSLhsl(223, 67%, 54%)
HSVhsv(223, 74%, 85%)
CMYKcmyk(73.6%, 52.8%, 0%, 15.3%)
CIE-LABlab(46.08, 23.88, -63.01)
CIE-LCHlch(46.08, 67.38, 290.76°)
OKLaboklab(54.37% -0.0167 -0.1814)
OKLCHoklch(54.37% 0.182 264.7)
XYZxyz(18.8290, 15.3284, 66.9188)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3966D8 #D8AB39
analogous
#39B5D8 #3966D8 #5B39D8
triadic
#3966D8 #D83966 #66D839
tetradic
#3966D8 #D839B5 #D8AB39 #39D85B
square
#3966D8 #D839B5 #D8AB39 #39D85B
split-complementary
#3966D8 #D85B39 #B5D839
monochromatic
#19357E #234BB1 #3966D8 #6C8EE2 #9FB5EC

Accessibility & contrast

On white

5.16
#3966D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3966D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3966D8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3966D8#FFFFFF#000000##FFFFFF
##3966D81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1175DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#008295
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3966d8;
/* rgb */ color: rgb(57, 102, 216);
/* oklch */ color: oklch(54.4% 0.182 264.7);
Tailwind
colors: {
  custom: {
    50: '#8491e5',
    500: '#3966d8',
    950: '#000000',
  },
}
SCSS
$custom: #3966d8;
$custom-light: #8491e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3966d8",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 223.019,
    "s": 67.089,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.18219,
    "h": 264.7
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#3966D8
secondary
#D8C594
accent
#B93EEA
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #3966D8

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

Preview Lab → · Contrast checker → · Palette generator →

#3966D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva