#5E5AEC#5E5AEC

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

Color values

HEX#5E5AEC
RGBrgb(94, 90, 236)
HSLhsl(242, 79%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(60.2%, 61.9%, 0%, 7.5%)
CIE-LABlab(46.64, 43.41, -73.33)
CIE-LCHlch(46.64, 85.21, 300.62°)
OKLaboklab(55.79% 0.0302 -0.211)
OKLCHoklch(55.79% 0.213 278.2)
XYZxyz(23.4077, 15.7464, 81.1465)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AEC #E8EC5A
analogous
#5A9FEC #5E5AEC #A75AEC
triadic
#5E5AEC #EC5E5A #5AEC5E
tetradic
#5E5AEC #EC5A9F #E8EC5A #5AECA7
square
#5E5AEC #EC5A9F #E8EC5A #5AECA7
split-complementary
#5E5AEC #ECA75A #9FEC5A
monochromatic
#1915B7 #2823E6 #5E5AEC #9491F2 #C9C8F9

Accessibility & contrast

On white

5.06
#5E5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5E5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AEC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AEC#FFFFFF#000000##FFFFFF
##5E5AEC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5aec;
/* rgb */ color: rgb(94, 90, 236);
/* oklch */ color: oklch(55.8% 0.213 278.2);
Tailwind
colors: {
  custom: {
    50: '#9989f3',
    500: '#5e5aec',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aec;
$custom-light: #9989f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aec",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 241.644,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55787,
    "c": 0.2132,
    "h": 278.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#5E5AEC
secondary
#E9EBB7
accent
#DC0AD6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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