#5955EE#5955EE

#5955EE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.223 H 277.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5955EE
RGBrgb(89, 85, 238)
HSLhsl(242, 82%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(62.6%, 64.3%, 0%, 6.7%)
CIE-LABlab(45.35, 46.22, -76.58)
CIE-LCHlch(45.35, 89.45, 301.12°)
OKLaboklab(54.8% 0.0282 -0.2207)
OKLCHoklch(54.8% 0.223 277.3)
XYZxyz(22.7959, 14.7920, 82.5262)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955EE #EAEE55
analogous
#559DEE #5955EE #A655EE
triadic
#5955EE #EE5955 #55EE59
tetradic
#5955EE #EE559D #EAEE55 #55EEA6
square
#5955EE #EE559D #EAEE55 #55EEA6
split-complementary
#5955EE #EEA655 #9DEE55
monochromatic
#1712B6 #231DE8 #5955EE #8F8DF4 #C6C4F9

Accessibility & contrast

On white

5.30
#5955EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5955EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955EE#FFFFFF#000000##FFFFFF
##5955EE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5955ee;
/* rgb */ color: rgb(89, 85, 238);
/* oklch */ color: oklch(54.8% 0.223 277.3);
Tailwind
colors: {
  custom: {
    50: '#9785f5',
    500: '#5955ee',
    950: '#000000',
  },
}
SCSS
$custom: #5955ee;
$custom-light: #9785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ee",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 241.569,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.22253,
    "h": 277.3
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#5955EE
secondary
#E9EBB4
accent
#DE07D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955EE

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

Preview Lab → · Contrast checker → · Palette generator →

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