#5E4ACA#5E4ACA

#5E4ACA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.5% C 0.190 H 284.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5E4ACA
RGBrgb(94, 74, 202)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 63%, 79%)
CMYKcmyk(53.5%, 63.4%, 0%, 20.8%)
CIE-LABlab(40.48, 42.22, -63.97)
CIE-LCHlch(40.48, 76.64, 303.42°)
OKLaboklab(50.47% 0.0473 -0.1836)
OKLCHoklch(50.47% 0.19 284.4)
XYZxyz(17.7223, 11.5405, 57.1594)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ACA #B6CA4A
analogous
#4A76CA #5E4ACA #9E4ACA
triadic
#5E4ACA #CA5E4A #4ACA5E
tetradic
#5E4ACA #CA4A76 #B6CA4A #4ACA9E
square
#5E4ACA #CA4A76 #B6CA4A #4ACA9E
split-complementary
#5E4ACA #CA9E4A #76CA4A
monochromatic
#302377 #4331A6 #5E4ACA #8879D8 #B2A9E6

Accessibility & contrast

On white

6.35
#5E4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ACA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ACA#FFFFFF#000000##FFFFFF
##5E4ACA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#306983
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4aca;
/* rgb */ color: rgb(94, 74, 202);
/* oklch */ color: oklch(50.5% 0.190 284.4);
Tailwind
colors: {
  custom: {
    50: '#957edb',
    500: '#5e4aca',
    950: '#000000',
  },
}
SCSS
$custom: #5e4aca;
$custom-light: #957edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4aca",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 249.375,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50469,
    "c": 0.1896,
    "h": 284.4
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5E4ACA
secondary
#CBD39D
accent
#DE4AC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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