#5F52F0#5F52F0
#5F52F0 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.227 H 279.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5F52F0 |
|---|---|
| RGB | rgb(95, 82, 240) |
| HSL | hsl(245, 84%, 63%) |
| HSV | hsv(245, 66%, 94%) |
| CMYK | cmyk(60.4%, 65.8%, 0%, 5.9%) |
| CIE-LAB | lab(45.30, 49.42, -77.77) |
| CIE-LCH | lch(45.30, 92.14, 302.44°) |
| OKLab | oklab(54.93% 0.0376 -0.2241) |
| OKLCH | oklch(54.93% 0.227 279.5) |
| XYZ | xyz(23.4598, 14.7570, 84.0333) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.25
Electric Blue
#0652FF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F52F0 #E3F052
analogous
#5294F0 #5F52F0 #AE52F0
triadic
#5F52F0 #F05F52 #52F05F
tetradic
#5F52F0 #F05294 #E3F052 #52F0AE
square
#5F52F0 #F05294 #E3F052 #52F0AE
split-complementary
#5F52F0 #F0AE52 #94F052
monochromatic
#1E10B8 #2B1AEB #5F52F0 #938AF5 #C7C3FA
Accessibility & contrast
On white
5.31
#5F52F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#5F52F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F52F0
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F52F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F52F0 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0065ED
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f52f0; /* rgb */ color: rgb(95, 82, 240); /* oklch */ color: oklch(54.9% 0.227 279.5);
Tailwind
colors: {
custom: {
50: '#9b84f6',
500: '#5f52f0',
950: '#000000',
},
}SCSS
$custom: #5f52f0; $custom-light: #9b84f6; $custom-dark: #000000;
JSON
{
"hex": "#5f52f0",
"rgb": {
"r": 95,
"g": 82,
"b": 240
},
"hsl": {
"h": 244.937,
"s": 84.043,
"l": 63.137
},
"oklch": {
"l": 0.54929,
"c": 0.2272,
"h": 279.5
},
"luminance": 0.14759
}Semantic roles & 50–950 ramp
primary
#5F52F0
secondary
#E7EBB3
accent
#E005CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85