#5E5AEB#5E5AEB

#5E5AEB is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.7% C 0.212 H 278.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5E5AEB
RGBrgb(94, 90, 235)
HSLhsl(242, 78%, 64%)
HSVhsv(242, 62%, 92%)
CMYKcmyk(60%, 61.7%, 0%, 7.8%)
CIE-LABlab(46.56, 43.09, -72.89)
CIE-LCHlch(46.56, 84.68, 300.59°)
OKLaboklab(55.71% 0.0303 -0.2098)
OKLCHoklch(55.71% 0.212 278.2)
XYZxyz(23.2628, 15.6884, 80.3835)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AEB #E7EB5A
analogous
#5A9EEB #5E5AEB #A65AEB
triadic
#5E5AEB #EB5E5A #5AEB5E
tetradic
#5E5AEB #EB5A9E #E7EB5A #5AEBA6
square
#5E5AEB #EB5A9E #E7EB5A #5AEBA6
split-complementary
#5E5AEB #EBA65A #9EEB5A
monochromatic
#1A16B5 #2923E4 #5E5AEB #9391F2 #C9C7F8

Accessibility & contrast

On white

5.07
#5E5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5E5AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AEB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AEB#FFFFFF#000000##FFFFFF
##5E5AEB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5aeb;
/* rgb */ color: rgb(94, 90, 235);
/* oklch */ color: oklch(55.7% 0.212 278.2);
Tailwind
colors: {
  custom: {
    50: '#9989f2',
    500: '#5e5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aeb;
$custom-light: #9989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aeb",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 241.655,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.21195,
    "h": 278.2
  },
  "luminance": 0.1569
}

Semantic roles & 50–950 ramp

primary
#5E5AEB
secondary
#E9EAB7
accent
#DB0BD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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