#5854E7#5854E7

#5854E7 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.215 H 277.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5854E7
RGBrgb(88, 84, 231)
HSLhsl(242, 75%, 62%)
HSVhsv(242, 64%, 91%)
CMYKcmyk(61.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(44.49, 44.44, -74.03)
CIE-LCHlch(44.49, 86.34, 300.98°)
OKLaboklab(53.99% 0.0284 -0.2133)
OKLCHoklch(53.99% 0.215 277.6)
XYZxyz(21.6140, 14.1832, 77.1844)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854E7 #E3E754
analogous
#5499E7 #5854E7 #A254E7
triadic
#5854E7 #E75854 #54E758
tetradic
#5854E7 #E75499 #E3E754 #54E7A2
square
#5854E7 #E75499 #E3E754 #54E7A2
split-complementary
#5854E7 #E7A254 #99E754
monochromatic
#1C18A9 #241FDF #5854E7 #8C8AEF #C1BFF6

Accessibility & contrast

On white

5.47
#5854E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5854E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854E7#FFFFFF#000000##FFFFFF
##5854E71.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5854e7;
/* rgb */ color: rgb(88, 84, 231);
/* oklch */ color: oklch(54.0% 0.215 277.6);
Tailwind
colors: {
  custom: {
    50: '#9685f0',
    500: '#5854e7',
    950: '#000000',
  },
}
SCSS
$custom: #5854e7;
$custom-light: #9685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5854e7",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 241.633,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.21517,
    "h": 277.6
  },
  "luminance": 0.14185
}

Semantic roles & 50–950 ramp

primary
#5854E7
secondary
#E5E7B0
accent
#D80ED2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854E7

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

Preview Lab → · Contrast checker → · Palette generator →

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