#5956CF#5956CF

#5956CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.182 H 279.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5956CF
RGBrgb(89, 86, 207)
HSLhsl(241, 56%, 57%)
HSVhsv(241, 58%, 81%)
CMYKcmyk(57%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.19, 35.73, -62.46)
CIE-LCHlch(43.19, 71.96, 299.77°)
OKLaboklab(52.48% 0.0291 -0.1793)
OKLCHoklch(52.48% 0.182 279.2)
XYZxyz(18.7065, 13.2831, 60.5975)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956CF #CCCF56
analogous
#568FCF #5956CF #9656CF
triadic
#5956CF #CF5956 #56CF59
tetradic
#5956CF #CF568F #CCCF56 #56CF96
square
#5956CF #CF568F #CCCF56 #56CF96
split-complementary
#5956CF #CF9656 #8FCF56
monochromatic
#282685 #3633B5 #5956CF #8886DD #B7B5EA

Accessibility & contrast

On white

5.74
#5956CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5956CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956CF#FFFFFF#000000##FFFFFF
##5956CF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#13738A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5956cf;
/* rgb */ color: rgb(89, 86, 207);
/* oklch */ color: oklch(52.5% 0.182 279.2);
Tailwind
colors: {
  custom: {
    50: '#9286de',
    500: '#5956cf',
    950: '#000000',
  },
}
SCSS
$custom: #5956cf;
$custom-light: #9286de;
$custom-dark: #000000;
JSON
{
  "hex": "#5956cf",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 241.488,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.18162,
    "h": 279.2
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#5956CF
secondary
#D8D9A8
accent
#DF49DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5956CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5956CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva