#5E4AE6#5E4AE6

#5E4AE6 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.224 H 281.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E4AE6
RGBrgb(94, 74, 230)
HSLhsl(248, 76%, 60%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(59.1%, 67.8%, 0%, 9.8%)
CIE-LABlab(42.75, 50.69, -76.30)
CIE-LCHlch(42.75, 91.61, 303.60°)
OKLaboklab(52.81% 0.0439 -0.2198)
OKLCHoklch(52.81% 0.224 281.3)
XYZxyz(21.3433, 12.9889, 76.2300)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AE6 #D2E64A
analogous
#4A84E6 #5E4AE6 #AC4AE6
triadic
#5E4AE6 #E65E4A #4AE65E
tetradic
#5E4AE6 #E64A84 #D2E64A #4AE6AC
square
#5E4AE6 #E64A84 #D2E64A #4AE6AC
split-complementary
#5E4AE6 #E6AC4A #84E64A
monochromatic
#2816A0 #351DD5 #5E4AE6 #8E80ED #BEB6F5

Accessibility & contrast

On white

5.84
#5E4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AE6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AE6#FFFFFF#000000##FFFFFF
##5E4AE61.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4ae6;
/* rgb */ color: rgb(94, 74, 230);
/* oklch */ color: oklch(52.8% 0.224 281.3);
Tailwind
colors: {
  custom: {
    50: '#997eef',
    500: '#5e4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ae6;
$custom-light: #997eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ae6",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 247.692,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.22415,
    "h": 281.3
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#5E4AE6
secondary
#DCE4A8
accent
#F235DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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