#5956E8#5956E8

#5956E8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.214 H 277.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5956E8
RGBrgb(89, 86, 232)
HSLhsl(241, 76%, 62%)
HSVhsv(241, 63%, 91%)
CMYKcmyk(61.6%, 62.9%, 0%, 9%)
CIE-LABlab(45.09, 43.73, -73.62)
CIE-LCHlch(45.09, 85.63, 300.71°)
OKLaboklab(54.47% 0.0279 -0.2121)
OKLCHoklch(54.47% 0.214 277.5)
XYZxyz(22.0084, 14.6039, 77.9873)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956E8 #E5E856
analogous
#569CE8 #5956E8 #A256E8
triadic
#5956E8 #E85956 #56E859
tetradic
#5956E8 #E8569C #E5E856 #56E8A2
square
#5956E8 #E8569C #E5E856 #56E8A2
split-complementary
#5956E8 #E8A256 #9CE856
monochromatic
#1A17AC #2420E1 #5956E8 #8E8CEF #C3C2F7

Accessibility & contrast

On white

5.36
#5956E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5956E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956E8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956E8#FFFFFF#000000##FFFFFF
##5956E81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5956e8;
/* rgb */ color: rgb(89, 86, 232);
/* oklch */ color: oklch(54.5% 0.214 277.5);
Tailwind
colors: {
  custom: {
    50: '#9686f0',
    500: '#5956e8',
    950: '#000000',
  },
}
SCSS
$custom: #5956e8;
$custom-light: #9686f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5956e8",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 241.233,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.2139,
    "h": 277.5
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

primary
#5956E8
secondary
#E6E8B2
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5956E8

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

Preview Lab → · Contrast checker → · Palette generator →

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