#5E54E4#5E54E4

#5E54E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.210 H 279.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5E54E4
RGBrgb(94, 84, 228)
HSLhsl(244, 73%, 61%)
HSVhsv(244, 63%, 89%)
CMYKcmyk(58.8%, 63.2%, 0%, 10.6%)
CIE-LABlab(44.69, 44.41, -71.99)
CIE-LCHlch(44.69, 84.59, 301.67°)
OKLaboklab(54.17% 0.0359 -0.2072)
OKLCHoklch(54.17% 0.21 279.8)
XYZxyz(21.7856, 14.3202, 74.9998)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54E4 #DAE454
analogous
#5492E4 #5E54E4 #A654E4
triadic
#5E54E4 #E45E54 #54E45E
tetradic
#5E54E4 #E45492 #DAE454 #54E4A6
square
#5E54E4 #E45492 #DAE454 #54E4A6
split-complementary
#5E54E4 #E4A654 #92E454
monochromatic
#231AA4 #2F22D9 #5E54E4 #9089EC #C2BEF5

Accessibility & contrast

On white

5.43
#5E54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5E54E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54E4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54E4#FFFFFF#000000##FFFFFF
##5E54E41.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e54e4;
/* rgb */ color: rgb(94, 84, 228);
/* oklch */ color: oklch(54.2% 0.210 279.8);
Tailwind
colors: {
  custom: {
    50: '#9885ee',
    500: '#5e54e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e54e4;
$custom-light: #9885ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54e4",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 244.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.21025,
    "h": 279.8
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#5E54E4
secondary
#E1E5AF
accent
#D511C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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