#3959BF#3959BF

#3959BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.164 H 267.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3959BF
RGBrgb(57, 89, 191)
HSLhsl(226, 54%, 49%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(70.2%, 53.4%, 0%, 25.1%)
CIE-LABlab(40.86, 23.08, -57.07)
CIE-LCHlch(40.86, 61.56, 292.02°)
OKLaboklab(49.86% -0.0084 -0.1642)
OKLCHoklch(49.86% 0.164 267.1)
XYZxyz(14.6604, 11.7747, 50.7802)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3959BF #BF9F39
analogous
#399CBF #3959BF #5C39BF
triadic
#3959BF #BF3959 #59BF39
tetradic
#3959BF #BF399C #BF9F39 #39BF5C
square
#3959BF #BF399C #BF9F39 #39BF5C
split-complementary
#3959BF #BF5C39 #9CBF39
monochromatic
#1D2D61 #2B4390 #3959BF #647ED1 #93A5DF

Accessibility & contrast

On white

6.26
#3959BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3959BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3959BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3959BF#FFFFFF#000000##FFFFFF
##3959BF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3959bf;
/* rgb */ color: rgb(57, 89, 191);
/* oklch */ color: oklch(49.9% 0.164 267.1);
Tailwind
colors: {
  custom: {
    50: '#8087d3',
    500: '#3959bf',
    950: '#000000',
  },
}
SCSS
$custom: #3959bf;
$custom-light: #8087d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3959bf",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 225.672,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.16437,
    "h": 267.1
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#3959BF
secondary
#CABB8A
accent
#BA4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3959BF

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

Preview Lab → · Contrast checker → · Palette generator →

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