#5E5AE5#5E5AE5

#5E5AE5 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.2% C 0.204 H 278.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5E5AE5
RGBrgb(94, 90, 229)
HSLhsl(242, 73%, 63%)
HSVhsv(242, 61%, 90%)
CMYKcmyk(59%, 60.7%, 0%, 10.2%)
CIE-LABlab(46.11, 41.19, -70.25)
CIE-LCHlch(46.11, 81.44, 300.39°)
OKLaboklab(55.23% 0.0306 -0.202)
OKLCHoklch(55.23% 0.204 278.6)
XYZxyz(22.4106, 15.3475, 75.8950)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AE5 #E1E55A
analogous
#5A9BE5 #5E5AE5 #A45AE5
triadic
#5E5AE5 #E55E5A #5AE55E
tetradic
#5E5AE5 #E55A9B #E1E55A #5AE5A4
square
#5E5AE5 #E55A9B #E1E55A #5AE5A4
split-complementary
#5E5AE5 #E5A45A #9BE55A
monochromatic
#1F1BAA #2A25DD #5E5AE5 #928FED #C5C4F6

Accessibility & contrast

On white

5.16
#5E5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5E5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AE5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AE5#FFFFFF#000000##FFFFFF
##5E5AE51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e5ae5;
/* rgb */ color: rgb(94, 90, 229);
/* oklch */ color: oklch(55.2% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#9889ee',
    500: '#5e5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ae5;
$custom-light: #9889ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ae5",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 241.727,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.20431,
    "h": 278.6
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#5E5AE5
secondary
#E5E7B4
accent
#D511CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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