#3951D6#3951D6

#3951D6 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.2% C 0.205 H 269.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3951D6
RGBrgb(57, 81, 214)
HSLhsl(231, 66%, 53%)
HSVhsv(231, 73%, 84%)
CMYKcmyk(73.4%, 62.1%, 0%, 16.1%)
CIE-LABlab(40.59, 36.49, -70.81)
CIE-LCHlch(40.59, 79.66, 297.27°)
OKLaboklab(50.21% -0.0018 -0.2046)
OKLCHoklch(50.21% 0.205 269.5)
XYZxyz(16.7632, 11.6080, 64.9624)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3951D6 #D6BE39
analogous
#399FD6 #3951D6 #6F39D6
triadic
#3951D6 #D63951 #51D639
tetradic
#3951D6 #D6399F #D6BE39 #39D66F
square
#3951D6 #D6399F #D6BE39 #39D66F
split-complementary
#3951D6 #D66F39 #9FD639
monochromatic
#19287B #2439AE #3951D6 #6C7EE0 #9EAAEB

Accessibility & contrast

On white

6.32
#3951D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3951D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3951D6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3951D6#FFFFFF#000000##FFFFFF
##3951D61.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0058D3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3951d6;
/* rgb */ color: rgb(57, 81, 214);
/* oklch */ color: oklch(50.2% 0.205 269.5);
Tailwind
colors: {
  custom: {
    50: '#8581e4',
    500: '#3951d6',
    950: '#000000',
  },
}
SCSS
$custom: #3951d6;
$custom-light: #8581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3951d6",
  "rgb": {
    "r": 57,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 230.828,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.20462,
    "h": 269.5
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#3951D6
secondary
#D7CD94
accent
#CF3FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3951D6

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

Preview Lab → · Contrast checker → · Palette generator →

#3951D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva