#3956CB#3956CB

#3956CB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.184 H 268.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3956CB
RGBrgb(57, 86, 203)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.9%, 57.6%, 0%, 20.4%)
CIE-LABlab(40.95, 29.38, -63.87)
CIE-LCHlch(40.95, 70.31, 294.70°)
OKLaboklab(50.21% -0.0053 -0.1842)
OKLCHoklch(50.21% 0.184 268.3)
XYZxyz(15.7909, 11.8356, 57.9406)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3956CB #CBAE39
analogous
#399FCB #3956CB #6539CB
triadic
#3956CB #CB3956 #56CB39
tetradic
#3956CB #CB399F #CBAE39 #39CB65
square
#3956CB #CB399F #CBAE39 #39CB65
split-complementary
#3956CB #CB6539 #9FCB39
monochromatic
#1D2D6D #29409D #3956CB #697FD8 #9AA9E4

Accessibility & contrast

On white

6.24
#3956CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3956CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3956CB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3956CB#FFFFFF#000000##FFFFFF
##3956CB1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3956cb;
/* rgb */ color: rgb(57, 86, 203);
/* oklch */ color: oklch(50.2% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#8385dc',
    500: '#3956cb',
    950: '#000000',
  },
}
SCSS
$custom: #3956cb;
$custom-light: #8385dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3956cb",
  "rgb": {
    "r": 57,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 228.082,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.18429,
    "h": 268.3
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#3956CB
secondary
#D0C390
accent
#C346E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3956CB

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

Preview Lab → · Contrast checker → · Palette generator →

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