#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 |
|---|---|
| RGB | rgb(92, 79, 211) |
| HSL | hsl(246, 60%, 57%) |
| HSV | hsv(246, 63%, 83%) |
| CMYK | cmyk(56.4%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(42.11, 41.71, -66.51) |
| CIE-LCH | lch(42.11, 78.51, 302.09°) |
| OKLab | oklab(51.83% 0.0393 -0.1911) |
| OKLCH | oklch(51.83% 0.195 281.6) |
| XYZ | xyz(18.9638, 12.5692, 63.0422) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.43
Warm Blue
#4B57DB
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.34
Purpleish Blue
#6140EF
ΔE00 4.76
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 |
|---|---|---|---|---|
| ##5C4FD3 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.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