#3959C8#3959C8

#3959C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.177 H 267.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3959C8
RGBrgb(57, 89, 200)
HSLhsl(227, 57%, 50%)
HSVhsv(227, 72%, 78%)
CMYKcmyk(71.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(41.51, 26.36, -61.24)
CIE-LCHlch(41.51, 66.68, 293.29°)
OKLaboklab(50.56% -0.0078 -0.1764)
OKLCHoklch(50.56% 0.177 267.5)
XYZxyz(15.6814, 12.1831, 56.1575)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C8 #C8A839
analogous
#39A1C8 #3959C8 #6039C8
triadic
#3959C8 #C83959 #59C839
tetradic
#3959C8 #C839A1 #C8A839 #39C860
square
#3959C8 #C839A1 #C8A839 #39C860
split-complementary
#3959C8 #C86039 #A1C839
monochromatic
#1D2E69 #2B4399 #3959C8 #6981D5 #99A9E3

Accessibility & contrast

On white

6.11
#3959C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3959C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C8#FFFFFF#000000##FFFFFF
##3959C81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3959c8;
/* rgb */ color: rgb(57, 89, 200);
/* oklch */ color: oklch(50.6% 0.177 267.5);
Tailwind
colors: {
  custom: {
    50: '#8287d9',
    500: '#3959c8',
    950: '#000000',
  },
}
SCSS
$custom: #3959c8;
$custom-light: #8287d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c8",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 226.573,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.1766,
    "h": 267.5
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#3959C8
secondary
#CEC08F
accent
#BE48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959C8

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

Preview Lab → · Contrast checker → · Palette generator →

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