#5E4ACC#5E4ACC

#5E4ACC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.6% C 0.192 H 284.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5E4ACC
RGBrgb(94, 74, 204)
HSLhsl(249, 56%, 55%)
HSVhsv(249, 64%, 80%)
CMYKcmyk(53.9%, 63.7%, 0%, 20%)
CIE-LABlab(40.63, 42.82, -64.87)
CIE-LCHlch(40.63, 77.73, 303.43°)
OKLaboklab(50.63% 0.0471 -0.1863)
OKLCHoklch(50.63% 0.192 284.2)
XYZxyz(17.9606, 11.6359, 58.4146)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ACC #B8CC4A
analogous
#4A77CC #5E4ACC #9F4ACC
triadic
#5E4ACC #CC5E4A #4ACC5E
tetradic
#5E4ACC #CC4A77 #B8CC4A #4ACC9F
square
#5E4ACC #CC4A77 #B8CC4A #4ACC9F
split-complementary
#5E4ACC #CC9F4A #77CC4A
monochromatic
#302279 #4230A9 #5E4ACC #887AD9 #B3A9E7

Accessibility & contrast

On white

6.31
#5E4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4ACC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ACC#FFFFFF#000000##FFFFFF
##5E4ACC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#2E6A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4acc;
/* rgb */ color: rgb(94, 74, 204);
/* oklch */ color: oklch(50.6% 0.192 284.2);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5e4acc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4acc;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4acc",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 249.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.19213,
    "h": 284.2
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#5E4ACC
secondary
#CCD49D
accent
#DF48C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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