#5E54E9#5E54E9

#5E54E9 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.216 H 279.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E54E9
RGBrgb(94, 84, 233)
HSLhsl(244, 77%, 62%)
HSVhsv(244, 64%, 91%)
CMYKcmyk(59.7%, 63.9%, 0%, 8.6%)
CIE-LABlab(45.08, 45.96, -74.18)
CIE-LCHlch(45.08, 87.26, 301.78°)
OKLaboklab(54.58% 0.0355 -0.2136)
OKLCHoklch(54.58% 0.216 279.4)
XYZxyz(22.4897, 14.6019, 78.7083)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54E9 #DFE954
analogous
#5495E9 #5E54E9 #A954E9
triadic
#5E54E9 #E95E54 #54E95E
tetradic
#5E54E9 #E95495 #DFE954 #54E9A9
square
#5E54E9 #E95495 #DFE954 #54E9A9
split-complementary
#5E54E9 #E9A954 #95E954
monochromatic
#2016AC #2B1EE2 #5E54E9 #918AF0 #C4C0F7

Accessibility & contrast

On white

5.36
#5E54E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5E54E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54E9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54E9#FFFFFF#000000##FFFFFF
##5E54E91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e54e9;
/* rgb */ color: rgb(94, 84, 233);
/* oklch */ color: oklch(54.6% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#9985f1',
    500: '#5e54e9',
    950: '#000000',
  },
}
SCSS
$custom: #5e54e9;
$custom-light: #9985f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54e9",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 244.027,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.21649,
    "h": 279.4
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#5E54E9
secondary
#E4E8B1
accent
#D90CCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54E9

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

Preview Lab → · Contrast checker → · Palette generator →

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