#5F4BCD#5F4BCD
#5F4BCD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 51.0% C 0.192 H 284.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4BCD |
|---|---|
| RGB | rgb(95, 75, 205) |
| HSL | hsl(249, 57%, 55%) |
| HSV | hsv(249, 63%, 80%) |
| CMYK | cmyk(53.7%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(41.01, 42.72, -64.83) |
| CIE-LCH | lch(41.01, 77.64, 303.39°) |
| OKLab | oklab(50.95% 0.0474 -0.1861) |
| OKLCH | oklch(50.95% 0.192 284.3) |
| XYZ | xyz(18.2515, 11.8718, 59.0755) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.86
Iris
#6258C4
ΔE00 3.99
Blue With A Hint Of Purple
#533CC6
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.54
Blurple
#5539CC
ΔE00 4.64
Purpleish Blue
#6140EF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4BCD #B9CD4B
analogous
#4B78CD #5F4BCD #A04BCD
triadic
#5F4BCD #CD5F4B #4BCD5F
tetradic
#5F4BCD #CD4B78 #B9CD4B #4BCDA0
square
#5F4BCD #CD4B78 #B9CD4B #4BCDA0
split-complementary
#5F4BCD #CDA04B #78CD4B
monochromatic
#30227B #4330AB #5F4BCD #8A7BDA #B4ABE8
Accessibility & contrast
On white
6.22
#5F4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5F4BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4BCD
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4BCD | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#306B85
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f4bcd; /* rgb */ color: rgb(95, 75, 205); /* oklch */ color: oklch(51.0% 0.192 284.3);
Tailwind
colors: {
custom: {
50: '#967edd',
500: '#5f4bcd',
950: '#000000',
},
}SCSS
$custom: #5f4bcd; $custom-light: #967edd; $custom-dark: #000000;
JSON
{
"hex": "#5f4bcd",
"rgb": {
"r": 95,
"g": 75,
"b": 205
},
"hsl": {
"h": 249.231,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.50952,
"c": 0.19204,
"h": 284.3
},
"luminance": 0.11873
}Semantic roles & 50–950 ramp
primary
#5F4BCD
secondary
#CDD59F
accent
#E048C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83