#5E54E5#5E54E5

#5E54E5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.211 H 279.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E54E5
RGBrgb(94, 84, 229)
HSLhsl(244, 74%, 61%)
HSVhsv(244, 63%, 90%)
CMYKcmyk(59%, 63.3%, 0%, 10.2%)
CIE-LABlab(44.77, 44.72, -72.43)
CIE-LCHlch(44.77, 85.12, 301.69°)
OKLaboklab(54.25% 0.0359 -0.2084)
OKLCHoklch(54.25% 0.212 279.8)
XYZxyz(21.9248, 14.3759, 75.7330)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E54E5 #DBE554
analogous
#5493E5 #5E54E5 #A754E5
triadic
#5E54E5 #E55E54 #54E55E
tetradic
#5E54E5 #E55493 #DBE554 #54E5A7
square
#5E54E5 #E55493 #DBE554 #54E5A7
split-complementary
#5E54E5 #E5A754 #93E554
monochromatic
#2319A5 #2E21DB #5E54E5 #9089ED #C2BEF5

Accessibility & contrast

On white

5.42
#5E54E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5E54E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E54E5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E54E5#FFFFFF#000000##FFFFFF
##5E54E51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e54e5;
/* rgb */ color: rgb(94, 84, 229);
/* oklch */ color: oklch(54.3% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#9885ee',
    500: '#5e54e5',
    950: '#000000',
  },
}
SCSS
$custom: #5e54e5;
$custom-light: #9885ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e54e5",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 244.138,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.2115,
    "h": 279.8
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#5E54E5
secondary
#E2E6AF
accent
#D610C8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E54E5

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

Preview Lab → · Contrast checker → · Palette generator →

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