#3959CB#3959CB

#3959CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.181 H 267.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3959CB
RGBrgb(57, 89, 203)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(71.9%, 56.2%, 0%, 20.4%)
CIE-LABlab(41.73, 27.46, -62.62)
CIE-LCHlch(41.73, 68.37, 293.68°)
OKLaboklab(50.79% -0.0076 -0.1805)
OKLCHoklch(50.79% 0.181 267.6)
XYZxyz(16.0355, 12.3247, 58.0221)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959CB #CBAB39
analogous
#39A2CB #3959CB #6239CB
triadic
#3959CB #CB3959 #59CB39
tetradic
#3959CB #CB39A2 #CBAB39 #39CB62
square
#3959CB #CB39A2 #CBAB39 #39CB62
split-complementary
#3959CB #CB6239 #A2CB39
monochromatic
#1D2E6D #29439D #3959CB #6982D8 #9AAAE4

Accessibility & contrast

On white

6.06
#3959CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3959CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959CB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959CB#FFFFFF#000000##FFFFFF
##3959CB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3959cb;
/* rgb */ color: rgb(57, 89, 203);
/* oklch */ color: oklch(50.8% 0.181 267.6);
Tailwind
colors: {
  custom: {
    50: '#8287dc',
    500: '#3959cb',
    950: '#000000',
  },
}
SCSS
$custom: #3959cb;
$custom-light: #8287dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3959cb",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 226.849,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.18063,
    "h": 267.6
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#3959CB
secondary
#D0C290
accent
#C046E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959CB

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

Preview Lab → · Contrast checker → · Palette generator →

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