#5C4DD9#5C4DD9

#5C4DD9 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.205 H 281.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C4DD9
RGBrgb(92, 77, 217)
HSLhsl(246, 65%, 58%)
HSVhsv(246, 65%, 85%)
CMYKcmyk(57.6%, 64.5%, 0%, 14.9%)
CIE-LABlab(42.14, 44.73, -69.89)
CIE-LCHlch(42.14, 82.98, 302.62°)
OKLaboklab(52.01% 0.0405 -0.2011)
OKLCHoklch(52.01% 0.205 281.4)
XYZxyz(19.5880, 12.5915, 67.0304)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DD9 #CAD94D
analogous
#4D84D9 #5C4DD9 #A24DD9
triadic
#5C4DD9 #D95C4D #4DD95C
tetradic
#5C4DD9 #D94D84 #CAD94D #4DD9A2
square
#5C4DD9 #D94D84 #CAD94D #4DD9A2
split-complementary
#5C4DD9 #D9A24D #84D94D
monochromatic
#2A1E8D #3929C0 #5C4DD9 #8A7FE4 #B8B2EF

Accessibility & contrast

On white

5.97
#5C4DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5C4DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DD9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DD9#FFFFFF#000000##FFFFFF
##5C4DD91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.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: #5c4dd9;
/* rgb */ color: rgb(92, 77, 217);
/* oklch */ color: oklch(52.0% 0.205 281.4);
Tailwind
colors: {
  custom: {
    50: '#9680e6',
    500: '#5c4dd9',
    950: '#000000',
  },
}
SCSS
$custom: #5c4dd9;
$custom-light: #9680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4dd9",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 246.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.20511,
    "h": 281.4
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#5C4DD9
secondary
#D7DDA5
accent
#E840D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C4DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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