#5E51DC#5E51DC

#5E51DC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.204 H 281.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5E51DC
RGBrgb(94, 81, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(57.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(43.40, 43.66, -69.54)
CIE-LCHlch(43.40, 82.11, 302.13°)
OKLaboklab(53.04% 0.0392 -0.2)
OKLCHoklch(53.04% 0.204 281.1)
XYZxyz(20.4728, 13.4305, 69.2098)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E51DC #CFDC51
analogous
#518ADC #5E51DC #A451DC
triadic
#5E51DC #DC5E51 #51DC5E
tetradic
#5E51DC #DC518A #CFDC51 #51DCA4
square
#5E51DC #DC518A #CFDC51 #51DCA4
split-complementary
#5E51DC #DCA451 #8ADC51
monochromatic
#291E95 #3728C8 #5E51DC #8D84E6 #BCB7F0

Accessibility & contrast

On white

5.70
#5E51DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E51DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E51DC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E51DC#FFFFFF#000000##FFFFFF
##5E51DC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#12748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e51dc;
/* rgb */ color: rgb(94, 81, 220);
/* oklch */ color: oklch(53.0% 0.204 281.1);
Tailwind
colors: {
  custom: {
    50: '#9783e8',
    500: '#5e51dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e51dc;
$custom-light: #9783e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e51dc",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 245.612,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.20377,
    "h": 281.1
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#5E51DC
secondary
#DBE0A9
accent
#E93ED9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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