#5854E4#5854E4

#5854E4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.211 H 277.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5854E4
RGBrgb(88, 84, 228)
HSLhsl(242, 73%, 61%)
HSVhsv(242, 63%, 89%)
CMYKcmyk(61.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(44.25, 43.48, -72.72)
CIE-LCHlch(44.25, 84.73, 300.88°)
OKLaboklab(53.74% 0.0287 -0.2095)
OKLCHoklch(53.74% 0.211 277.8)
XYZxyz(21.1939, 14.0151, 74.9721)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854E4 #E0E454
analogous
#5498E4 #5854E4 #A054E4
triadic
#5854E4 #E45854 #54E458
tetradic
#5854E4 #E45498 #E0E454 #54E4A0
square
#5854E4 #E45498 #E0E454 #54E4A0
split-complementary
#5854E4 #E4A054 #98E454
monochromatic
#1E1AA4 #2722D9 #5854E4 #8C89EC #BFBEF5

Accessibility & contrast

On white

5.52
#5854E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5854E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854E4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854E4#FFFFFF#000000##FFFFFF
##5854E41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5854e4;
/* rgb */ color: rgb(88, 84, 228);
/* oklch */ color: oklch(53.7% 0.211 277.8);
Tailwind
colors: {
  custom: {
    50: '#9585ee',
    500: '#5854e4',
    950: '#000000',
  },
}
SCSS
$custom: #5854e4;
$custom-light: #9585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5854e4",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 241.667,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.21141,
    "h": 277.8
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#5854E4
secondary
#E3E5AF
accent
#D511CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5854E4

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

Preview Lab → · Contrast checker → · Palette generator →

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