#5F4DCC#5F4DCC
#5F4DCC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.188 H 284.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DCC |
|---|---|
| RGB | rgb(95, 77, 204) |
| HSL | hsl(249, 55%, 55%) |
| HSV | hsv(249, 62%, 80%) |
| CMYK | cmyk(53.4%, 62.3%, 0%, 20%) |
| CIE-LAB | lab(41.37, 41.26, -63.66) |
| CIE-LCH | lch(41.37, 75.86, 302.95°) |
| OKLab | oklab(51.19% 0.0455 -0.1827) |
| OKLCH | oklch(51.19% 0.188 284) |
| XYZ | xyz(18.2690, 12.0993, 58.4878) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.35
Iris
#6258C4
ΔE00 3.44
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.30
Blue With A Hint Of Purple
#533CC6
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DCC #BACC4D
analogous
#4D7ACC #5F4DCC #9F4DCC
triadic
#5F4DCC #CC5F4D #4DCC5F
tetradic
#5F4DCC #CC4D7A #BACC4D #4DCC9F
square
#5F4DCC #CC4D7A #BACC4D #4DCC9F
split-complementary
#5F4DCC #CC9F4D #7ACC4D
monochromatic
#30237B #4231AB #5F4DCC #8A7DDA #B5ACE7
Accessibility & contrast
On white
6.14
#5F4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5F4DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DCC
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DCC | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#306C85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f4dcc; /* rgb */ color: rgb(95, 77, 204); /* oklch */ color: oklch(51.2% 0.188 284.0);
Tailwind
colors: {
custom: {
50: '#9680dc',
500: '#5f4dcc',
950: '#000000',
},
}SCSS
$custom: #5f4dcc; $custom-light: #9680dc; $custom-dark: #000000;
JSON
{
"hex": "#5f4dcc",
"rgb": {
"r": 95,
"g": 77,
"b": 204
},
"hsl": {
"h": 248.504,
"s": 55.459,
"l": 55.098
},
"oklch": {
"l": 0.51192,
"c": 0.18825,
"h": 284
},
"luminance": 0.121
}Semantic roles & 50–950 ramp
primary
#5F4DCC
secondary
#CDD5A0
accent
#DF49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83