#5F4FDD#5F4FDD
#5F4FDD is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.207 H 281.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FDD |
|---|---|
| RGB | rgb(95, 79, 221) |
| HSL | hsl(247, 68%, 59%) |
| HSV | hsv(247, 64%, 87%) |
| CMYK | cmyk(57%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(43.13, 45.29, -70.56) |
| CIE-LCH | lch(43.13, 83.84, 302.70°) |
| OKLab | oklab(52.88% 0.0422 -0.2029) |
| OKLCH | oklch(52.88% 0.207 281.7) |
| XYZ | xyz(20.5624, 13.2440, 69.8654) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.86
Warm Blue
#4B57DB
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.09
Iris
#6258C4
ΔE00 4.26
Dark Periwinkle
#665FD1
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FDD #CDDD4F
analogous
#4F86DD #5F4FDD #A64FDD
triadic
#5F4FDD #DD5F4F #4FDD5F
tetradic
#5F4FDD #DD4F86 #CDDD4F #4FDDA6
square
#5F4FDD #DD4F86 #CDDD4F #4FDDA6
split-complementary
#5F4FDD #DDA64F #86DD4F
monochromatic
#2A1D95 #3927C8 #5F4FDD #8E82E7 #BCB6F1
Accessibility & contrast
On white
5.76
#5F4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5F4FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FDD
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FDD | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#17738F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5f4fdd; /* rgb */ color: rgb(95, 79, 221); /* oklch */ color: oklch(52.9% 0.207 281.7);
Tailwind
colors: {
custom: {
50: '#9881e9',
500: '#5f4fdd',
950: '#000000',
},
}SCSS
$custom: #5f4fdd; $custom-light: #9881e9; $custom-dark: #000000;
JSON
{
"hex": "#5f4fdd",
"rgb": {
"r": 95,
"g": 79,
"b": 221
},
"hsl": {
"h": 246.761,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.52881,
"c": 0.20726,
"h": 281.7
},
"luminance": 0.13245
}Semantic roles & 50–950 ramp
primary
#5F4FDD
secondary
#DAE0A8
accent
#EA3DD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84