#5E5AEA#5E5AEA

#5E5AEA is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.211 H 278.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E5AEA
RGBrgb(94, 90, 234)
HSLhsl(242, 77%, 64%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(59.8%, 61.5%, 0%, 8.2%)
CIE-LABlab(46.49, 42.78, -72.45)
CIE-LCHlch(46.49, 84.14, 300.56°)
OKLaboklab(55.63% 0.0304 -0.2085)
OKLCHoklch(55.63% 0.211 278.3)
XYZxyz(23.1188, 15.6308, 79.6247)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AEA #E6EA5A
analogous
#5A9EEA #5E5AEA #A65AEA
triadic
#5E5AEA #EA5E5A #5AEA5E
tetradic
#5E5AEA #EA5A9E #E6EA5A #5AEAA6
square
#5E5AEA #EA5A9E #E6EA5A #5AEAA6
split-complementary
#5E5AEA #EAA65A #9EEA5A
monochromatic
#1B17B3 #2924E3 #5E5AEA #9390F1 #C8C7F8

Accessibility & contrast

On white

5.09
#5E5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5E5AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AEA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AEA#FFFFFF#000000##FFFFFF
##5E5AEA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e5aea;
/* rgb */ color: rgb(94, 90, 234);
/* oklch */ color: oklch(55.6% 0.211 278.3);
Tailwind
colors: {
  custom: {
    50: '#9989f2',
    500: '#5e5aea',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aea;
$custom-light: #9989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aea",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 241.667,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.21068,
    "h": 278.3
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#5E5AEA
secondary
#E8E9B6
accent
#DA0CD4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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