#5854EC#5854EC

#5854EC is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.221 H 277.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5854EC
RGBrgb(88, 84, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(62.7%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.90, 46.03, -76.19)
CIE-LCHlch(44.90, 89.01, 301.14°)
OKLaboklab(54.41% 0.028 -0.2196)
OKLCHoklch(54.41% 0.221 277.3)
XYZxyz(22.3302, 14.4697, 80.9568)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854EC #E8EC54
analogous
#549CEC #5854EC #A454EC
triadic
#5854EC #EC5854 #54EC58
tetradic
#5854EC #EC549C #E8EC54 #54ECA4
square
#5854EC #EC549C #E8EC54 #54ECA4
split-complementary
#5854EC #ECA454 #9CEC54
monochromatic
#1814B2 #221DE6 #5854EC #8E8BF2 #C4C2F8

Accessibility & contrast

On white

5.39
#5854EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5854EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854EC#FFFFFF#000000##FFFFFF
##5854EC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5854ec;
/* rgb */ color: rgb(88, 84, 236);
/* oklch */ color: oklch(54.4% 0.221 277.3);
Tailwind
colors: {
  custom: {
    50: '#9785f3',
    500: '#5854ec',
    950: '#000000',
  },
}
SCSS
$custom: #5854ec;
$custom-light: #9785f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5854ec",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 241.579,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.2214,
    "h": 277.3
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#5854EC
secondary
#E8E9B2
accent
#DC09D7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854EC

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

Preview Lab → · Contrast checker → · Palette generator →

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