#5855CA#5855CA

#5855CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.176 H 279.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5855CA
RGBrgb(88, 85, 202)
HSLhsl(242, 52%, 56%)
HSVhsv(242, 58%, 79%)
CMYKcmyk(56.4%, 57.9%, 0%, 20.8%)
CIE-LABlab(42.51, 34.55, -60.68)
CIE-LCHlch(42.51, 69.82, 299.66°)
OKLaboklab(51.84% 0.0289 -0.1741)
OKLCHoklch(51.84% 0.176 279.4)
XYZxyz(17.9303, 12.8348, 57.3982)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5855CA #C7CA55
analogous
#558DCA #5855CA #9355CA
triadic
#5855CA #CA5855 #55CA58
tetradic
#5855CA #CA558D #C7CA55 #55CA93
square
#5855CA #CA558D #C7CA55 #55CA93
split-complementary
#5855CA #CA9355 #8DCA55
monochromatic
#29277D #3936AC #5855CA #8684D9 #B4B2E7

Accessibility & contrast

On white

5.89
#5855CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5855CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5855CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5855CA#FFFFFF#000000##FFFFFF
##5855CA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#197187
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5855ca;
/* rgb */ color: rgb(88, 85, 202);
/* oklch */ color: oklch(51.8% 0.176 279.4);
Tailwind
colors: {
  custom: {
    50: '#9185db',
    500: '#5855ca',
    950: '#000000',
  },
}
SCSS
$custom: #5855ca;
$custom-light: #9185db;
$custom-dark: #000000;
JSON
{
  "hex": "#5855ca",
  "rgb": {
    "r": 88,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 241.538,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.17644,
    "h": 279.4
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#5855CA
secondary
#D4D5A5
accent
#DC4CD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5855CA

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

Preview Lab → · Contrast checker → · Palette generator →

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