#5854DB#5854DB

#5854DB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 53.0% C 0.200 H 278.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5854DB
RGBrgb(88, 84, 219)
HSLhsl(242, 65%, 59%)
HSVhsv(242, 62%, 86%)
CMYKcmyk(59.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(43.55, 40.61, -68.75)
CIE-LCHlch(43.55, 79.85, 300.57°)
OKLaboklab(53.01% 0.0293 -0.1978)
OKLCHoklch(53.01% 0.2 278.4)
XYZxyz(19.9769, 13.5283, 68.5626)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5854DB #D7DB54
analogous
#5494DB #5854DB #9C54DB
triadic
#5854DB #DB5854 #54DB58
tetradic
#5854DB #DB5494 #D7DB54 #54DB9C
square
#5854DB #DB5494 #D7DB54 #54DB9C
split-complementary
#5854DB #DB9C54 #94DB54
monochromatic
#231F95 #2F2AC8 #5854DB #8987E6 #BBB9F0

Accessibility & contrast

On white

5.67
#5854DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5854DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5854DB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5854DB#FFFFFF#000000##FFFFFF
##5854DB1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5854db;
/* rgb */ color: rgb(88, 84, 219);
/* oklch */ color: oklch(53.0% 0.200 278.4);
Tailwind
colors: {
  custom: {
    50: '#9484e7',
    500: '#5854db',
    950: '#000000',
  },
}
SCSS
$custom: #5854db;
$custom-light: #9484e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5854db",
  "rgb": {
    "r": 88,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 241.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.19996,
    "h": 278.4
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#5854DB
secondary
#DEE0AB
accent
#E840E3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5854DB

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

Preview Lab → · Contrast checker → · Palette generator →

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