#3966AC#3966AC

#3966AC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.3% C 0.122 H 258.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3966AC
RGBrgb(57, 102, 172)
HSLhsl(217, 50%, 45%)
HSVhsv(217, 67%, 67%)
CMYKcmyk(66.9%, 40.7%, 0%, 32.5%)
CIE-LABlab(43.29, 7.78, -42.05)
CIE-LCHlch(43.29, 42.76, 280.48°)
OKLaboklab(51.33% -0.0234 -0.1198)
OKLCHoklch(51.33% 0.122 258.9)
XYZxyz(13.8824, 13.3498, 40.8669)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3966AC #AC7F39
analogous
#399FAC #3966AC #4639AC
triadic
#3966AC #AC3966 #66AC39
tetradic
#3966AC #AC399F #AC7F39 #39AC46
square
#3966AC #AC399F #AC7F39 #39AC46
split-complementary
#3966AC #AC4639 #9FAC39
monochromatic
#1B2F50 #2A4B7E #3966AC #5A85C8 #88A7D8

Accessibility & contrast

On white

5.72
#3966AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3966AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3966AC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3966AC#FFFFFF#000000##FFFFFF
##3966AC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#3561AB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3966ac;
/* rgb */ color: rgb(57, 102, 172);
/* oklch */ color: oklch(51.3% 0.122 258.9);
Tailwind
colors: {
  custom: {
    50: '#7c91c5',
    500: '#3966ac',
    950: '#000000',
  },
}
SCSS
$custom: #3966ac;
$custom-light: #7c91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3966ac",
  "rgb": {
    "r": 57,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 216.522,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.12205,
    "h": 258.9
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#3966AC
secondary
#C2A87F
accent
#A34EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3966AC

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

Preview Lab → · Contrast checker → · Palette generator →

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