#5E46DC#5E46DC

#5E46DC is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.217 H 283.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5E46DC
RGBrgb(94, 70, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 68%, 86%)
CMYKcmyk(57.3%, 68.2%, 0%, 13.7%)
CIE-LABlab(41.10, 49.89, -73.31)
CIE-LCHlch(41.10, 88.67, 304.24°)
OKLaboklab(51.37% 0.0486 -0.211)
OKLCHoklch(51.37% 0.217 283)
XYZxyz(19.7205, 11.9260, 68.9591)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46DC #C4DC46
analogous
#4679DC #5E46DC #A946DC
triadic
#5E46DC #DC5E46 #46DC5E
tetradic
#5E46DC #DC4679 #C4DC46 #46DCA9
square
#5E46DC #DC4679 #C4DC46 #46DCA9
split-complementary
#5E46DC #DCA946 #79DC46
monochromatic
#2D1B8D #3D24C0 #5E46DC #8B79E6 #B8ADEF

Accessibility & contrast

On white

6.20
#5E46DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E46DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46DC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46DC#FFFFFF#000000##FFFFFF
##5E46DC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#166D8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e46dc;
/* rgb */ color: rgb(94, 70, 220);
/* oklch */ color: oklch(51.4% 0.217 283.0);
Tailwind
colors: {
  custom: {
    50: '#987be8',
    500: '#5e46dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e46dc;
$custom-light: #987be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46dc",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 249.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.21656,
    "h": 283
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#5E46DC
secondary
#D4DDA0
accent
#EB3DCF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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