#5E46E1#5E46E1

#5E46E1 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.223 H 282.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5E46E1
RGBrgb(94, 70, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 69%, 88%)
CMYKcmyk(58.2%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.52, 51.38, -75.46)
CIE-LCHlch(41.52, 91.29, 304.25°)
OKLaboklab(51.81% 0.0478 -0.2173)
OKLCHoklch(51.81% 0.223 282.4)
XYZxyz(20.3926, 12.1949, 72.4988)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46E1 #C9E146
analogous
#467CE1 #5E46E1 #AB46E1
triadic
#5E46E1 #E15E46 #46E15E
tetradic
#5E46E1 #E1467C #C9E146 #46E1AB
square
#5E46E1 #E1467C #C9E146 #46E1AB
split-complementary
#5E46E1 #E1AB46 #7CE146
monochromatic
#2B1895 #3B21C9 #5E46E1 #8C7BEA #BAAFF2

Accessibility & contrast

On white

6.11
#5E46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5E46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46E1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46E1#FFFFFF#000000##FFFFFF
##5E46E11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#046F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e46e1;
/* rgb */ color: rgb(94, 70, 225);
/* oklch */ color: oklch(51.8% 0.223 282.4);
Tailwind
colors: {
  custom: {
    50: '#997cec',
    500: '#5e46e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e46e1;
$custom-light: #997cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46e1",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 249.29,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.22255,
    "h": 282.4
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#5E46E1
secondary
#D7E0A2
accent
#EF39D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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