#5E46DF#5E46DF

#5E46DF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.220 H 282.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E46DF
RGBrgb(94, 70, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(57.8%, 68.6%, 0%, 12.5%)
CIE-LABlab(41.35, 50.78, -74.60)
CIE-LCHlch(41.35, 90.25, 304.24°)
OKLaboklab(51.63% 0.0481 -0.2148)
OKLCHoklch(51.63% 0.22 282.6)
XYZxyz(20.1214, 12.0864, 71.0703)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46DF #C7DF46
analogous
#467ADF #5E46DF #AB46DF
triadic
#5E46DF #DF5E46 #46DF5E
tetradic
#5E46DF #DF467A #C7DF46 #46DFAB
square
#5E46DF #DF467A #C7DF46 #46DFAB
split-complementary
#5E46DF #DFAB46 #7ADF46
monochromatic
#2C1991 #3C22C6 #5E46DF #8B7AE8 #B9AEF1

Accessibility & contrast

On white

6.14
#5E46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46DF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46DF#FFFFFF#000000##FFFFFF
##5E46DF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#0D6E8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e46df;
/* rgb */ color: rgb(94, 70, 223);
/* oklch */ color: oklch(51.6% 0.220 282.6);
Tailwind
colors: {
  custom: {
    50: '#997cea',
    500: '#5e46df',
    950: '#000000',
  },
}
SCSS
$custom: #5e46df;
$custom-light: #997cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46df",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 249.412,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.22016,
    "h": 282.6
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#5E46DF
secondary
#D6DFA2
accent
#ED3BD1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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