#5956C8#5956C8

#5956C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.172 H 279.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5956C8
RGBrgb(89, 86, 200)
HSLhsl(242, 51%, 56%)
HSVhsv(242, 57%, 78%)
CMYKcmyk(55.5%, 57%, 0%, 21.6%)
CIE-LABlab(42.69, 33.48, -59.24)
CIE-LCHlch(42.69, 68.05, 299.48°)
OKLaboklab(51.94% 0.0291 -0.1698)
OKLCHoklch(51.94% 0.172 279.7)
XYZxyz(17.8697, 12.9484, 56.1900)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956C8 #C5C856
analogous
#568CC8 #5956C8 #9256C8
triadic
#5956C8 #C85956 #56C859
tetradic
#5956C8 #C8568C #C5C856 #56C892
square
#5956C8 #C8568C #C5C856 #56C892
split-complementary
#5956C8 #C89256 #8CC856
monochromatic
#2A287B #3A37AA #5956C8 #8684D7 #B4B2E6

Accessibility & contrast

On white

5.85
#5956C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5956C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956C8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956C8#FFFFFF#000000##FFFFFF
##5956C81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#217187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5956c8;
/* rgb */ color: rgb(89, 86, 200);
/* oklch */ color: oklch(51.9% 0.172 279.7);
Tailwind
colors: {
  custom: {
    50: '#9186d9',
    500: '#5956c8',
    950: '#000000',
  },
}
SCSS
$custom: #5956c8;
$custom-light: #9186d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5956c8",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 241.579,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.17227,
    "h": 279.7
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#5956C8
secondary
#D3D4A5
accent
#DA4DD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5956C8

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

Preview Lab → · Contrast checker → · Palette generator →

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