#5F4FE7#5F4FE7
#5F4FE7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.220 H 280.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FE7 |
|---|---|
| RGB | rgb(95, 79, 231) |
| HSL | hsl(246, 76%, 61%) |
| HSV | hsv(246, 66%, 91%) |
| CMYK | cmyk(58.9%, 65.8%, 0%, 9.4%) |
| CIE-LAB | lab(43.93, 48.35, -74.92) |
| CIE-LCH | lch(43.93, 89.17, 302.84°) |
| OKLab | oklab(53.71% 0.0411 -0.2157) |
| OKLCH | oklch(53.71% 0.22 280.8) |
| XYZ | xyz(21.9346, 13.7928, 77.0922) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.47
Warm Blue
#4B57DB
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.64
Slate Blue
#6A5ACD
ΔE00 4.66
Bluish Purple
#703BE7
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FE7 #D7E74F
analogous
#4F8BE7 #5F4FE7 #AB4FE7
triadic
#5F4FE7 #E75F4F #4FE75F
tetradic
#5F4FE7 #E74F8B #D7E74F #4FE7AB
square
#5F4FE7 #E74F8B #D7E74F #4FE7AB
split-complementary
#5F4FE7 #E7AB4F #8BE74F
monochromatic
#2617A5 #321EDB #5F4FE7 #9085EE #C1BBF6
Accessibility & contrast
On white
5.59
#5F4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5F4FE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FE7
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FE7 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f4fe7; /* rgb */ color: rgb(95, 79, 231); /* oklch */ color: oklch(53.7% 0.220 280.8);
Tailwind
colors: {
custom: {
50: '#9a82f0',
500: '#5f4fe7',
950: '#000000',
},
}SCSS
$custom: #5f4fe7; $custom-light: #9a82f0; $custom-dark: #000000;
JSON
{
"hex": "#5f4fe7",
"rgb": {
"r": 95,
"g": 79,
"b": 231
},
"hsl": {
"h": 246.316,
"s": 76,
"l": 60.784
},
"oklch": {
"l": 0.53714,
"c": 0.2196,
"h": 280.8
},
"luminance": 0.13794
}Semantic roles & 50–950 ramp
primary
#5F4FE7
secondary
#E0E6AC
accent
#D80DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85