#5955EF#5955EF

#5955EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.224 H 277.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5955EF
RGBrgb(89, 85, 239)
HSLhsl(242, 83%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(62.8%, 64.4%, 0%, 6.3%)
CIE-LABlab(45.43, 46.54, -77.01)
CIE-LCHlch(45.43, 89.98, 301.15°)
OKLaboklab(54.89% 0.0281 -0.222)
OKLCHoklch(54.89% 0.224 277.2)
XYZxyz(22.9433, 14.8510, 83.3021)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955EF #EBEF55
analogous
#559EEF #5955EF #A655EF
triadic
#5955EF #EF5955 #55EF59
tetradic
#5955EF #EF559E #EBEF55 #55EFA6
square
#5955EF #EF559E #EBEF55 #55EFA6
split-complementary
#5955EF #EFA655 #9EEF55
monochromatic
#1611B8 #221DEA #5955EF #908DF4 #C6C5FA

Accessibility & contrast

On white

5.29
#5955EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5955EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955EF#FFFFFF#000000##FFFFFF
##5955EF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5955ef;
/* rgb */ color: rgb(89, 85, 239);
/* oklch */ color: oklch(54.9% 0.224 277.2);
Tailwind
colors: {
  custom: {
    50: '#9886f5',
    500: '#5955ef',
    950: '#000000',
  },
}
SCSS
$custom: #5955ef;
$custom-light: #9886f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ef",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 241.558,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.22377,
    "h": 277.2
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#5955EF
secondary
#EAEBB5
accent
#DF06DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955EF

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

Preview Lab → · Contrast checker → · Palette generator →

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