#5955EA#5955EA

#5955EA is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.218 H 277.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5955EA
RGBrgb(89, 85, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 64%, 92%)
CMYKcmyk(62%, 63.7%, 0%, 8.2%)
CIE-LABlab(45.02, 44.95, -74.85)
CIE-LCHlch(45.02, 87.31, 300.99°)
OKLaboklab(54.47% 0.0286 -0.2157)
OKLCHoklch(54.47% 0.218 277.5)
XYZxyz(22.2148, 14.5596, 79.4656)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955EA #E6EA55
analogous
#559BEA #5955EA #A455EA
triadic
#5955EA #EA5955 #55EA59
tetradic
#5955EA #EA559B #E6EA55 #55EAA4
square
#5955EA #EA559B #E6EA55 #55EAA4
split-complementary
#5955EA #EAA455 #9BEA55
monochromatic
#1A16AF #241FE3 #5955EA #8E8BF1 #C3C2F7

Accessibility & contrast

On white

5.37
#5955EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5955EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955EA#FFFFFF#000000##FFFFFF
##5955EA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5955ea;
/* rgb */ color: rgb(89, 85, 234);
/* oklch */ color: oklch(54.5% 0.218 277.5);
Tailwind
colors: {
  custom: {
    50: '#9785f2',
    500: '#5955ea',
    950: '#000000',
  },
}
SCSS
$custom: #5955ea;
$custom-light: #9785f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ea",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 241.611,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.21756,
    "h": 277.5
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#5955EA
secondary
#E7E8B2
accent
#DA0BD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955EA

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

Preview Lab → · Contrast checker → · Palette generator →

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