#5956E5#5956E5

#5956E5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.210 H 277.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5956E5
RGBrgb(89, 86, 229)
HSLhsl(241, 73%, 62%)
HSVhsv(241, 62%, 90%)
CMYKcmyk(61.1%, 62.4%, 0%, 10.2%)
CIE-LABlab(44.85, 42.77, -72.31)
CIE-LCHlch(44.85, 84.01, 300.60°)
OKLaboklab(54.22% 0.0281 -0.2082)
OKLCHoklch(54.22% 0.21 277.7)
XYZxyz(21.5859, 14.4349, 75.7622)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956E5 #E2E556
analogous
#569BE5 #5956E5 #A156E5
triadic
#5956E5 #E55956 #56E559
tetradic
#5956E5 #E5569B #E2E556 #56E5A1
square
#5956E5 #E5569B #E2E556 #56E5A1
split-complementary
#5956E5 #E5A156 #9BE556
monochromatic
#1D1AA7 #2622DC #5956E5 #8D8BED #C1C0F5

Accessibility & contrast

On white

5.40
#5956E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5956E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956E5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956E5#FFFFFF#000000##FFFFFF
##5956E51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5956e5;
/* rgb */ color: rgb(89, 86, 229);
/* oklch */ color: oklch(54.2% 0.210 277.7);
Tailwind
colors: {
  custom: {
    50: '#9686ee',
    500: '#5956e5',
    950: '#000000',
  },
}
SCSS
$custom: #5956e5;
$custom-light: #9686ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5956e5",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 241.259,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.21011,
    "h": 277.7
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#5956E5
secondary
#E5E6B1
accent
#D510D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5956E5

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

Preview Lab → · Contrast checker → · Palette generator →

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