#5855DF#5855DF

#5855DF is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.204 H 277.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5855DF
RGBrgb(88, 85, 223)
HSLhsl(241, 68%, 60%)
HSVhsv(241, 62%, 87%)
CMYKcmyk(60.5%, 61.9%, 0%, 12.5%)
CIE-LABlab(44.09, 41.29, -70.16)
CIE-LCHlch(44.09, 81.41, 300.48°)
OKLaboklab(53.5% 0.0282 -0.2019)
OKLCHoklch(53.5% 0.204 277.9)
XYZxyz(20.5880, 13.8979, 71.3954)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855DF #DCDF55
analogous
#5597DF #5855DF #9D55DF
triadic
#5855DF #DF5855 #55DF58
tetradic
#5855DF #DF5597 #DCDF55 #55DF9D
square
#5855DF #DF5597 #DCDF55 #55DF9D
split-complementary
#5855DF #DF9D55 #97DF55
monochromatic
#201D9C #2B27D0 #5855DF #8B89E9 #BDBCF2

Accessibility & contrast

On white

5.56
#5855DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5855DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855DF#FFFFFF#000000##FFFFFF
##5855DF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5855df;
/* rgb */ color: rgb(88, 85, 223);
/* oklch */ color: oklch(53.5% 0.204 277.9);
Tailwind
colors: {
  custom: {
    50: '#9485ea',
    500: '#5855df',
    950: '#000000',
  },
}
SCSS
$custom: #5855df;
$custom-light: #9485ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5855df",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 241.304,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.20387,
    "h": 277.9
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#5855DF
secondary
#E1E2AE
accent
#D015CC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5855DF

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

Preview Lab → · Contrast checker → · Palette generator →

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