#5C4DD2#5C4DD2

#5C4DD2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.196 H 282.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5C4DD2
RGBrgb(92, 77, 210)
HSLhsl(247, 60%, 56%)
HSVhsv(247, 63%, 82%)
CMYKcmyk(56.2%, 63.3%, 0%, 17.6%)
CIE-LABlab(41.59, 42.57, -66.78)
CIE-LCHlch(41.59, 79.20, 302.52°)
OKLaboklab(51.43% 0.0412 -0.1919)
OKLCHoklch(51.43% 0.196 282.1)
XYZxyz(18.6968, 12.2350, 62.3367)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4DD2 #C3D24D
analogous
#4D81D2 #5C4DD2 #9F4DD2
triadic
#5C4DD2 #D25C4D #4DD25C
tetradic
#5C4DD2 #D24D81 #C3D24D #4DD29F
square
#5C4DD2 #D24D81 #C3D24D #4DD29F
split-complementary
#5C4DD2 #D29F4D #81D24D
monochromatic
#2C2183 #3D2EB4 #5C4DD2 #897EDE #B5AFEB

Accessibility & contrast

On white

6.09
#5C4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5C4DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4DD2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4DD2#FFFFFF#000000##FFFFFF
##5C4DD21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#1F6E88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c4dd2;
/* rgb */ color: rgb(92, 77, 210);
/* oklch */ color: oklch(51.4% 0.196 282.1);
Tailwind
colors: {
  custom: {
    50: '#9580e1',
    500: '#5c4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4dd2;
$custom-light: #9580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4dd2",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 246.767,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.1963,
    "h": 282.1
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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