#5E54EB#5E54EB

#5E54EB is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.219 H 279.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E54EB
RGBrgb(94, 84, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 64%, 92%)
CMYKcmyk(60%, 64.3%, 0%, 7.8%)
CIE-LABlab(45.24, 46.59, -75.04)
CIE-LCHlch(45.24, 88.33, 301.83°)
OKLaboklab(54.74% 0.0353 -0.2161)
OKLCHoklch(54.74% 0.219 279.3)
XYZxyz(22.7770, 14.7168, 80.2215)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54EB #E1EB54
analogous
#5495EB #5E54EB #AA54EB
triadic
#5E54EB #EB5E54 #54EB5E
tetradic
#5E54EB #EB5495 #E1EB54 #54EBAA
square
#5E54EB #EB5495 #E1EB54 #54EBAA
split-complementary
#5E54EB #EBAA54 #95EB54
monochromatic
#1F15B0 #2A1DE5 #5E54EB #928BF1 #C5C2F8

Accessibility & contrast

On white

5.33
#5E54EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E54EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54EB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54EB#FFFFFF#000000##FFFFFF
##5E54EB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e54eb;
/* rgb */ color: rgb(94, 84, 235);
/* oklch */ color: oklch(54.7% 0.219 279.3);
Tailwind
colors: {
  custom: {
    50: '#9985f3',
    500: '#5e54eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e54eb;
$custom-light: #9985f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54eb",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 243.974,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.21897,
    "h": 279.3
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#5E54EB
secondary
#E5E9B2
accent
#DB0ACD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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