#5C4ABC#5C4ABC

#5C4ABC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.172 H 285.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5C4ABC
RGBrgb(92, 74, 188)
HSLhsl(249, 46%, 51%)
HSVhsv(249, 61%, 74%)
CMYKcmyk(51.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(39.25, 37.58, -57.82)
CIE-LCHlch(39.25, 68.96, 303.02°)
OKLaboklab(49.2% 0.0456 -0.1656)
OKLCHoklch(49.2% 0.172 285.4)
XYZxyz(15.9368, 10.8029, 48.8126)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4ABC #AABC4A
analogous
#4A71BC #5C4ABC #954ABC
triadic
#5C4ABC #BC5C4A #4ABC5C
tetradic
#5C4ABC #BC4A71 #AABC4A #4ABC95
square
#5C4ABC #BC4A71 #AABC4A #4ABC95
split-complementary
#5C4ABC #BC954A #71BC4A
monochromatic
#302666 #453693 #5C4ABC #8477CD #ACA3DD

Accessibility & contrast

On white

6.64
#5C4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5C4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4ABC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4ABC#FFFFFF#000000##FFFFFF
##5C4ABC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#38657C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c4abc;
/* rgb */ color: rgb(92, 74, 188);
/* oklch */ color: oklch(49.2% 0.172 285.4);
Tailwind
colors: {
  custom: {
    50: '#927dd1',
    500: '#5c4abc',
    950: '#000000',
  },
}
SCSS
$custom: #5c4abc;
$custom-light: #927dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4abc",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 249.474,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.17175,
    "h": 285.4
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#5C4ABC
secondary
#C2CA98
accent
#D652C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5C4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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