#5252E3#5252E3
#5252E3 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.214 H 276.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5252E3 |
|---|---|
| RGB | rgb(82, 82, 227) |
| HSL | hsl(240, 72%, 61%) |
| HSV | hsv(240, 64%, 89%) |
| CMYK | cmyk(63.9%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(43.32, 43.47, -73.70) |
| CIE-LCH | lch(43.32, 85.56, 300.53°) |
| OKLab | oklab(52.93% 0.0232 -0.2125) |
| OKLCH | oklch(52.93% 0.214 276.2) |
| XYZ | xyz(20.3576, 13.3728, 74.1665) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.20
Electric Blue
#0652FF
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.87
Iris
#6258C4
ΔE00 4.87
Dark Periwinkle
#665FD1
ΔE00 4.95
Purpleish Blue
#6140EF
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5252E3 #E3E352
analogous
#529AE3 #5252E3 #9A52E3
triadic
#5252E3 #E35252 #52E352
tetradic
#5252E3 #E3529A #E3E352 #52E39A
square
#5252E3 #E3529A #E3E352 #52E39A
split-complementary
#5252E3 #E39A52 #9AE352
monochromatic
#1A1AA1 #2323D5 #5252E3 #8787EC #BBBBF4
Accessibility & contrast
On white
5.71
#5252E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5252E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5252E3
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5252E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5252E3 | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5252e3; /* rgb */ color: rgb(82, 82, 227); /* oklch */ color: oklch(52.9% 0.214 276.2);
Tailwind
colors: {
custom: {
50: '#9283ed',
500: '#5252e3',
950: '#000000',
},
}SCSS
$custom: #5252e3; $custom-light: #9283ed; $custom-dark: #000000;
JSON
{
"hex": "#5252e3",
"rgb": {
"r": 82,
"g": 82,
"b": 227
},
"hsl": {
"h": 240,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.52928,
"c": 0.21376,
"h": 276.2
},
"luminance": 0.13374
}Semantic roles & 50–950 ramp
primary
#5252E3
secondary
#E4E4AD
accent
#D411D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84