#5955E8#5955E8

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

Color values

HEX#5955E8
RGBrgb(89, 85, 232)
HSLhsl(242, 76%, 62%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(61.6%, 63.4%, 0%, 9%)
CIE-LABlab(44.86, 44.32, -73.98)
CIE-LCHlch(44.86, 86.24, 300.92°)
OKLaboklab(54.3% 0.0287 -0.2131)
OKLCHoklch(54.3% 0.215 277.7)
XYZxyz(21.9291, 14.4453, 77.9609)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955E8 #E4E855
analogous
#559AE8 #5955E8 #A355E8
triadic
#5955E8 #E85955 #55E859
tetradic
#5955E8 #E8559A #E4E855 #55E8A3
square
#5955E8 #E8559A #E4E855 #55E8A3
split-complementary
#5955E8 #E8A355 #9AE855
monochromatic
#1B17AB #241FE1 #5955E8 #8E8BEF #C2C1F7

Accessibility & contrast

On white

5.40
#5955E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5955E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955E8#FFFFFF#000000##FFFFFF
##5955E81.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)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5955e8;
/* rgb */ color: rgb(89, 85, 232);
/* oklch */ color: oklch(54.3% 0.215 277.7);
Tailwind
colors: {
  custom: {
    50: '#9685f0',
    500: '#5955e8',
    950: '#000000',
  },
}
SCSS
$custom: #5955e8;
$custom-light: #9685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5955e8",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 241.633,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.21506,
    "h": 277.7
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#5955E8
secondary
#E6E7B1
accent
#D80DD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955E8

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

Preview Lab → · Contrast checker → · Palette generator →

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