#5E54E7#5E54E7

#5E54E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.214 H 279.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5E54E7
RGBrgb(94, 84, 231)
HSLhsl(244, 75%, 62%)
HSVhsv(244, 64%, 91%)
CMYKcmyk(59.3%, 63.6%, 0%, 9.4%)
CIE-LABlab(44.93, 45.34, -73.31)
CIE-LCHlch(44.93, 86.19, 301.74°)
OKLaboklab(54.41% 0.0357 -0.211)
OKLCHoklch(54.41% 0.214 279.6)
XYZxyz(22.2056, 14.4882, 77.2122)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54E7 #DDE754
analogous
#5493E7 #5E54E7 #A854E7
triadic
#5E54E7 #E75E54 #54E75E
tetradic
#5E54E7 #E75493 #DDE754 #54E7A8
square
#5E54E7 #E75493 #DDE754 #54E7A8
split-complementary
#5E54E7 #E7A854 #93E754
monochromatic
#2218A9 #2C1FDF #5E54E7 #918AEF #C3BFF6

Accessibility & contrast

On white

5.39
#5E54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5E54E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54E7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54E7#FFFFFF#000000##FFFFFF
##5E54E71.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e54e7;
/* rgb */ color: rgb(94, 84, 231);
/* oklch */ color: oklch(54.4% 0.214 279.6);
Tailwind
colors: {
  custom: {
    50: '#9985f0',
    500: '#5e54e7',
    950: '#000000',
  },
}
SCSS
$custom: #5e54e7;
$custom-light: #9985f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54e7",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 244.082,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.21401,
    "h": 279.6
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#5E54E7
secondary
#E3E7B0
accent
#D80ECA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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