#5E46E0#5E46E0

#5E46E0 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.221 H 282.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E46E0
RGBrgb(94, 70, 224)
HSLhsl(249, 71%, 58%)
HSVhsv(249, 69%, 88%)
CMYKcmyk(58%, 68.8%, 0%, 12.2%)
CIE-LABlab(41.44, 51.08, -75.03)
CIE-LCHlch(41.44, 90.77, 304.25°)
OKLaboklab(51.72% 0.048 -0.2161)
OKLCHoklch(51.72% 0.221 282.5)
XYZxyz(20.2566, 12.1405, 71.7825)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46E0 #C8E046
analogous
#467BE0 #5E46E0 #AB46E0
triadic
#5E46E0 #E05E46 #46E05E
tetradic
#5E46E0 #E0467B #C8E046 #46E0AB
square
#5E46E0 #E0467B #C8E046 #46E0AB
split-complementary
#5E46E0 #E0AB46 #7BE046
monochromatic
#2C1993 #3B21C7 #5E46E0 #8C7AE9 #B9AFF2

Accessibility & contrast

On white

6.13
#5E46E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E46E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46E0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46E0#FFFFFF#000000##FFFFFF
##5E46E01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#086F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e46e0;
/* rgb */ color: rgb(94, 70, 224);
/* oklch */ color: oklch(51.7% 0.221 282.5);
Tailwind
colors: {
  custom: {
    50: '#997ceb',
    500: '#5e46e0',
    950: '#000000',
  },
}
SCSS
$custom: #5e46e0;
$custom-light: #997ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46e0",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 249.351,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.22135,
    "h": 282.5
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#5E46E0
secondary
#D6E0A2
accent
#EE3AD2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46E0

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

Preview Lab → · Contrast checker → · Palette generator →

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