#5C4ABA#5C4ABA

#5C4ABA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.169 H 285.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5C4ABA
RGBrgb(92, 74, 186)
HSLhsl(250, 45%, 51%)
HSVhsv(250, 60%, 73%)
CMYKcmyk(50.5%, 60.2%, 0%, 27.1%)
CIE-LABlab(39.10, 36.97, -56.88)
CIE-LCHlch(39.10, 67.84, 303.02°)
OKLaboklab(49.04% 0.0457 -0.1628)
OKLCHoklch(49.04% 0.169 285.7)
XYZxyz(15.7227, 10.7173, 47.6850)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4ABA #A8BA4A
analogous
#4A70BA #5C4ABA #944ABA
triadic
#5C4ABA #BA5C4A #4ABA5C
tetradic
#5C4ABA #BA4A70 #A8BA4A #4ABA94
square
#5C4ABA #BA4A70 #A8BA4A #4ABA94
split-complementary
#5C4ABA #BA944A #70BA4A
monochromatic
#302664 #453790 #5C4ABA #8476CB #ACA3DC

Accessibility & contrast

On white

6.68
#5C4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5C4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4ABA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4ABA#FFFFFF#000000##FFFFFF
##5C4ABA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#39647B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4aba;
/* rgb */ color: rgb(92, 74, 186);
/* oklch */ color: oklch(49.0% 0.169 285.7);
Tailwind
colors: {
  custom: {
    50: '#927dcf',
    500: '#5c4aba',
    950: '#000000',
  },
}
SCSS
$custom: #5c4aba;
$custom-light: #927dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4aba",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 249.643,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.16913,
    "h": 285.7
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#5C4ABA
secondary
#C1C997
accent
#D553C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5C4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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