#5F5CF7#5F5CF7
#5F5CF7 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.224 H 277.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CF7 |
|---|---|
| RGB | rgb(95, 92, 247) |
| HSL | hsl(241, 91%, 66%) |
| HSV | hsv(241, 63%, 97%) |
| CMYK | cmyk(61.5%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(48.01, 45.86, -77.26) |
| CIE-LCH | lch(48.01, 89.85, 300.70°) |
| OKLab | oklab(57.07% 0.029 -0.2225) |
| OKLCH | oklch(57.07% 0.224 277.4) |
| XYZ | xyz(25.3295, 16.8006, 89.8857) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.01
Warm Blue
#4B57DB
ΔE00 5.17
Mediumslateblue
#7B68EE
ΔE00 5.32
Light Indigo
#6D5ACF
ΔE00 5.75
Slate Blue
#6A5ACD
ΔE00 5.86
Electric Blue
#0652FF
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CF7 #F4F75C
analogous
#5CA7F7 #5F5CF7 #AD5CF7
triadic
#5F5CF7 #F75F5C #5CF75F
tetradic
#5F5CF7 #F75CA7 #F4F75C #5CF7AD
square
#5F5CF7 #F75CA7 #F4F75C #5CF7AD
split-complementary
#5F5CF7 #F7AD5C #A7F75C
monochromatic
#0E0ACE #2622F4 #5F5CF7 #9896FA #D2D1FD
Accessibility & contrast
On white
4.82
#5F5CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5F5CF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CF7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CF7 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006BF4
Tritanopia (blue-blind)
#0083A1
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f5cf7; /* rgb */ color: rgb(95, 92, 247); /* oklch */ color: oklch(57.1% 0.224 277.4);
Tailwind
colors: {
custom: {
50: '#9b8bfb',
500: '#5f5cf7',
950: '#000000',
},
}SCSS
$custom: #5f5cf7; $custom-light: #9b8bfb; $custom-dark: #000000;
JSON
{
"hex": "#5f5cf7",
"rgb": {
"r": 95,
"g": 92,
"b": 247
},
"hsl": {
"h": 241.161,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.57071,
"c": 0.22443,
"h": 277.4
},
"luminance": 0.16803
}Semantic roles & 50–950 ramp
primary
#5F5CF7
secondary
#F0F1BE
accent
#E600E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86