#5C4FD2#5C4FD2

#5C4FD2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.8% C 0.194 H 281.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5C4FD2
RGBrgb(92, 79, 210)
HSLhsl(246, 59%, 57%)
HSVhsv(246, 62%, 82%)
CMYKcmyk(56.2%, 62.4%, 0%, 17.6%)
CIE-LABlab(42.03, 41.40, -66.06)
CIE-LCHlch(42.03, 77.96, 302.07°)
OKLaboklab(51.75% 0.0393 -0.1898)
OKLCHoklch(51.75% 0.194 281.7)
XYZxyz(18.8389, 12.5192, 62.3840)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FD2 #C5D24F
analogous
#4F84D2 #5C4FD2 #9E4FD2
triadic
#5C4FD2 #D25C4F #4FD25C
tetradic
#5C4FD2 #D24F84 #C5D24F #4FD29E
square
#5C4FD2 #D24F84 #C5D24F #4FD29E
split-complementary
#5C4FD2 #D29E4F #84D24F
monochromatic
#2C2285 #3C2EB5 #5C4FD2 #8980DE #B6B0EB

Accessibility & contrast

On white

5.99
#5C4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5C4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FD2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FD2#FFFFFF#000000##FFFFFF
##5C4FD21.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#1E6F89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4fd2;
/* rgb */ color: rgb(92, 79, 210);
/* oklch */ color: oklch(51.8% 0.194 281.7);
Tailwind
colors: {
  custom: {
    50: '#9581e1',
    500: '#5c4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fd2;
$custom-light: #9581e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fd2",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 245.954,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.19383,
    "h": 281.7
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#5C4FD2
secondary
#D4D9A4
accent
#E245D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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