#3961DC#3961DC

#3961DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.193 H 266.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3961DC
RGBrgb(57, 97, 220)
HSLhsl(225, 70%, 54%)
HSVhsv(225, 74%, 86%)
CMYKcmyk(74.1%, 55.9%, 0%, 13.7%)
CIE-LABlab(45.06, 28.53, -66.94)
CIE-LCHlch(45.06, 72.77, 293.08°)
OKLaboklab(53.69% -0.0127 -0.1931)
OKLCHoklch(53.69% 0.193 266.2)
XYZxyz(18.8758, 14.5845, 69.5166)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961DC #DCB439
analogous
#39B3DC #3961DC #6339DC
triadic
#3961DC #DC3961 #61DC39
tetradic
#3961DC #DC39B3 #DCB439 #39DC63
square
#3961DC #DC39B3 #DCB439 #39DC63
split-complementary
#3961DC #DC6339 #B3DC39
monochromatic
#173283 #2045B7 #3961DC #6D8BE5 #A1B4EE

Accessibility & contrast

On white

5.36
#3961DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3961DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961DC#FFFFFF#000000##FFFFFF
##3961DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3961dc;
/* rgb */ color: rgb(57, 97, 220);
/* oklch */ color: oklch(53.7% 0.193 266.2);
Tailwind
colors: {
  custom: {
    50: '#858de8',
    500: '#3961dc',
    950: '#000000',
  },
}
SCSS
$custom: #3961dc;
$custom-light: #858de8;
$custom-dark: #000000;
JSON
{
  "hex": "#3961dc",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 225.276,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53691,
    "c": 0.19348,
    "h": 266.2
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#3961DC
secondary
#DBCA96
accent
#C13BED
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3961DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3961DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva