#5C4FD3#5C4FD3

#5C4FD3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.195 H 281.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5C4FD3
RGBrgb(92, 79, 211)
HSLhsl(246, 60%, 57%)
HSVhsv(246, 63%, 83%)
CMYKcmyk(56.4%, 62.6%, 0%, 17.3%)
CIE-LABlab(42.11, 41.71, -66.51)
CIE-LCHlch(42.11, 78.51, 302.09°)
OKLaboklab(51.83% 0.0393 -0.1911)
OKLCHoklch(51.83% 0.195 281.6)
XYZxyz(18.9638, 12.5692, 63.0422)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FD3 #C6D34F
analogous
#4F84D3 #5C4FD3 #9E4FD3
triadic
#5C4FD3 #D35C4F #4FD35C
tetradic
#5C4FD3 #D34F84 #C6D34F #4FD39E
square
#5C4FD3 #D34F84 #C6D34F #4FD39E
split-complementary
#5C4FD3 #D39E4F #84D34F
monochromatic
#2B2286 #3B2EB7 #5C4FD3 #8980DF #B7B1EB

Accessibility & contrast

On white

5.98
#5C4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FD3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FD3#FFFFFF#000000##FFFFFF
##5C4FD31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#1C708A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c4fd3;
/* rgb */ color: rgb(92, 79, 211);
/* oklch */ color: oklch(51.8% 0.195 281.6);
Tailwind
colors: {
  custom: {
    50: '#9581e1',
    500: '#5c4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fd3;
$custom-light: #9581e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fd3",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 245.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.19511,
    "h": 281.6
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#5C4FD3
secondary
#D5DAA4
accent
#E345D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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