#3959C9#3959C9

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

Color values

HEX#3959C9
RGBrgb(57, 89, 201)
HSLhsl(227, 57%, 51%)
HSVhsv(227, 72%, 79%)
CMYKcmyk(71.6%, 55.7%, 0%, 21.2%)
CIE-LABlab(41.58, 26.73, -61.70)
CIE-LCHlch(41.58, 67.24, 293.42°)
OKLaboklab(50.63% -0.0077 -0.1778)
OKLCHoklch(50.63% 0.178 267.5)
XYZxyz(15.7987, 12.2300, 56.7750)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C9 #C9A939
analogous
#39A1C9 #3959C9 #6139C9
triadic
#3959C9 #C93959 #59C939
tetradic
#3959C9 #C939A1 #C9A939 #39C961
square
#3959C9 #C939A1 #C9A939 #39C961
split-complementary
#3959C9 #C96139 #A1C939
monochromatic
#1D2E6B #2A439B #3959C9 #6981D6 #99AAE3

Accessibility & contrast

On white

6.09
#3959C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3959C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C9#FFFFFF#000000##FFFFFF
##3959C91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3959c9;
/* rgb */ color: rgb(57, 89, 201);
/* oklch */ color: oklch(50.6% 0.178 267.5);
Tailwind
colors: {
  custom: {
    50: '#8287da',
    500: '#3959c9',
    950: '#000000',
  },
}
SCSS
$custom: #3959c9;
$custom-light: #8287da;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c9",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 201
  },
  "hsl": {
    "h": 226.667,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.17795,
    "h": 267.5
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#3959C9
secondary
#CFC18F
accent
#BE47E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959C9

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

Preview Lab → · Contrast checker → · Palette generator →

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