#5955E4#5955E4

#5955E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.210 H 277.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5955E4
RGBrgb(89, 85, 228)
HSLhsl(242, 73%, 61%)
HSVhsv(242, 63%, 89%)
CMYKcmyk(61%, 62.7%, 0%, 10.6%)
CIE-LABlab(44.55, 43.04, -72.24)
CIE-LCHlch(44.55, 84.09, 300.79°)
OKLaboklab(53.97% 0.029 -0.208)
OKLCHoklch(53.97% 0.21 277.9)
XYZxyz(21.3674, 14.2206, 75.0026)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955E4 #E0E455
analogous
#5599E4 #5955E4 #A155E4
triadic
#5955E4 #E45955 #55E459
tetradic
#5955E4 #E45599 #E0E455 #55E4A1
square
#5955E4 #E45599 #E0E455 #55E4A1
split-complementary
#5955E4 #E4A155 #99E455
monochromatic
#1E1AA4 #2823D9 #5955E4 #8D8AEC #C0BFF5

Accessibility & contrast

On white

5.46
#5955E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5955E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955E4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955E4#FFFFFF#000000##FFFFFF
##5955E41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5955e4;
/* rgb */ color: rgb(89, 85, 228);
/* oklch */ color: oklch(54.0% 0.210 277.9);
Tailwind
colors: {
  custom: {
    50: '#9685ee',
    500: '#5955e4',
    950: '#000000',
  },
}
SCSS
$custom: #5955e4;
$custom-light: #9685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5955e4",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 241.678,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.21002,
    "h": 277.9
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#5955E4
secondary
#E4E5B0
accent
#D511CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5955E4

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

Preview Lab → · Contrast checker → · Palette generator →

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