#5854ED#5854ED

#5854ED is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.223 H 277.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5854ED
RGBrgb(88, 84, 237)
HSLhsl(242, 81%, 63%)
HSVhsv(242, 65%, 93%)
CMYKcmyk(62.9%, 64.6%, 0%, 7.1%)
CIE-LABlab(44.98, 46.35, -76.62)
CIE-LCHlch(44.98, 89.55, 301.17°)
OKLaboklab(54.49% 0.0279 -0.2209)
OKLCHoklch(54.49% 0.223 277.2)
XYZxyz(22.4759, 14.5279, 81.7241)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854ED #E9ED54
analogous
#549CED #5854ED #A554ED
triadic
#5854ED #ED5854 #54ED58
tetradic
#5854ED #ED549C #E9ED54 #54EDA5
square
#5854ED #ED549C #E9ED54 #54EDA5
split-complementary
#5854ED #EDA554 #9CED54
monochromatic
#1713B4 #221DE7 #5854ED #8E8BF3 #C4C3F9

Accessibility & contrast

On white

5.38
#5854ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5854ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854ED#FFFFFF#000000##FFFFFF
##5854ED1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#0064EA
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5854ed;
/* rgb */ color: rgb(88, 84, 237);
/* oklch */ color: oklch(54.5% 0.223 277.2);
Tailwind
colors: {
  custom: {
    50: '#9785f4',
    500: '#5854ed',
    950: '#000000',
  },
}
SCSS
$custom: #5854ed;
$custom-light: #9785f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5854ed",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 241.569,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.22264,
    "h": 277.2
  },
  "luminance": 0.1453
}

Semantic roles & 50–950 ramp

primary
#5854ED
secondary
#E8EAB3
accent
#DD08D8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854ED

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

Preview Lab → · Contrast checker → · Palette generator →

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