#5E54EF#5E54EF

#5E54EF is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.224 H 279.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5E54EF
RGBrgb(94, 84, 239)
HSLhsl(244, 83%, 63%)
HSVhsv(244, 65%, 94%)
CMYKcmyk(60.7%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.57, 47.83, -76.77)
CIE-LCHlch(45.57, 90.45, 301.92°)
OKLaboklab(55.08% 0.0349 -0.2212)
OKLCHoklch(55.08% 0.224 279)
XYZxyz(23.3614, 14.9506, 83.2993)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54EF #E5EF54
analogous
#5497EF #5E54EF #AB54EF
triadic
#5E54EF #EF5E54 #54EF5E
tetradic
#5E54EF #EF5497 #E5EF54 #54EFAB
square
#5E54EF #EF5497 #E5EF54 #54EFAB
split-complementary
#5E54EF #EFAB54 #97EF54
monochromatic
#1C11B7 #291CEA #5E54EF #938CF4 #C7C4F9

Accessibility & contrast

On white

5.26
#5E54EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5E54EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54EF#FFFFFF#000000##FFFFFF
##5E54EF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e54ef;
/* rgb */ color: rgb(94, 84, 239);
/* oklch */ color: oklch(55.1% 0.224 279.0);
Tailwind
colors: {
  custom: {
    50: '#9a85f5',
    500: '#5e54ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e54ef;
$custom-light: #9a85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54ef",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 243.871,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.22391,
    "h": 279
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#5E54EF
secondary
#E7EBB4
accent
#DF06D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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