#5854DC#5854DC

#5854DC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.1% C 0.201 H 278.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5854DC
RGBrgb(88, 84, 220)
HSLhsl(242, 66%, 60%)
HSVhsv(242, 62%, 86%)
CMYKcmyk(60%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.63, 40.92, -69.20)
CIE-LCHlch(43.63, 80.39, 300.60°)
OKLaboklab(53.09% 0.0292 -0.1991)
OKLCHoklch(53.09% 0.201 278.3)
XYZxyz(20.1090, 13.5812, 69.2580)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854DC #D8DC54
analogous
#5494DC #5854DC #9C54DC
triadic
#5854DC #DC5854 #54DC58
tetradic
#5854DC #DC5494 #D8DC54 #54DC9C
square
#5854DC #DC5494 #D8DC54 #54DC9C
split-complementary
#5854DC #DC9C54 #94DC54
monochromatic
#221F97 #2E29CA #5854DC #8A87E6 #BBBAF1

Accessibility & contrast

On white

5.65
#5854DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5854DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854DC#FFFFFF#000000##FFFFFF
##5854DC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5854dc;
/* rgb */ color: rgb(88, 84, 220);
/* oklch */ color: oklch(53.1% 0.201 278.3);
Tailwind
colors: {
  custom: {
    50: '#9484e8',
    500: '#5854dc',
    950: '#000000',
  },
}
SCSS
$custom: #5854dc;
$custom-light: #9484e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5854dc",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 241.765,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.20124,
    "h": 278.3
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#5854DC
secondary
#DFE0AC
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5854DC

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

Preview Lab → · Contrast checker → · Palette generator →

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