#5956E4#5956E4

#5956E4 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.209 H 277.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5956E4
RGBrgb(89, 86, 228)
HSLhsl(241, 72%, 62%)
HSVhsv(241, 62%, 89%)
CMYKcmyk(61%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.77, 42.45, -71.87)
CIE-LCHlch(44.77, 83.47, 300.57°)
OKLaboklab(54.14% 0.0282 -0.2069)
OKLCHoklch(54.14% 0.209 277.8)
XYZxyz(21.4467, 14.3792, 75.0290)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956E4 #E1E456
analogous
#569AE4 #5956E4 #A056E4
triadic
#5956E4 #E45956 #56E459
tetradic
#5956E4 #E4569A #E1E456 #56E4A0
square
#5956E4 #E4569A #E1E456 #56E4A0
split-complementary
#5956E4 #E4A056 #9AE456
monochromatic
#1D1AA5 #2723DA #5956E4 #8D8BEC #C1C0F5

Accessibility & contrast

On white

5.42
#5956E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5956E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956E4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956E4#FFFFFF#000000##FFFFFF
##5956E41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5956e4;
/* rgb */ color: rgb(89, 86, 228);
/* oklch */ color: oklch(54.1% 0.209 277.8);
Tailwind
colors: {
  custom: {
    50: '#9686ee',
    500: '#5956e4',
    950: '#000000',
  },
}
SCSS
$custom: #5956e4;
$custom-light: #9686ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5956e4",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 241.268,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.20884,
    "h": 277.8
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#5956E4
secondary
#E4E5B0
accent
#D511D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5956E4

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

Preview Lab → · Contrast checker → · Palette generator →

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