#5D54EE#5D54EE

#5D54EE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.223 H 278.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D54EE
RGBrgb(93, 84, 238)
HSLhsl(244, 82%, 63%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(60.9%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.41, 47.37, -76.46)
CIE-LCHlch(45.41, 89.95, 301.78°)
OKLaboklab(54.92% 0.0338 -0.2203)
OKLCHoklch(54.92% 0.223 278.7)
XYZxyz(23.1122, 14.8391, 82.5186)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54EE #E5EE54
analogous
#5498EE #5D54EE #AA54EE
triadic
#5D54EE #EE5D54 #54EE5D
tetradic
#5D54EE #EE5498 #E5EE54 #54EEAA
square
#5D54EE #EE5498 #E5EE54 #54EEAA
split-complementary
#5D54EE #EEAA54 #98EE54
monochromatic
#1C12B6 #281CE8 #5D54EE #928CF4 #C6C3F9

Accessibility & contrast

On white

5.29
#5D54EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D54EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54EE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54EE#FFFFFF#000000##FFFFFF
##5D54EE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d54ee;
/* rgb */ color: rgb(93, 84, 238);
/* oklch */ color: oklch(54.9% 0.223 278.7);
Tailwind
colors: {
  custom: {
    50: '#9985f5',
    500: '#5d54ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d54ee;
$custom-light: #9985f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54ee",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 243.506,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.22286,
    "h": 278.7
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#5D54EE
secondary
#E7EAB3
accent
#DE07D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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