#5F4FC0#5F4FC0
#5F4FC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.170 H 285.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FC0 |
|---|---|
| RGB | rgb(95, 79, 192) |
| HSL | hsl(248, 47%, 53%) |
| HSV | hsv(248, 59%, 75%) |
| CMYK | cmyk(50.5%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(40.94, 36.41, -57.39) |
| CIE-LCH | lch(40.94, 67.97, 302.39°) |
| OKLab | oklab(50.6% 0.0441 -0.1642) |
| OKLCH | oklch(50.6% 0.17 285) |
| XYZ | xyz(17.0269, 11.8298, 51.2451) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.77
Bluey Purple
#6241C7
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 4.48
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FC0 #B0C04F
analogous
#4F77C0 #5F4FC0 #984FC0
triadic
#5F4FC0 #C05F4F #4FC05F
tetradic
#5F4FC0 #C04F77 #B0C04F #4FC098
square
#5F4FC0 #C04F77 #B0C04F #4FC098
split-complementary
#5F4FC0 #C0984F #77C04F
monochromatic
#31276D #45379A #5F4FC0 #887CD0 #B1A9E0
Accessibility & contrast
On white
6.24
#5F4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5F4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FC0
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FC0 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#3B6980
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f4fc0; /* rgb */ color: rgb(95, 79, 192); /* oklch */ color: oklch(50.6% 0.170 285.0);
Tailwind
colors: {
custom: {
50: '#9481d4',
500: '#5f4fc0',
950: '#000000',
},
}SCSS
$custom: #5f4fc0; $custom-light: #9481d4; $custom-dark: #000000;
JSON
{
"hex": "#5f4fc0",
"rgb": {
"r": 95,
"g": 79,
"b": 192
},
"hsl": {
"h": 248.496,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.50599,
"c": 0.17003,
"h": 285
},
"luminance": 0.11831
}Semantic roles & 50–950 ramp
primary
#5F4FC0
secondary
#C7CE9D
accent
#D751C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83