#3960DC#3960DC

#3960DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.195 H 266.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3960DC
RGBrgb(57, 96, 220)
HSLhsl(226, 70%, 54%)
HSVhsv(226, 74%, 86%)
CMYKcmyk(74.1%, 56.4%, 0%, 13.7%)
CIE-LABlab(44.80, 29.16, -67.36)
CIE-LCHlch(44.80, 73.40, 293.41°)
OKLaboklab(53.5% -0.012 -0.1943)
OKLCHoklch(53.5% 0.195 266.5)
XYZxyz(18.7840, 14.4009, 69.4859)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960DC #DCB539
analogous
#39B2DC #3960DC #6439DC
triadic
#3960DC #DC3960 #60DC39
tetradic
#3960DC #DC39B2 #DCB539 #39DC64
square
#3960DC #DC39B2 #DCB539 #39DC64
split-complementary
#3960DC #DC6439 #B2DC39
monochromatic
#173183 #2045B7 #3960DC #6D8AE5 #A1B4EE

Accessibility & contrast

On white

5.41
#3960DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#3960DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960DC#FFFFFF#000000##FFFFFF
##3960DC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3960dc;
/* rgb */ color: rgb(57, 96, 220);
/* oklch */ color: oklch(53.5% 0.195 266.5);
Tailwind
colors: {
  custom: {
    50: '#868ce8',
    500: '#3960dc',
    950: '#000000',
  },
}
SCSS
$custom: #3960dc;
$custom-light: #868ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#3960dc",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 225.644,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.19468,
    "h": 266.5
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3960DC

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

Preview Lab → · Contrast checker → · Palette generator →

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