#5E51DA#5E51DA

#5E51DA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.9% C 0.201 H 281.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5E51DA
RGBrgb(94, 81, 218)
HSLhsl(246, 65%, 59%)
HSVhsv(246, 63%, 85%)
CMYKcmyk(56.9%, 62.8%, 0%, 14.5%)
CIE-LABlab(43.25, 43.05, -68.65)
CIE-LCHlch(43.25, 81.03, 302.09°)
OKLaboklab(52.88% 0.0394 -0.1973)
OKLCHoklch(52.88% 0.201 281.3)
XYZxyz(20.2095, 13.3252, 67.8232)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E51DA #CDDA51
analogous
#5188DA #5E51DA #A251DA
triadic
#5E51DA #DA5E51 #51DA5E
tetradic
#5E51DA #DA5188 #CDDA51 #51DAA2
square
#5E51DA #DA5188 #CDDA51 #51DAA2
split-complementary
#5E51DA #DAA251 #88DA51
monochromatic
#2A1F92 #382AC4 #5E51DA #8D83E5 #BBB6EF

Accessibility & contrast

On white

5.73
#5E51DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5E51DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E51DA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E51DA#FFFFFF#000000##FFFFFF
##5E51DA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#18738E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e51da;
/* rgb */ color: rgb(94, 81, 218);
/* oklch */ color: oklch(52.9% 0.201 281.3);
Tailwind
colors: {
  custom: {
    50: '#9783e6',
    500: '#5e51da',
    950: '#000000',
  },
}
SCSS
$custom: #5e51da;
$custom-light: #9783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e51da",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 245.693,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.20124,
    "h": 281.3
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#5E51DA
secondary
#D9DEA8
accent
#E840D8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E51DA

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

Preview Lab → · Contrast checker → · Palette generator →

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