#5F52F3#5F52F3
#5F52F3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.231 H 279.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F52F3 |
|---|---|
| RGB | rgb(95, 82, 243) |
| HSL | hsl(245, 87%, 64%) |
| HSV | hsv(245, 66%, 95%) |
| CMYK | cmyk(60.9%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(45.55, 50.34, -79.04) |
| CIE-LCH | lch(45.55, 93.71, 302.49°) |
| OKLab | oklab(55.18% 0.0372 -0.2278) |
| OKLCH | oklch(55.18% 0.231 279.3) |
| XYZ | xyz(23.9091, 14.9367, 86.3998) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 5.48
Electric Blue
#0652FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F52F3 #E6F352
analogous
#5295F3 #5F52F3 #AF52F3
triadic
#5F52F3 #F35F52 #52F35F
tetradic
#5F52F3 #F35295 #E6F352 #52F3AF
square
#5F52F3 #F35295 #E6F352 #52F3AF
split-complementary
#5F52F3 #F3AF52 #95F352
monochromatic
#1B0DBD #2A19EF #5F52F3 #948BF7 #C9C4FB
Accessibility & contrast
On white
5.27
#5F52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5F52F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F52F3
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F52F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F52F3 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0065F0
Tritanopia (blue-blind)
#007C9C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f52f3; /* rgb */ color: rgb(95, 82, 243); /* oklch */ color: oklch(55.2% 0.231 279.3);
Tailwind
colors: {
custom: {
50: '#9b84f8',
500: '#5f52f3',
950: '#000000',
},
}SCSS
$custom: #5f52f3; $custom-light: #9b84f8; $custom-dark: #000000;
JSON
{
"hex": "#5f52f3",
"rgb": {
"r": 95,
"g": 82,
"b": 243
},
"hsl": {
"h": 244.845,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.55184,
"c": 0.23084,
"h": 279.3
},
"luminance": 0.14939
}Semantic roles & 50–950 ramp
primary
#5F52F3
secondary
#E8EDB4
accent
#E402D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85