#5F4DBF#5F4DBF
#5F4DBF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.171 H 285.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DBF |
|---|---|
| RGB | rgb(95, 77, 191) |
| HSL | hsl(249, 47%, 53%) |
| HSV | hsv(249, 60%, 75%) |
| CMYK | cmyk(50.3%, 59.7%, 0%, 25.1%) |
| CIE-LAB | lab(40.41, 37.30, -57.67) |
| CIE-LCH | lch(40.41, 68.68, 302.90°) |
| OKLab | oklab(50.19% 0.0463 -0.165) |
| OKLCH | oklch(50.19% 0.171 285.7) |
| XYZ | xyz(16.7744, 11.5014, 50.6162) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.37
Bluey Purple
#6241C7
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.57
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DBF #ADBF4D
analogous
#4D74BF #5F4DBF #984DBF
triadic
#5F4DBF #BF5F4D #4DBF5F
tetradic
#5F4DBF #BF4D74 #ADBF4D #4DBF98
square
#5F4DBF #BF4D74 #ADBF4D #4DBF98
split-complementary
#5F4DBF #BF984D #74BF4D
monochromatic
#31276B #463798 #5F4DBF #877ACF #B0A7DF
Accessibility & contrast
On white
6.36
#5F4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5F4DBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DBF
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DBF | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#3C677E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5f4dbf; /* rgb */ color: rgb(95, 77, 191); /* oklch */ color: oklch(50.2% 0.171 285.7);
Tailwind
colors: {
custom: {
50: '#947fd3',
500: '#5f4dbf',
950: '#000000',
},
}SCSS
$custom: #5f4dbf; $custom-light: #947fd3; $custom-dark: #000000;
JSON
{
"hex": "#5f4dbf",
"rgb": {
"r": 95,
"g": 77,
"b": 191
},
"hsl": {
"h": 249.474,
"s": 47.107,
"l": 52.549
},
"oklch": {
"l": 0.50186,
"c": 0.1714,
"h": 285.7
},
"luminance": 0.11502
}Semantic roles & 50–950 ramp
primary
#5F4DBF
secondary
#C5CD9B
accent
#D751C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83