#5C4CD9#5C4CD9

#5C4CD9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.206 H 281.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5C4CD9
RGBrgb(92, 76, 217)
HSLhsl(247, 65%, 57%)
HSVhsv(247, 65%, 85%)
CMYKcmyk(57.6%, 65%, 0%, 14.9%)
CIE-LABlab(41.93, 45.31, -70.24)
CIE-LCHlch(41.93, 83.59, 302.82°)
OKLaboklab(51.85% 0.0414 -0.2021)
OKLCHoklch(51.85% 0.206 281.6)
XYZxyz(19.5186, 12.4526, 67.0073)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CD9 #C9D94C
analogous
#4C82D9 #5C4CD9 #A34CD9
triadic
#5C4CD9 #D95C4C #4CD95C
tetradic
#5C4CD9 #D94C82 #C9D94C #4CD9A3
square
#5C4CD9 #D94C82 #C9D94C #4CD9A3
split-complementary
#5C4CD9 #D9A34C #82D94C
monochromatic
#2A1E8D #3A29BF #5C4CD9 #8A7EE4 #B8B1EE

Accessibility & contrast

On white

6.02
#5C4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5C4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CD9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CD9#FFFFFF#000000##FFFFFF
##5C4CD91.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#0F708C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4cd9;
/* rgb */ color: rgb(92, 76, 217);
/* oklch */ color: oklch(51.8% 0.206 281.6);
Tailwind
colors: {
  custom: {
    50: '#967fe6',
    500: '#5c4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cd9;
$custom-light: #967fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cd9",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 246.809,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.20629,
    "h": 281.6
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#5C4CD9
secondary
#D6DDA4
accent
#E840D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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