#5E54E8#5E54E8

#5E54E8 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.215 H 279.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5E54E8
RGBrgb(94, 84, 232)
HSLhsl(244, 76%, 62%)
HSVhsv(244, 64%, 91%)
CMYKcmyk(59.5%, 63.8%, 0%, 9%)
CIE-LABlab(45.00, 45.65, -73.74)
CIE-LCHlch(45.00, 86.73, 301.76°)
OKLaboklab(54.5% 0.0356 -0.2123)
OKLCHoklch(54.5% 0.215 279.5)
XYZxyz(22.3473, 14.5449, 77.9581)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54E8 #DEE854
analogous
#5494E8 #5E54E8 #A854E8
triadic
#5E54E8 #E85E54 #54E85E
tetradic
#5E54E8 #E85494 #DEE854 #54E8A8
square
#5E54E8 #E85494 #DEE854 #54E8A8
split-complementary
#5E54E8 #E8A854 #94E854
monochromatic
#2117AB #2B1EE1 #5E54E8 #918AEF #C4C0F7

Accessibility & contrast

On white

5.37
#5E54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5E54E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54E8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54E8#FFFFFF#000000##FFFFFF
##5E54E81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e54e8;
/* rgb */ color: rgb(94, 84, 232);
/* oklch */ color: oklch(54.5% 0.215 279.5);
Tailwind
colors: {
  custom: {
    50: '#9985f0',
    500: '#5e54e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e54e8;
$custom-light: #9985f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54e8",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 244.054,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.21525,
    "h": 279.5
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#5E54E8
secondary
#E4E7B1
accent
#D80DCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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