#5955E6#5955E6

#5955E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.213 H 277.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5955E6
RGBrgb(89, 85, 230)
HSLhsl(242, 74%, 62%)
HSVhsv(242, 63%, 90%)
CMYKcmyk(61.3%, 63%, 0%, 9.8%)
CIE-LABlab(44.71, 43.68, -73.11)
CIE-LCHlch(44.71, 85.17, 300.86°)
OKLaboklab(54.14% 0.0289 -0.2106)
OKLCHoklch(54.14% 0.213 277.8)
XYZxyz(21.6467, 14.3323, 76.4733)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955E6 #E2E655
analogous
#559AE6 #5955E6 #A255E6
triadic
#5955E6 #E65955 #55E659
tetradic
#5955E6 #E6559A #E2E655 #55E6A2
square
#5955E6 #E6559A #E2E655 #55E6A2
split-complementary
#5955E6 #E6A255 #9AE655
monochromatic
#1D19A8 #2621DD #5955E6 #8D8AEE #C1C0F6

Accessibility & contrast

On white

5.43
#5955E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5955E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955E6#FFFFFF#000000##FFFFFF
##5955E61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5955e6;
/* rgb */ color: rgb(89, 85, 230);
/* oklch */ color: oklch(54.1% 0.213 277.8);
Tailwind
colors: {
  custom: {
    50: '#9685ef',
    500: '#5955e6',
    950: '#000000',
  },
}
SCSS
$custom: #5955e6;
$custom-light: #9685ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5955e6",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 241.655,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.21255,
    "h": 277.8
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#5955E6
secondary
#E5E6B1
accent
#D60FD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955E6

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

Preview Lab → · Contrast checker → · Palette generator →

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