#5C4CDD#5C4CDD

#5C4CDD is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.211 H 281.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5C4CDD
RGBrgb(92, 76, 221)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(58.4%, 65.6%, 0%, 13.3%)
CIE-LABlab(42.25, 46.53, -72.00)
CIE-LCHlch(42.25, 85.73, 302.88°)
OKLaboklab(52.19% 0.0409 -0.2072)
OKLCHoklch(52.19% 0.211 281.2)
XYZxyz(20.0451, 12.6633, 69.7806)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4CDD #CDDD4C
analogous
#4C84DD #5C4CDD #A54CDD
triadic
#5C4CDD #DD5C4C #4CDD5C
tetradic
#5C4CDD #DD4C84 #CDDD4C #4CDDA5
square
#5C4CDD #DD4C84 #CDDD4C #4CDDA5
split-complementary
#5C4CDD #DDA54C #84DD4C
monochromatic
#291C93 #3726C6 #5C4CDD #8B7FE7 #BAB3F1

Accessibility & contrast

On white

5.94
#5C4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5C4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4CDD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4CDD#FFFFFF#000000##FFFFFF
##5C4CDD1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c4cdd;
/* rgb */ color: rgb(92, 76, 221);
/* oklch */ color: oklch(52.2% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#977fe9',
    500: '#5c4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #5c4cdd;
$custom-light: #977fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4cdd",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 246.621,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.21125,
    "h": 281.2
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#5C4CDD
secondary
#D9DFA6
accent
#EB3DD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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