#5955EB#5955EB

#5955EB is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.219 H 277.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5955EB
RGBrgb(89, 85, 235)
HSLhsl(242, 79%, 63%)
HSVhsv(242, 64%, 92%)
CMYKcmyk(62.1%, 63.8%, 0%, 7.8%)
CIE-LABlab(45.11, 45.27, -75.29)
CIE-LCHlch(45.11, 87.85, 301.02°)
OKLaboklab(54.55% 0.0285 -0.2169)
OKLCHoklch(54.55% 0.219 277.5)
XYZxyz(22.3589, 14.6172, 80.2243)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955EB #E7EB55
analogous
#559CEB #5955EB #A455EB
triadic
#5955EB #EB5955 #55EB59
tetradic
#5955EB #EB559C #E7EB55 #55EBA4
square
#5955EB #EB559C #E7EB55 #55EBA4
split-complementary
#5955EB #EBA455 #9CEB55
monochromatic
#1915B1 #241EE5 #5955EB #8E8CF1 #C4C3F8

Accessibility & contrast

On white

5.35
#5955EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5955EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955EB#FFFFFF#000000##FFFFFF
##5955EB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5955eb;
/* rgb */ color: rgb(89, 85, 235);
/* oklch */ color: oklch(54.6% 0.219 277.5);
Tailwind
colors: {
  custom: {
    50: '#9785f3',
    500: '#5955eb',
    950: '#000000',
  },
}
SCSS
$custom: #5955eb;
$custom-light: #9785f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5955eb",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 235
  },
  "hsl": {
    "h": 241.6,
    "s": 78.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.21881,
    "h": 277.5
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#5955EB
secondary
#E8E9B3
accent
#DB0AD6
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955EB

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

Preview Lab → · Contrast checker → · Palette generator →

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