#3959CC#3959CC

#3959CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.182 H 267.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3959CC
RGBrgb(57, 89, 204)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(72.1%, 56.4%, 0%, 20%)
CIE-LABlab(41.80, 27.82, -63.07)
CIE-LCHlch(41.80, 68.93, 293.80°)
OKLaboklab(50.87% -0.0076 -0.1818)
OKLCHoklch(50.87% 0.182 267.6)
XYZxyz(16.1550, 12.3726, 58.6518)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959CC #CCAC39
analogous
#39A2CC #3959CC #6239CC
triadic
#3959CC #CC3959 #59CC39
tetradic
#3959CC #CC39A2 #CCAC39 #39CC62
square
#3959CC #CC39A2 #CCAC39 #39CC62
split-complementary
#3959CC #CC6239 #A2CC39
monochromatic
#1C2E6E #29439F #3959CC #6A82D9 #9AABE5

Accessibility & contrast

On white

6.04
#3959CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3959CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959CC#FFFFFF#000000##FFFFFF
##3959CC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3959cc;
/* rgb */ color: rgb(57, 89, 204);
/* oklch */ color: oklch(50.9% 0.182 267.6);
Tailwind
colors: {
  custom: {
    50: '#8387dc',
    500: '#3959cc',
    950: '#000000',
  },
}
SCSS
$custom: #3959cc;
$custom-light: #8387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3959cc",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 226.939,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50871,
    "c": 0.18197,
    "h": 267.6
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3959CC

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

Preview Lab → · Contrast checker → · Palette generator →

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