#3966D4#3966D4

#3966D4 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.177 H 264.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3966D4
RGBrgb(57, 102, 212)
HSLhsl(223, 64%, 53%)
HSVhsv(223, 73%, 83%)
CMYKcmyk(73.1%, 51.9%, 0%, 16.9%)
CIE-LABlab(45.80, 22.42, -61.18)
CIE-LCHlch(45.80, 65.15, 290.13°)
OKLaboklab(54.07% -0.0171 -0.176)
OKLCHoklch(54.07% 0.177 264.5)
XYZxyz(18.3182, 15.1241, 64.2284)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3966D4 #D4A739
analogous
#39B3D4 #3966D4 #5A39D4
triadic
#3966D4 #D43966 #66D439
tetradic
#3966D4 #D439B3 #D4A739 #39D45A
square
#3966D4 #D439B3 #D4A739 #39D45A
split-complementary
#3966D4 #D45A39 #B3D439
monochromatic
#1A3678 #254CAB #3966D4 #6B8DDF #9EB4EA

Accessibility & contrast

On white

5.22
#3966D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3966D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3966D4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3966D4#FFFFFF#000000##FFFFFF
##3966D41.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3966d4;
/* rgb */ color: rgb(57, 102, 212);
/* oklch */ color: oklch(54.1% 0.177 264.5);
Tailwind
colors: {
  custom: {
    50: '#8391e2',
    500: '#3966d4',
    950: '#000000',
  },
}
SCSS
$custom: #3966d4;
$custom-light: #8391e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3966d4",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 222.581,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.17686,
    "h": 264.5
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#3966D4
secondary
#D6C293
accent
#B740E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3966D4

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

Preview Lab → · Contrast checker → · Palette generator →

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