#5854E6#5854E6

#5854E6 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.9% C 0.214 H 277.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5854E6
RGBrgb(88, 84, 230)
HSLhsl(242, 74%, 62%)
HSVhsv(242, 63%, 90%)
CMYKcmyk(61.7%, 63.5%, 0%, 9.8%)
CIE-LABlab(44.41, 44.12, -73.59)
CIE-LCHlch(44.41, 85.80, 300.94°)
OKLaboklab(53.91% 0.0285 -0.212)
OKLCHoklch(53.91% 0.214 277.7)
XYZxyz(21.4731, 14.1268, 76.4427)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854E6 #E2E654
analogous
#5499E6 #5854E6 #A154E6
triadic
#5854E6 #E65854 #54E658
tetradic
#5854E6 #E65499 #E2E654 #54E6A1
square
#5854E6 #E65499 #E2E654 #54E6A1
split-complementary
#5854E6 #E6A154 #99E654
monochromatic
#1C18A7 #2520DD #5854E6 #8C89EE #C0BFF6

Accessibility & contrast

On white

5.49
#5854E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5854E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854E6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854E6#FFFFFF#000000##FFFFFF
##5854E61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5854e6;
/* rgb */ color: rgb(88, 84, 230);
/* oklch */ color: oklch(53.9% 0.214 277.7);
Tailwind
colors: {
  custom: {
    50: '#9685ef',
    500: '#5854e6',
    950: '#000000',
  },
}
SCSS
$custom: #5854e6;
$custom-light: #9685ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5854e6",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 241.644,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.21392,
    "h": 277.7
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#5854E6
secondary
#E5E6B0
accent
#D70FD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854E6

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

Preview Lab → · Contrast checker → · Palette generator →

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