#5D54EA#5D54EA

#5D54EA is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.218 H 279.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D54EA
RGBrgb(93, 84, 234)
HSLhsl(244, 78%, 62%)
HSVhsv(244, 64%, 92%)
CMYKcmyk(60.3%, 64.1%, 0%, 8.2%)
CIE-LABlab(45.09, 46.12, -74.73)
CIE-LCHlch(45.09, 87.82, 301.68°)
OKLaboklab(54.59% 0.0342 -0.2152)
OKLCHoklch(54.59% 0.218 279)
XYZxyz(22.5311, 14.6066, 79.4580)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54EA #E1EA54
analogous
#5496EA #5D54EA #A854EA
triadic
#5D54EA #EA5D54 #54EA5D
tetradic
#5D54EA #EA5496 #E1EA54 #54EAA8
square
#5D54EA #EA5496 #E1EA54 #54EAA8
split-complementary
#5D54EA #EAA854 #96EA54
monochromatic
#1F15AE #291DE3 #5D54EA #918BF1 #C4C1F7

Accessibility & contrast

On white

5.35
#5D54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5D54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54EA#FFFFFF#000000##FFFFFF
##5D54EA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d54ea;
/* rgb */ color: rgb(93, 84, 234);
/* oklch */ color: oklch(54.6% 0.218 279.0);
Tailwind
colors: {
  custom: {
    50: '#9985f2',
    500: '#5d54ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ea;
$custom-light: #9985f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ea",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 243.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.21793,
    "h": 279
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#5D54EA
secondary
#E5E8B2
accent
#DA0BCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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