#5E4CC2#5E4CC2

#5E4CC2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.177 H 285.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E4CC2
RGBrgb(94, 76, 194)
HSLhsl(249, 49%, 53%)
HSVhsv(249, 61%, 76%)
CMYKcmyk(51.5%, 60.8%, 0%, 23.9%)
CIE-LABlab(40.32, 38.61, -59.58)
CIE-LCHlch(40.32, 71.00, 302.95°)
OKLaboklab(50.16% 0.0459 -0.1707)
OKLCHoklch(50.16% 0.177 285)
XYZxyz(16.9352, 11.4427, 52.3448)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CC2 #B0C24C
analogous
#4C75C2 #5E4CC2 #994CC2
triadic
#5E4CC2 #C25E4C #4CC25E
tetradic
#5E4CC2 #C24C75 #B0C24C #4CC299
square
#5E4CC2 #C24C75 #B0C24C #4CC299
split-complementary
#5E4CC2 #C2994C #75C24C
monochromatic
#31266E #45359C #5E4CC2 #877AD2 #B0A7E1

Accessibility & contrast

On white

6.39
#5E4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5E4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CC2#FFFFFF#000000##FFFFFF
##5E4CC21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#376880
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4cc2;
/* rgb */ color: rgb(94, 76, 194);
/* oklch */ color: oklch(50.2% 0.177 285.0);
Tailwind
colors: {
  custom: {
    50: '#947fd5',
    500: '#5e4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cc2;
$custom-light: #947fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cc2",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 249.153,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.17676,
    "h": 285
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#5E4CC2
secondary
#C7CE9B
accent
#D94FC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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