#5E4AEB#5E4AEB

#5E4AEB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.3% C 0.230 H 280.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5E4AEB
RGBrgb(94, 74, 235)
HSLhsl(247, 80%, 61%)
HSVhsv(247, 69%, 92%)
CMYKcmyk(60%, 68.5%, 0%, 7.8%)
CIE-LABlab(43.17, 52.20, -78.43)
CIE-LCHlch(43.17, 94.22, 303.64°)
OKLaboklab(53.25% 0.0431 -0.226)
OKLCHoklch(53.25% 0.23 280.8)
XYZxyz(22.0555, 13.2738, 79.9810)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AEB #D7EB4A
analogous
#4A87EB #5E4AEB #AE4AEB
triadic
#5E4AEB #EB5E4A #4AEB5E
tetradic
#5E4AEB #EB4A87 #D7EB4A #4AEBAE
square
#5E4AEB #EB4A87 #D7EB4A #4AEBAE
split-complementary
#5E4AEB #EBAE4A #87EB4A
monochromatic
#2513A8 #3119DF #5E4AEB #8F81F1 #C0B8F7

Accessibility & contrast

On white

5.75
#5E4AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5E4AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AEB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AEB#FFFFFF#000000##FFFFFF
##5E4AEB1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4aeb;
/* rgb */ color: rgb(94, 74, 235);
/* oklch */ color: oklch(53.3% 0.230 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a7ef3',
    500: '#5e4aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4aeb;
$custom-light: #9a7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4aeb",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 247.453,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.23013,
    "h": 280.8
  },
  "luminance": 0.13275
}

Semantic roles & 50–950 ramp

primary
#5E4AEB
secondary
#DFE7AA
accent
#DC09C2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E4AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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