#3959CE#3959CE

#3959CE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.185 H 267.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3959CE
RGBrgb(57, 89, 206)
HSLhsl(227, 60%, 52%)
HSVhsv(227, 72%, 81%)
CMYKcmyk(72.3%, 56.8%, 0%, 19.2%)
CIE-LABlab(41.95, 28.54, -63.98)
CIE-LCHlch(41.95, 70.06, 294.04°)
OKLaboklab(51.03% -0.0075 -0.1845)
OKLCHoklch(51.03% 0.185 267.7)
XYZxyz(16.3964, 12.4691, 59.9232)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959CE #CEAE39
analogous
#39A4CE #3959CE #6439CE
triadic
#3959CE #CE3959 #59CE39
tetradic
#3959CE #CE39A4 #CEAE39 #39CE64
square
#3959CE #CE39A4 #CEAE39 #39CE64
split-complementary
#3959CE #CE6439 #A4CE39
monochromatic
#1C2E71 #2842A2 #3959CE #6A82DA #9BABE6

Accessibility & contrast

On white

6.01
#3959CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3959CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959CE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959CE#FFFFFF#000000##FFFFFF
##3959CE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3959ce;
/* rgb */ color: rgb(57, 89, 206);
/* oklch */ color: oklch(51.0% 0.185 267.7);
Tailwind
colors: {
  custom: {
    50: '#8387de',
    500: '#3959ce',
    950: '#000000',
  },
}
SCSS
$custom: #3959ce;
$custom-light: #8387de;
$custom-dark: #000000;
JSON
{
  "hex": "#3959ce",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 227.114,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.18463,
    "h": 267.7
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#3959CE
secondary
#D2C491
accent
#C144E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959CE

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

Preview Lab → · Contrast checker → · Palette generator →

#3959CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva