#5F4CD4#5F4CD4
#5F4CD4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.7% C 0.200 H 283.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD4 |
|---|---|
| RGB | rgb(95, 76, 212) |
| HSL | hsl(248, 61%, 56%) |
| HSV | hsv(248, 64%, 83%) |
| CMYK | cmyk(55.2%, 64.2%, 0%, 16.9%) |
| CIE-LAB | lab(41.77, 44.27, -67.62) |
| CIE-LCH | lch(41.77, 80.82, 303.21°) |
| OKLab | oklab(51.68% 0.0458 -0.1943) |
| OKLCH | oklch(51.68% 0.2 283.3) |
| XYZ | xyz(19.1838, 12.3541, 63.6483) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.54
Purpleish Blue
#6140EF
ΔE00 4.06
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD4 #C1D44C
analogous
#4C7DD4 #5F4CD4 #A34CD4
triadic
#5F4CD4 #D45F4C #4CD45F
tetradic
#5F4CD4 #D44C7D #C1D44C #4CD4A3
square
#5F4CD4 #D44C7D #C1D44C #4CD4A3
split-complementary
#5F4CD4 #D4A34C #7DD44C
monochromatic
#2E2086 #3F2CB7 #5F4CD4 #8B7DE0 #B7AFEC
Accessibility & contrast
On white
6.05
#5F4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5F4CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD4
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD4 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#276E89
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4cd4; /* rgb */ color: rgb(95, 76, 212); /* oklch */ color: oklch(51.7% 0.200 283.3);
Tailwind
colors: {
custom: {
50: '#977fe2',
500: '#5f4cd4',
950: '#000000',
},
}SCSS
$custom: #5f4cd4; $custom-light: #977fe2; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd4",
"rgb": {
"r": 95,
"g": 76,
"b": 212
},
"hsl": {
"h": 248.382,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.51676,
"c": 0.19961,
"h": 283.3
},
"luminance": 0.12355
}Semantic roles & 50–950 ramp
primary
#5F4CD4
secondary
#D2DAA2
accent
#E443CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84