#5C4CD3#5C4CD3

#5C4CD3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.4% C 0.199 H 282.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5C4CD3
RGBrgb(92, 76, 211)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 64%, 83%)
CMYKcmyk(56.4%, 64%, 0%, 17.3%)
CIE-LABlab(41.45, 43.46, -67.58)
CIE-LCHlch(41.45, 80.35, 302.74°)
OKLaboklab(51.35% 0.042 -0.1943)
OKLCHoklch(51.35% 0.199 282.2)
XYZxyz(18.7523, 12.1461, 62.9717)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CD3 #C3D34C
analogous
#4C80D3 #5C4CD3 #A04CD3
triadic
#5C4CD3 #D35C4C #4CD35C
tetradic
#5C4CD3 #D34C80 #C3D34C #4CD3A0
square
#5C4CD3 #D34C80 #C3D34C #4CD3A0
split-complementary
#5C4CD3 #D3A04C #80D34C
monochromatic
#2C2084 #3D2DB5 #5C4CD3 #897DDF #B5AEEB

Accessibility & contrast

On white

6.12
#5C4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5C4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CD3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CD3#FFFFFF#000000##FFFFFF
##5C4CD31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#1D6E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4cd3;
/* rgb */ color: rgb(92, 76, 211);
/* oklch */ color: oklch(51.4% 0.199 282.2);
Tailwind
colors: {
  custom: {
    50: '#957fe1',
    500: '#5c4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cd3;
$custom-light: #957fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cd3",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 247.111,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.19878,
    "h": 282.2
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#5C4CD3
secondary
#D3D9A2
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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