#5955E9#5955E9

#5955E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.216 H 277.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5955E9
RGBrgb(89, 85, 233)
HSLhsl(242, 77%, 62%)
HSVhsv(242, 64%, 91%)
CMYKcmyk(61.8%, 63.5%, 0%, 8.6%)
CIE-LABlab(44.94, 44.63, -74.42)
CIE-LCHlch(44.94, 86.78, 300.95°)
OKLaboklab(54.39% 0.0286 -0.2144)
OKLCHoklch(54.39% 0.216 277.6)
XYZxyz(22.0716, 14.5023, 78.7111)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955E9 #E5E955
analogous
#559BE9 #5955E9 #A355E9
triadic
#5955E9 #E95955 #55E959
tetradic
#5955E9 #E9559B #E5E955 #55E9A3
square
#5955E9 #E9559B #E5E955 #55E9A3
split-complementary
#5955E9 #E9A355 #9BE955
monochromatic
#1A16AD #241FE2 #5955E9 #8E8BF0 #C3C1F7

Accessibility & contrast

On white

5.38
#5955E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5955E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955E9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955E9#FFFFFF#000000##FFFFFF
##5955E91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5955e9;
/* rgb */ color: rgb(89, 85, 233);
/* oklch */ color: oklch(54.4% 0.216 277.6);
Tailwind
colors: {
  custom: {
    50: '#9785f1',
    500: '#5955e9',
    950: '#000000',
  },
}
SCSS
$custom: #5955e9;
$custom-light: #9785f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5955e9",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 241.622,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.21631,
    "h": 277.6
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#5955E9
secondary
#E6E8B2
accent
#D90CD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955E9

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

Preview Lab → · Contrast checker → · Palette generator →

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