#5855EE#5855EE

#5855EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.223 H 277.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5855EE
RGBrgb(88, 85, 238)
HSLhsl(241, 82%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(63%, 64.3%, 0%, 6.7%)
CIE-LABlab(45.28, 46.08, -76.69)
CIE-LCHlch(45.28, 89.47, 301.00°)
OKLaboklab(54.74% 0.027 -0.2211)
OKLCHoklch(54.74% 0.223 277)
XYZxyz(22.7006, 14.7429, 82.5217)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855EE #EBEE55
analogous
#559FEE #5855EE #A455EE
triadic
#5855EE #EE5855 #55EE58
tetradic
#5855EE #EE559F #EBEE55 #55EEA4
square
#5855EE #EE559F #EBEE55 #55EEA4
split-complementary
#5855EE #EEA455 #9FEE55
monochromatic
#1512B6 #211DE8 #5855EE #8F8DF4 #C5C4F9

Accessibility & contrast

On white

5.32
#5855EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5855EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855EE#FFFFFF#000000##FFFFFF
##5855EE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5855ee;
/* rgb */ color: rgb(88, 85, 238);
/* oklch */ color: oklch(54.7% 0.223 277.0);
Tailwind
colors: {
  custom: {
    50: '#9785f5',
    500: '#5855ee',
    950: '#000000',
  },
}
SCSS
$custom: #5855ee;
$custom-light: #9785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ee",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 241.176,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.22274,
    "h": 277
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#5855EE
secondary
#EAEBB4
accent
#DE07DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5855EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5855EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva