#5E4DDC#5E4DDC

#5E4DDC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.209 H 281.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5E4DDC
RGBrgb(94, 77, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(57.3%, 65%, 0%, 13.7%)
CIE-LABlab(42.54, 45.97, -70.95)
CIE-LCHlch(42.54, 84.54, 302.94°)
OKLaboklab(52.41% 0.0428 -0.2041)
OKLCHoklch(52.41% 0.209 281.8)
XYZxyz(20.1842, 12.8534, 69.1136)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DDC #CBDC4D
analogous
#4D83DC #5E4DDC #A54DDC
triadic
#5E4DDC #DC5E4D #4DDC5E
tetradic
#5E4DDC #DC4D83 #CBDC4D #4DDCA5
square
#5E4DDC #DC4D83 #CBDC4D #4DDCA5
split-complementary
#5E4DDC #DCA54D #83DC4D
monochromatic
#2B1D92 #3A27C5 #5E4DDC #8C80E6 #BBB3F0

Accessibility & contrast

On white

5.88
#5E4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5E4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DDC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DDC#FFFFFF#000000##FFFFFF
##5E4DDC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#14718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4ddc;
/* rgb */ color: rgb(94, 77, 220);
/* oklch */ color: oklch(52.4% 0.209 281.8);
Tailwind
colors: {
  custom: {
    50: '#9880e8',
    500: '#5e4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ddc;
$custom-light: #9880e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ddc",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 247.133,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.20853,
    "h": 281.8
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#5E4DDC
secondary
#D8DFA6
accent
#EA3ED6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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