#5D52F0#5D52F0
#5D52F0 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.228 H 278.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5D52F0 |
|---|---|
| RGB | rgb(93, 82, 240) |
| HSL | hsl(244, 84%, 63%) |
| HSV | hsv(244, 66%, 94%) |
| CMYK | cmyk(61.2%, 65.8%, 0%, 5.9%) |
| CIE-LAB | lab(45.15, 49.13, -78.01) |
| CIE-LCH | lch(45.15, 92.19, 302.20°) |
| OKLab | oklab(54.79% 0.0351 -0.2248) |
| OKLCH | oklch(54.79% 0.228 278.9) |
| XYZ | xyz(23.2546, 14.6512, 84.0237) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.22
Purpleish Blue
#6140EF
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.27
Electric Blue
#0652FF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D52F0 #E5F052
analogous
#5296F0 #5D52F0 #AC52F0
triadic
#5D52F0 #F05D52 #52F05D
tetradic
#5D52F0 #F05296 #E5F052 #52F0AC
square
#5D52F0 #F05296 #E5F052 #52F0AC
split-complementary
#5D52F0 #F0AC52 #96F052
monochromatic
#1C10B8 #281AEB #5D52F0 #928AF5 #C6C3FA
Accessibility & contrast
On white
5.34
#5D52F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5D52F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D52F0
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D52F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D52F0 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F5
Deuteranopia (green-blind)
#0064ED
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5d52f0; /* rgb */ color: rgb(93, 82, 240); /* oklch */ color: oklch(54.8% 0.228 278.9);
Tailwind
colors: {
custom: {
50: '#9a84f6',
500: '#5d52f0',
950: '#000000',
},
}SCSS
$custom: #5d52f0; $custom-light: #9a84f6; $custom-dark: #000000;
JSON
{
"hex": "#5d52f0",
"rgb": {
"r": 93,
"g": 82,
"b": 240
},
"hsl": {
"h": 244.177,
"s": 84.043,
"l": 63.137
},
"oklch": {
"l": 0.54785,
"c": 0.22757,
"h": 278.9
},
"luminance": 0.14653
}Semantic roles & 50–950 ramp
primary
#5D52F0
secondary
#E7EBB3
accent
#E005D1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85