#5E5AED#5E5AED

#5E5AED is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.214 H 278.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5E5AED
RGBrgb(94, 90, 237)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(60.3%, 62%, 0%, 7.1%)
CIE-LABlab(46.72, 43.72, -73.77)
CIE-LCHlch(46.72, 85.75, 300.66°)
OKLaboklab(55.87% 0.0302 -0.2123)
OKLCHoklch(55.87% 0.214 278.1)
XYZxyz(23.5534, 15.8046, 81.9138)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AED #E9ED5A
analogous
#5AA0ED #5E5AED #A85AED
triadic
#5E5AED #ED5E5A #5AED5E
tetradic
#5E5AED #ED5AA0 #E9ED5A #5AEDA8
square
#5E5AED #ED5AA0 #E9ED5A #5AEDA8
split-complementary
#5E5AED #EDA85A #A0ED5A
monochromatic
#1914B8 #2823E7 #5E5AED #9491F3 #CAC8F9

Accessibility & contrast

On white

5.05
#5E5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5E5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AED#FFFFFF#000000##FFFFFF
##5E5AED1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5aed;
/* rgb */ color: rgb(94, 90, 237);
/* oklch */ color: oklch(55.9% 0.214 278.1);
Tailwind
colors: {
  custom: {
    50: '#9989f4',
    500: '#5e5aed',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aed;
$custom-light: #9989f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aed",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 241.633,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.21446,
    "h": 278.1
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#5E5AED
secondary
#EAEBB8
accent
#DD09D7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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