#5E46D9#5E46D9

#5E46D9 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.213 H 283.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5E46D9
RGBrgb(94, 70, 217)
HSLhsl(250, 66%, 56%)
HSVhsv(250, 68%, 85%)
CMYKcmyk(56.7%, 67.7%, 0%, 14.9%)
CIE-LABlab(40.85, 49.00, -72.00)
CIE-LCHlch(40.85, 87.09, 304.23°)
OKLaboklab(51.11% 0.0491 -0.2072)
OKLCHoklch(51.11% 0.213 283.3)
XYZxyz(19.3268, 11.7685, 66.8853)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46D9 #C1D946
analogous
#4678D9 #5E46D9 #A846D9
triadic
#5E46D9 #D95E46 #46D95E
tetradic
#5E46D9 #D94678 #C1D946 #46D9A8
square
#5E46D9 #D94678 #C1D946 #46D9A8
split-complementary
#5E46D9 #D9A846 #78D946
monochromatic
#2E1C89 #3F26BB #5E46D9 #8A79E3 #B6ACEE

Accessibility & contrast

On white

6.26
#5E46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46D9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46D9#FFFFFF#000000##FFFFFF
##5E46D91.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#1C6C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e46d9;
/* rgb */ color: rgb(94, 70, 217);
/* oklch */ color: oklch(51.1% 0.213 283.3);
Tailwind
colors: {
  custom: {
    50: '#987be6',
    500: '#5e46d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e46d9;
$custom-light: #987be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46d9",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 249.796,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.21294,
    "h": 283.3
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#5E46D9
secondary
#D2DC9F
accent
#E93FCD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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