#5C4AC8#5C4AC8

#5C4AC8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.187 H 283.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5C4AC8
RGBrgb(92, 74, 200)
HSLhsl(249, 53%, 54%)
HSVhsv(249, 63%, 78%)
CMYKcmyk(54%, 63%, 0%, 21.6%)
CIE-LABlab(40.15, 41.25, -63.34)
CIE-LCHlch(40.15, 75.59, 303.07°)
OKLaboklab(50.14% 0.0449 -0.1818)
OKLCHoklch(50.14% 0.187 283.9)
XYZxyz(17.2846, 11.3420, 55.9108)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4AC8 #B6C84A
analogous
#4A77C8 #5C4AC8 #9B4AC8
triadic
#5C4AC8 #C85C4A #4AC85C
tetradic
#5C4AC8 #C84A77 #B6C84A #4AC89B
square
#5C4AC8 #C84A77 #B6C84A #4AC89B
split-complementary
#5C4AC8 #C89B4A #77C84A
monochromatic
#2F2374 #4232A3 #5C4AC8 #8679D6 #B1A8E5

Accessibility & contrast

On white

6.42
#5C4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5C4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4AC8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4AC8#FFFFFF#000000##FFFFFF
##5C4AC81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#2D6982
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c4ac8;
/* rgb */ color: rgb(92, 74, 200);
/* oklch */ color: oklch(50.1% 0.187 283.9);
Tailwind
colors: {
  custom: {
    50: '#947dda',
    500: '#5c4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ac8;
$custom-light: #947dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ac8",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 248.571,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.18728,
    "h": 283.9
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#5C4AC8
secondary
#CAD29C
accent
#DD4BC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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