#5E4CDC#5E4CDC

#5E4CDC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.210 H 282.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5E4CDC
RGBrgb(94, 76, 220)
HSLhsl(248, 67%, 58%)
HSVhsv(248, 65%, 86%)
CMYKcmyk(57.3%, 65.5%, 0%, 13.7%)
CIE-LABlab(42.33, 46.54, -71.29)
CIE-LCHlch(42.33, 85.14, 303.14°)
OKLaboklab(52.26% 0.0436 -0.2051)
OKLCHoklch(52.26% 0.21 282)
XYZxyz(20.1148, 12.7146, 69.0905)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CDC #CADC4C
analogous
#4C82DC #5E4CDC #A64CDC
triadic
#5E4CDC #DC5E4C #4CDC5E
tetradic
#5E4CDC #DC4C82 #CADC4C #4CDCA6
square
#5E4CDC #DC4C82 #CADC4C #4CDCA6
split-complementary
#5E4CDC #DCA64C #82DC4C
monochromatic
#2B1C91 #3A26C4 #5E4CDC #8C7FE6 #BAB2F0

Accessibility & contrast

On white

5.93
#5E4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5E4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CDC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CDC#FFFFFF#000000##FFFFFF
##5E4CDC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4cdc;
/* rgb */ color: rgb(94, 76, 220);
/* oklch */ color: oklch(52.3% 0.210 282.0);
Tailwind
colors: {
  custom: {
    50: '#987fe8',
    500: '#5e4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cdc;
$custom-light: #987fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cdc",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 247.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.2097,
    "h": 282
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#5E4CDC
secondary
#D7DFA5
accent
#EA3ED5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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