#5854EF#5854EF

#5854EF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.225 H 277.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5854EF
RGBrgb(88, 84, 239)
HSLhsl(242, 83%, 63%)
HSVhsv(242, 65%, 94%)
CMYKcmyk(63.2%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.14, 46.98, -77.48)
CIE-LCHlch(45.14, 90.61, 301.23°)
OKLaboklab(54.66% 0.0277 -0.2234)
OKLCHoklch(54.66% 0.225 277.1)
XYZxyz(22.7698, 14.6455, 83.2716)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854EF #EBEF54
analogous
#549EEF #5854EF #A554EF
triadic
#5854EF #EF5854 #54EF58
tetradic
#5854EF #EF549E #EBEF54 #54EFA5
square
#5854EF #EF549E #EBEF54 #54EFA5
split-complementary
#5854EF #EFA554 #9EEF54
monochromatic
#1511B7 #211CEA #5854EF #8F8CF4 #C5C4F9

Accessibility & contrast

On white

5.34
#5854EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5854EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854EF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854EF#FFFFFF#000000##FFFFFF
##5854EF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5854ef;
/* rgb */ color: rgb(88, 84, 239);
/* oklch */ color: oklch(54.7% 0.225 277.1);
Tailwind
colors: {
  custom: {
    50: '#9785f5',
    500: '#5854ef',
    950: '#000000',
  },
}
SCSS
$custom: #5854ef;
$custom-light: #9785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5854ef",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 241.548,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.22512,
    "h": 277.1
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#5854EF
secondary
#EAEBB4
accent
#DF06DA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5854EF

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

Preview Lab → · Contrast checker → · Palette generator →

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