#5C4DD5#5C4DD5

#5C4DD5 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.200 H 281.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C4DD5
RGBrgb(92, 77, 213)
HSLhsl(247, 62%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.8%, 63.8%, 0%, 16.5%)
CIE-LABlab(41.82, 43.50, -68.12)
CIE-LCHlch(41.82, 80.82, 302.56°)
OKLaboklab(51.68% 0.0409 -0.1959)
OKLCHoklch(51.68% 0.2 281.8)
XYZxyz(19.0740, 12.3859, 64.3235)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DD5 #C6D54D
analogous
#4D82D5 #5C4DD5 #A04DD5
triadic
#5C4DD5 #D55C4D #4DD55C
tetradic
#5C4DD5 #D54D82 #C6D54D #4DD5A0
square
#5C4DD5 #D54D82 #C6D54D #4DD5A0
split-complementary
#5C4DD5 #D5A04D #82D54D
monochromatic
#2B2088 #3B2CB9 #5C4DD5 #897FE1 #B7B0EC

Accessibility & contrast

On white

6.04
#5C4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5C4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DD5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DD5#FFFFFF#000000##FFFFFF
##5C4DD51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#196F8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4dd5;
/* rgb */ color: rgb(92, 77, 213);
/* oklch */ color: oklch(51.7% 0.200 281.8);
Tailwind
colors: {
  custom: {
    50: '#9580e3',
    500: '#5c4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4dd5;
$custom-light: #9580e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4dd5",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 246.618,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.20008,
    "h": 281.8
  },
  "luminance": 0.12387
}

Semantic roles & 50–950 ramp

primary
#5C4DD5
secondary
#D5DBA3
accent
#E543D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5C4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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