#5854D8#5854D8

#5854D8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.8% C 0.196 H 278.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5854D8
RGBrgb(88, 84, 216)
HSLhsl(242, 63%, 59%)
HSVhsv(242, 61%, 85%)
CMYKcmyk(59.3%, 61.1%, 0%, 15.3%)
CIE-LABlab(43.32, 39.64, -67.42)
CIE-LCHlch(43.32, 78.21, 300.46°)
OKLaboklab(52.76% 0.0294 -0.1939)
OKLCHoklch(52.76% 0.196 278.6)
XYZxyz(19.5855, 13.3718, 66.5014)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854D8 #D4D854
analogous
#5492D8 #5854D8 #9A54D8
triadic
#5854D8 #D85854 #54D858
tetradic
#5854D8 #D85492 #D4D854 #54D89A
square
#5854D8 #D85492 #D4D854 #54D89A
split-complementary
#5854D8 #D89A54 #92D854
monochromatic
#242191 #312CC2 #5854D8 #8986E3 #B9B8EF

Accessibility & contrast

On white

5.71
#5854D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5854D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854D8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854D8#FFFFFF#000000##FFFFFF
##5854D81.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5854d8;
/* rgb */ color: rgb(88, 84, 216);
/* oklch */ color: oklch(52.8% 0.196 278.6);
Tailwind
colors: {
  custom: {
    50: '#9384e5',
    500: '#5854d8',
    950: '#000000',
  },
}
SCSS
$custom: #5854d8;
$custom-light: #9384e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5854d8",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 241.818,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52763,
    "c": 0.1961,
    "h": 278.6
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#5854D8
secondary
#DCDEAA
accent
#E642E1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5854D8

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

Preview Lab → · Contrast checker → · Palette generator →

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