#5E46DB#5E46DB

#5E46DB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.215 H 283.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5E46DB
RGBrgb(94, 70, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(57.1%, 68%, 0%, 14.1%)
CIE-LABlab(41.01, 49.59, -72.88)
CIE-LCHlch(41.01, 88.15, 304.24°)
OKLaboklab(51.28% 0.0488 -0.2098)
OKLCHoklch(51.28% 0.215 283.1)
XYZxyz(19.5885, 11.8732, 68.2637)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46DB #C3DB46
analogous
#4679DB #5E46DB #A846DB
triadic
#5E46DB #DB5E46 #46DB5E
tetradic
#5E46DB #DB4679 #C3DB46 #46DBA8
square
#5E46DB #DB4679 #C3DB46 #46DBA8
split-complementary
#5E46DB #DBA846 #79DB46
monochromatic
#2D1B8B #3E25BF #5E46DB #8B79E5 #B7ACEF

Accessibility & contrast

On white

6.22
#5E46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5E46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46DB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46DB#FFFFFF#000000##FFFFFF
##5E46DB1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#186D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e46db;
/* rgb */ color: rgb(94, 70, 219);
/* oklch */ color: oklch(51.3% 0.215 283.1);
Tailwind
colors: {
  custom: {
    50: '#987be7',
    500: '#5e46db',
    950: '#000000',
  },
}
SCSS
$custom: #5e46db;
$custom-light: #987be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46db",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 249.664,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.21536,
    "h": 283.1
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#5E46DB
secondary
#D3DDA0
accent
#EA3DCE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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