#5F5DF7#5F5DF7
#5F5DF7 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.223 H 277.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DF7 |
|---|---|
| RGB | rgb(95, 93, 247) |
| HSL | hsl(241, 91%, 67%) |
| HSV | hsv(241, 62%, 97%) |
| CMYK | cmyk(61.5%, 62.3%, 0%, 3.1%) |
| CIE-LAB | lab(48.23, 45.28, -76.90) |
| CIE-LCH | lch(48.23, 89.24, 300.49°) |
| OKLab | oklab(57.23% 0.0282 -0.2215) |
| OKLCH | oklch(57.23% 0.223 277.3) |
| XYZ | xyz(25.4167, 16.9750, 89.9148) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.01
Mediumslateblue
#7B68EE
ΔE00 5.16
Warm Blue
#4B57DB
ΔE00 5.27
Light Indigo
#6D5ACF
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 5.94
Electric Blue
#0652FF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DF7 #F5F75D
analogous
#5DA8F7 #5F5DF7 #AC5DF7
triadic
#5F5DF7 #F75F5D #5DF75F
tetradic
#5F5DF7 #F75DA8 #F5F75D #5DF7AC
square
#5F5DF7 #F75DA8 #F5F75D #5DF7AC
split-complementary
#5F5DF7 #F7AC5D #A8F75D
monochromatic
#0D0ACF #2523F4 #5F5DF7 #9997FA #D2D2FD
Accessibility & contrast
On white
4.78
#5F5DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5F5DF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DF7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DF7 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006CF4
Tritanopia (blue-blind)
#0084A2
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f5df7; /* rgb */ color: rgb(95, 93, 247); /* oklch */ color: oklch(57.2% 0.223 277.3);
Tailwind
colors: {
custom: {
50: '#9b8bfb',
500: '#5f5df7',
950: '#000000',
},
}SCSS
$custom: #5f5df7; $custom-light: #9b8bfb; $custom-dark: #000000;
JSON
{
"hex": "#5f5df7",
"rgb": {
"r": 95,
"g": 93,
"b": 247
},
"hsl": {
"h": 240.779,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.57232,
"c": 0.22328,
"h": 277.3
},
"luminance": 0.16977
}Semantic roles & 50–950 ramp
primary
#5F5DF7
secondary
#F0F1BF
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86