#5E54EE#5E54EE

#5E54EE is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.223 H 279.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5E54EE
RGBrgb(94, 84, 238)
HSLhsl(244, 82%, 63%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(60.5%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.49, 47.52, -76.34)
CIE-LCHlch(45.49, 89.92, 301.90°)
OKLaboklab(54.99% 0.035 -0.2199)
OKLCHoklch(54.99% 0.223 279)
XYZxyz(23.2141, 14.8916, 82.5234)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54EE #E4EE54
analogous
#5497EE #5E54EE #AB54EE
triadic
#5E54EE #EE5E54 #54EE5E
tetradic
#5E54EE #EE5497 #E4EE54 #54EEAB
square
#5E54EE #EE5497 #E4EE54 #54EEAB
split-complementary
#5E54EE #EEAB54 #97EE54
monochromatic
#1D12B6 #2A1CE8 #5E54EE #928CF4 #C7C3F9

Accessibility & contrast

On white

5.28
#5E54EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E54EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54EE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54EE#FFFFFF#000000##FFFFFF
##5E54EE1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e54ee;
/* rgb */ color: rgb(94, 84, 238);
/* oklch */ color: oklch(55.0% 0.223 279.0);
Tailwind
colors: {
  custom: {
    50: '#9a85f5',
    500: '#5e54ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e54ee;
$custom-light: #9a85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54ee",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 243.896,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.22268,
    "h": 279
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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