#5D54E8#5D54E8

#5D54E8 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.215 H 279.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D54E8
RGBrgb(93, 84, 232)
HSLhsl(244, 76%, 62%)
HSVhsv(244, 64%, 91%)
CMYKcmyk(59.9%, 63.8%, 0%, 9%)
CIE-LABlab(44.93, 45.50, -73.86)
CIE-LCHlch(44.93, 86.75, 301.63°)
OKLaboklab(54.42% 0.0344 -0.2127)
OKLCHoklch(54.42% 0.215 279.2)
XYZxyz(22.2454, 14.4924, 77.9533)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54E8 #DFE854
analogous
#5495E8 #5D54E8 #A754E8
triadic
#5D54E8 #E85D54 #54E85D
tetradic
#5D54E8 #E85495 #DFE854 #54E8A7
square
#5D54E8 #E85495 #DFE854 #54E8A7
split-complementary
#5D54E8 #E8A754 #95E854
monochromatic
#2017AB #2A1EE1 #5D54E8 #908AEF #C3C0F7

Accessibility & contrast

On white

5.39
#5D54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5D54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54E8#FFFFFF#000000##FFFFFF
##5D54E81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d54e8;
/* rgb */ color: rgb(93, 84, 232);
/* oklch */ color: oklch(54.4% 0.215 279.2);
Tailwind
colors: {
  custom: {
    50: '#9885f0',
    500: '#5d54e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d54e8;
$custom-light: #9885f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54e8",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 243.649,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.21544,
    "h": 279.2
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#5D54E8
secondary
#E4E7B1
accent
#D80DCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5D54E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva