#3956DC#3956DC

#3956DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.6% C 0.207 H 268.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3956DC
RGBrgb(57, 86, 220)
HSLhsl(229, 70%, 54%)
HSVhsv(229, 74%, 86%)
CMYKcmyk(74.1%, 60.9%, 0%, 13.7%)
CIE-LABlab(42.29, 35.49, -71.45)
CIE-LCHlch(42.29, 79.78, 296.41°)
OKLaboklab(51.63% -0.0052 -0.2064)
OKLCHoklch(51.63% 0.207 268.6)
XYZxyz(17.9289, 12.6908, 69.2009)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956DC #DCBF39
analogous
#39A8DC #3956DC #6E39DC
triadic
#3956DC #DC3956 #56DC39
tetradic
#3956DC #DC39A8 #DCBF39 #39DC6E
square
#3956DC #DC39A8 #DCBF39 #39DC6E
split-complementary
#3956DC #DC6E39 #A8DC39
monochromatic
#172A83 #203BB7 #3956DC #6D82E5 #A1AFEE

Accessibility & contrast

On white

5.93
#3956DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3956DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956DC#FFFFFF#000000##FFFFFF
##3956DC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3956dc;
/* rgb */ color: rgb(57, 86, 220);
/* oklch */ color: oklch(51.6% 0.207 268.6);
Tailwind
colors: {
  custom: {
    50: '#8685e8',
    500: '#3956dc',
    950: '#000000',
  },
}
SCSS
$custom: #3956dc;
$custom-light: #8685e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3956dc",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 229.325,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.20651,
    "h": 268.6
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#3956DC
secondary
#DBCF96
accent
#CD3BED
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3956DC

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

Preview Lab → · Contrast checker → · Palette generator →

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