#5E46D8#5E46D8

#5E46D8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.212 H 283.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5E46D8
RGBrgb(94, 70, 216)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 68%, 85%)
CMYKcmyk(56.5%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.76, 48.70, -71.57)
CIE-LCHlch(40.76, 86.56, 304.23°)
OKLaboklab(51.03% 0.0492 -0.2059)
OKLCHoklch(51.03% 0.212 283.4)
XYZxyz(19.1971, 11.7167, 66.2024)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46D8 #C0D846
analogous
#4677D8 #5E46D8 #A746D8
triadic
#5E46D8 #D85E46 #46D85E
tetradic
#5E46D8 #D84677 #C0D846 #46D8A7
square
#5E46D8 #D84677 #C0D846 #46D8A7
split-complementary
#5E46D8 #D8A746 #77D846
monochromatic
#2E1C87 #3F27BA #5E46D8 #8A79E3 #B6ABED

Accessibility & contrast

On white

6.28
#5E46D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5E46D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46D8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46D8#FFFFFF#000000##FFFFFF
##5E46D81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#1E6C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e46d8;
/* rgb */ color: rgb(94, 70, 216);
/* oklch */ color: oklch(51.0% 0.212 283.4);
Tailwind
colors: {
  custom: {
    50: '#977be5',
    500: '#5e46d8',
    950: '#000000',
  },
}
SCSS
$custom: #5e46d8;
$custom-light: #977be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46d8",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 249.863,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.21173,
    "h": 283.4
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#5E46D8
secondary
#D1DB9F
accent
#E840CC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46D8

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

Preview Lab → · Contrast checker → · Palette generator →

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