#5E4CD4#5E4CD4

#5E4CD4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.6% C 0.200 H 282.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD4
RGBrgb(94, 76, 212)
HSLhsl(248, 61%, 56%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(55.7%, 64.2%, 0%, 16.9%)
CIE-LABlab(41.69, 44.10, -67.76)
CIE-LCHlch(41.69, 80.84, 303.06°)
OKLaboklab(51.6% 0.0445 -0.1947)
OKLCHoklch(51.6% 0.2 282.9)
XYZxyz(19.0805, 12.3009, 63.6435)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD4 #C2D44C
analogous
#4C7ED4 #5E4CD4 #A24CD4
triadic
#5E4CD4 #D45E4C #4CD45E
tetradic
#5E4CD4 #D44C7E #C2D44C #4CD4A2
square
#5E4CD4 #D44C7E #C2D44C #4CD4A2
split-complementary
#5E4CD4 #D4A24C #7ED44C
monochromatic
#2E2086 #3E2CB7 #5E4CD4 #8A7DE0 #B7AFEC

Accessibility & contrast

On white

6.07
#5E4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD4#FFFFFF#000000##FFFFFF
##5E4CD41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#246E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4cd4;
/* rgb */ color: rgb(94, 76, 212);
/* oklch */ color: oklch(51.6% 0.200 282.9);
Tailwind
colors: {
  custom: {
    50: '#967fe2',
    500: '#5e4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd4;
$custom-light: #967fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd4",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 247.941,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.19975,
    "h": 282.9
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#5E4CD4
secondary
#D2DAA2
accent
#E443CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #5E4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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