#5E4CDD#5E4CDD

#5E4CDD is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.211 H 281.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5E4CDD
RGBrgb(94, 76, 221)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(57.5%, 65.6%, 0%, 13.3%)
CIE-LABlab(42.41, 46.85, -71.73)
CIE-LCHlch(42.41, 85.67, 303.15°)
OKLaboklab(52.34% 0.0435 -0.2064)
OKLCHoklch(52.34% 0.211 281.9)
XYZxyz(20.2476, 12.7677, 69.7901)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CDD #CBDD4C
analogous
#4C82DD #5E4CDD #A64CDD
triadic
#5E4CDD #DD5E4C #4CDD5E
tetradic
#5E4CDD #DD4C82 #CBDD4C #4CDDA6
square
#5E4CDD #DD4C82 #CBDD4C #4CDDA6
split-complementary
#5E4CDD #DDA64C #82DD4C
monochromatic
#2B1C93 #3A26C6 #5E4CDD #8C7FE7 #BBB3F1

Accessibility & contrast

On white

5.91
#5E4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CDD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CDD#FFFFFF#000000##FFFFFF
##5E4CDD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#11718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e4cdd;
/* rgb */ color: rgb(94, 76, 221);
/* oklch */ color: oklch(52.3% 0.211 281.9);
Tailwind
colors: {
  custom: {
    50: '#987fe9',
    500: '#5e4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cdd;
$custom-light: #987fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cdd",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 247.448,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.21094,
    "h": 281.9
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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