#5956EE#5956EE

#5956EE is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.221 H 277.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5956EE
RGBrgb(89, 86, 238)
HSLhsl(241, 82%, 64%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(62.6%, 63.9%, 0%, 6.7%)
CIE-LABlab(45.57, 45.64, -76.22)
CIE-LCHlch(45.57, 88.84, 300.91°)
OKLaboklab(54.96% 0.0274 -0.2197)
OKLCHoklch(54.96% 0.221 277.1)
XYZxyz(22.8752, 14.9506, 82.5526)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5956EE #EBEE56
analogous
#569FEE #5956EE #A556EE
triadic
#5956EE #EE5956 #56EE59
tetradic
#5956EE #EE569F #EBEE56 #56EEA5
square
#5956EE #EE569F #EBEE56 #56EEA5
split-complementary
#5956EE #EEA556 #9FEE56
monochromatic
#1612B7 #221EE8 #5956EE #908EF4 #C6C5F9

Accessibility & contrast

On white

5.26
#5956EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5956EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5956EE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5956EE#FFFFFF#000000##FFFFFF
##5956EE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5956ee;
/* rgb */ color: rgb(89, 86, 238);
/* oklch */ color: oklch(55.0% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#9786f5',
    500: '#5956ee',
    950: '#000000',
  },
}
SCSS
$custom: #5956ee;
$custom-light: #9786f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5956ee",
  "rgb": {
    "r": 89,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 241.184,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54963,
    "c": 0.22139,
    "h": 277.1
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#5956EE
secondary
#EAEBB5
accent
#DE07DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5956EE

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

Preview Lab → · Contrast checker → · Palette generator →

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