#3959C7#3959C7

#3959C7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.175 H 267.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3959C7
RGBrgb(57, 89, 199)
HSLhsl(226, 56%, 50%)
HSVhsv(226, 71%, 78%)
CMYKcmyk(71.4%, 55.3%, 0%, 22%)
CIE-LABlab(41.43, 26.00, -60.78)
CIE-LCHlch(41.43, 66.11, 293.16°)
OKLaboklab(50.48% -0.0078 -0.1751)
OKLCHoklch(50.48% 0.175 267.4)
XYZxyz(15.5649, 12.1365, 55.5440)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959C7 #C7A739
analogous
#39A0C7 #3959C7 #6039C7
triadic
#3959C7 #C73959 #59C739
tetradic
#3959C7 #C739A0 #C7A739 #39C760
square
#3959C7 #C739A0 #C7A739 #39C760
split-complementary
#3959C7 #C76039 #A0C739
monochromatic
#1D2E68 #2B4398 #3959C7 #6981D4 #98A9E2

Accessibility & contrast

On white

6.13
#3959C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3959C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959C7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959C7#FFFFFF#000000##FFFFFF
##3959C71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3959c7;
/* rgb */ color: rgb(57, 89, 199);
/* oklch */ color: oklch(50.5% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#8187d9',
    500: '#3959c7',
    950: '#000000',
  },
}
SCSS
$custom: #3959c7;
$custom-light: #8187d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3959c7",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 226.479,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50477,
    "c": 0.17525,
    "h": 267.4
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#3959C7
secondary
#CEBF8E
accent
#BD49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3959C7

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

Preview Lab → · Contrast checker → · Palette generator →

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