#5955EC#5955EC

#5955EC is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.220 H 277.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5955EC
RGBrgb(89, 85, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(62.3%, 64%, 0%, 7.5%)
CIE-LABlab(45.19, 45.59, -75.72)
CIE-LCHlch(45.19, 88.38, 301.05°)
OKLaboklab(54.64% 0.0284 -0.2182)
OKLCHoklch(54.64% 0.22 277.4)
XYZxyz(22.5037, 14.6752, 80.9873)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955EC #E8EC55
analogous
#559DEC #5955EC #A455EC
triadic
#5955EC #EC5955 #55EC59
tetradic
#5955EC #EC559D #E8EC55 #55ECA4
square
#5955EC #EC559D #E8EC55 #55ECA4
split-complementary
#5955EC #ECA455 #9DEC55
monochromatic
#1814B3 #231EE6 #5955EC #8F8CF2 #C5C3F8

Accessibility & contrast

On white

5.34
#5955EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5955EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955EC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955EC#FFFFFF#000000##FFFFFF
##5955EC1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5955ec;
/* rgb */ color: rgb(89, 85, 236);
/* oklch */ color: oklch(54.6% 0.220 277.4);
Tailwind
colors: {
  custom: {
    50: '#9785f3',
    500: '#5955ec',
    950: '#000000',
  },
}
SCSS
$custom: #5955ec;
$custom-light: #9785f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ec",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 241.589,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.22006,
    "h": 277.4
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#5955EC
secondary
#E8EAB3
accent
#DC09D7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955EC

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

Preview Lab → · Contrast checker → · Palette generator →

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