#5854EA#5854EA

#5854EA is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.219 H 277.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5854EA
RGBrgb(88, 84, 234)
HSLhsl(242, 78%, 62%)
HSVhsv(242, 64%, 92%)
CMYKcmyk(62.4%, 64.1%, 0%, 8.2%)
CIE-LABlab(44.74, 45.39, -75.33)
CIE-LCHlch(44.74, 87.95, 301.07°)
OKLaboklab(54.24% 0.0282 -0.2171)
OKLCHoklch(54.24% 0.219 277.4)
XYZxyz(22.0413, 14.3541, 79.4350)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854EA #E6EA54
analogous
#549BEA #5854EA #A354EA
triadic
#5854EA #EA5854 #54EA58
tetradic
#5854EA #EA549B #E6EA54 #54EAA3
square
#5854EA #EA549B #E6EA54 #54EAA3
split-complementary
#5854EA #EAA354 #9BEA54
monochromatic
#1915AE #231DE3 #5854EA #8D8BF1 #C2C1F7

Accessibility & contrast

On white

5.42
#5854EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5854EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854EA#FFFFFF#000000##FFFFFF
##5854EA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5854ea;
/* rgb */ color: rgb(88, 84, 234);
/* oklch */ color: oklch(54.2% 0.219 277.4);
Tailwind
colors: {
  custom: {
    50: '#9685f2',
    500: '#5854ea',
    950: '#000000',
  },
}
SCSS
$custom: #5854ea;
$custom-light: #9685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5854ea",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 241.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.21892,
    "h": 277.4
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#5854EA
secondary
#E7E8B2
accent
#DA0BD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854EA

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

Preview Lab → · Contrast checker → · Palette generator →

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