#3959C4#3959C4

#3959C4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.171 H 267.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3959C4
RGBrgb(57, 89, 196)
HSLhsl(226, 55%, 50%)
HSVhsv(226, 71%, 77%)
CMYKcmyk(70.9%, 54.6%, 0%, 23.1%)
CIE-LABlab(41.21, 24.91, -59.40)
CIE-LCHlch(41.21, 64.41, 292.75°)
OKLaboklab(50.24% -0.008 -0.171)
OKLCHoklch(50.24% 0.171 267.3)
XYZxyz(15.2201, 11.9986, 53.7277)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C4 #C4A439
analogous
#399FC4 #3959C4 #5F39C4
triadic
#3959C4 #C43959 #59C439
tetradic
#3959C4 #C4399F #C4A439 #39C45F
square
#3959C4 #C4399F #C4A439 #39C45F
split-complementary
#3959C4 #C45F39 #9FC439
monochromatic
#1D2E65 #2B4395 #3959C4 #6780D3 #97A8E1

Accessibility & contrast

On white

6.18
#3959C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3959C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C4#FFFFFF#000000##FFFFFF
##3959C41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3959c4;
/* rgb */ color: rgb(57, 89, 196);
/* oklch */ color: oklch(50.2% 0.171 267.3);
Tailwind
colors: {
  custom: {
    50: '#8187d7',
    500: '#3959c4',
    950: '#000000',
  },
}
SCSS
$custom: #3959c4;
$custom-light: #8187d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c4",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 196
  },
  "hsl": {
    "h": 226.187,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.1712,
    "h": 267.3
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#3959C4
secondary
#CCBE8D
accent
#BC4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3959C4

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

Preview Lab → · Contrast checker → · Palette generator →

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