#5E4DC4#5E4DC4

#5E4DC4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.178 H 284.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5E4DC4
RGBrgb(94, 77, 196)
HSLhsl(249, 50%, 54%)
HSVhsv(249, 61%, 77%)
CMYKcmyk(52%, 60.7%, 0%, 23.1%)
CIE-LABlab(40.69, 38.63, -60.14)
CIE-LCHlch(40.69, 71.47, 302.71°)
OKLaboklab(50.48% 0.0447 -0.1723)
OKLCHoklch(50.48% 0.178 284.6)
XYZxyz(17.2308, 11.6720, 53.5588)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DC4 #B3C44D
analogous
#4D77C4 #5E4DC4 #994DC4
triadic
#5E4DC4 #C45E4D #4DC45E
tetradic
#5E4DC4 #C44D77 #B3C44D #4DC499
square
#5E4DC4 #C44D77 #B3C44D #4DC499
split-complementary
#5E4DC4 #C4994D #77C44D
monochromatic
#302571 #44359F #5E4DC4 #887BD3 #B1A9E2

Accessibility & contrast

On white

6.30
#5E4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5E4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DC4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DC4#FFFFFF#000000##FFFFFF
##5E4DC41.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#356981
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4dc4;
/* rgb */ color: rgb(94, 77, 196);
/* oklch */ color: oklch(50.5% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#947fd7',
    500: '#5e4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dc4;
$custom-light: #947fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dc4",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 248.571,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.17804,
    "h": 284.6
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#5E4DC4
secondary
#C9D09D
accent
#DA4EC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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