#5E5AEF#5E5AEF

#5E5AEF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.217 H 278.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E5AEF
RGBrgb(94, 90, 239)
HSLhsl(242, 82%, 65%)
HSVhsv(242, 62%, 94%)
CMYKcmyk(60.7%, 62.3%, 0%, 6.3%)
CIE-LABlab(46.87, 44.36, -74.64)
CIE-LCHlch(46.87, 86.82, 300.72°)
OKLaboklab(56.03% 0.03 -0.2149)
OKLCHoklch(56.03% 0.217 278)
XYZxyz(23.8472, 15.9222, 83.4612)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AEF #EBEF5A
analogous
#5AA0EF #5E5AEF #A95AEF
triadic
#5E5AEF #EF5E5A #5AEF5E
tetradic
#5E5AEF #EF5AA0 #EBEF5A #5AEFA9
square
#5E5AEF #EF5AA0 #EBEF5A #5AEFA9
split-complementary
#5E5AEF #EFA95A #A0EF5A
monochromatic
#1712BC #2822EA #5E5AEF #9492F4 #CBCAFA

Accessibility & contrast

On white

5.02
#5E5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E5AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AEF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AEF#FFFFFF#000000##FFFFFF
##5E5AEF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5aef;
/* rgb */ color: rgb(94, 90, 239);
/* oklch */ color: oklch(56.0% 0.217 278.0);
Tailwind
colors: {
  custom: {
    50: '#9a89f5',
    500: '#5e5aef',
    950: '#000000',
  },
}
SCSS
$custom: #5e5aef;
$custom-light: #9a89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5aef",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 241.611,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.21698,
    "h": 278
  },
  "luminance": 0.15924
}

Semantic roles & 50–950 ramp

primary
#5E5AEF
secondary
#EBECB9
accent
#DF07D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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