#5955E7#5955E7

#5955E7 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.214 H 277.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5955E7
RGBrgb(89, 85, 231)
HSLhsl(242, 75%, 62%)
HSVhsv(242, 63%, 91%)
CMYKcmyk(61.5%, 63.2%, 0%, 9.4%)
CIE-LABlab(44.79, 44.00, -73.55)
CIE-LCHlch(44.79, 85.70, 300.89°)
OKLaboklab(54.22% 0.0288 -0.2119)
OKLCHoklch(54.22% 0.214 277.7)
XYZxyz(21.7875, 14.3887, 77.2150)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955E7 #E3E755
analogous
#559AE7 #5955E7 #A255E7
triadic
#5955E7 #E75955 #55E759
tetradic
#5955E7 #E7559A #E3E755 #55E7A2
square
#5955E7 #E7559A #E3E755 #55E7A2
split-complementary
#5955E7 #E7A255 #9AE755
monochromatic
#1C18AA #2520DF #5955E7 #8D8BEF #C2C0F6

Accessibility & contrast

On white

5.42
#5955E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5955E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955E7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955E7#FFFFFF#000000##FFFFFF
##5955E71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5955e7;
/* rgb */ color: rgb(89, 85, 231);
/* oklch */ color: oklch(54.2% 0.214 277.7);
Tailwind
colors: {
  custom: {
    50: '#9685f0',
    500: '#5955e7',
    950: '#000000',
  },
}
SCSS
$custom: #5955e7;
$custom-light: #9685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5955e7",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 241.644,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.21381,
    "h": 277.7
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#5955E7
secondary
#E5E7B1
accent
#D70ED2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955E7

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

Preview Lab → · Contrast checker → · Palette generator →

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