#5855CD#5855CD

#5855CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.180 H 279.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5855CD
RGBrgb(88, 85, 205)
HSLhsl(242, 55%, 57%)
HSVhsv(242, 59%, 80%)
CMYKcmyk(57.1%, 58.5%, 0%, 19.6%)
CIE-LABlab(42.73, 35.51, -62.06)
CIE-LCHlch(42.73, 71.50, 299.78°)
OKLaboklab(52.07% 0.0289 -0.1781)
OKLCHoklch(52.07% 0.18 279.2)
XYZxyz(18.2890, 12.9782, 59.2871)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855CD #CACD55
analogous
#558ECD #5855CD #9455CD
triadic
#5855CD #CD5855 #55CD58
tetradic
#5855CD #CD558E #CACD55 #55CD94
square
#5855CD #CD558E #CACD55 #55CD94
split-complementary
#5855CD #CD9455 #8ECD55
monochromatic
#282682 #3734B1 #5855CD #8684DB #B5B4E9

Accessibility & contrast

On white

5.84
#5855CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5855CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855CD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855CD#FFFFFF#000000##FFFFFF
##5855CD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#137289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5855cd;
/* rgb */ color: rgb(88, 85, 205);
/* oklch */ color: oklch(52.1% 0.180 279.2);
Tailwind
colors: {
  custom: {
    50: '#9185dd',
    500: '#5855cd',
    950: '#000000',
  },
}
SCSS
$custom: #5855cd;
$custom-light: #9185dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5855cd",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 241.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.18044,
    "h": 279.2
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#5855CD
secondary
#D6D7A6
accent
#DE4ADA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5855CD

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

Preview Lab → · Contrast checker → · Palette generator →

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