#5854CD#5854CD

#5854CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.182 H 279.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5854CD
RGBrgb(88, 84, 205)
HSLhsl(242, 55%, 57%)
HSVhsv(242, 59%, 80%)
CMYKcmyk(57.1%, 59%, 0%, 19.6%)
CIE-LABlab(42.49, 36.12, -62.44)
CIE-LCHlch(42.49, 72.14, 300.05°)
OKLaboklab(51.9% 0.0298 -0.1792)
OKLCHoklch(51.9% 0.182 279.5)
XYZxyz(18.2108, 12.8219, 59.2610)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854CD #C9CD54
analogous
#548DCD #5854CD #9454CD
triadic
#5854CD #CD5854 #54CD58
tetradic
#5854CD #CD548D #C9CD54 #54CD94
square
#5854CD #CD548D #C9CD54 #54CD94
split-complementary
#5854CD #CD9454 #8DCD54
monochromatic
#292681 #3834B0 #5854CD #8683DB #B4B3E9

Accessibility & contrast

On white

5.89
#5854CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5854CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854CD#FFFFFF#000000##FFFFFF
##5854CD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#137188
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5854cd;
/* rgb */ color: rgb(88, 84, 205);
/* oklch */ color: oklch(51.9% 0.182 279.5);
Tailwind
colors: {
  custom: {
    50: '#9184dd',
    500: '#5854cd',
    950: '#000000',
  },
}
SCSS
$custom: #5854cd;
$custom-light: #9184dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5854cd",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 241.983,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.18172,
    "h": 279.5
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5854CD

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

Preview Lab → · Contrast checker → · Palette generator →

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