#5252F3#5252F3
#5252F3 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.234 H 275.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5252F3 |
|---|---|
| RGB | rgb(82, 82, 243) |
| HSL | hsl(240, 87%, 64%) |
| HSV | hsv(240, 66%, 95%) |
| CMYK | cmyk(66.3%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(44.66, 48.63, -80.54) |
| CIE-LCH | lch(44.66, 94.08, 301.12°) |
| OKLab | oklab(54.31% 0.0217 -0.2325) |
| OKLCH | oklch(54.31% 0.234 275.3) |
| XYZ | xyz(22.6693, 14.2975, 86.3417) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.62
Electric Blue
#0652FF
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 5.91
Light Indigo
#6D5ACF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5252F3 #F3F352
analogous
#52A2F3 #5252F3 #A252F3
triadic
#5252F3 #F35252 #52F352
tetradic
#5252F3 #F352A2 #F3F352 #52F3A2
square
#5252F3 #F352A2 #F3F352 #52F3A2
split-complementary
#5252F3 #F3A252 #A2F352
monochromatic
#0D0DBD #1919EF #5252F3 #8B8BF7 #C4C4FB
Accessibility & contrast
On white
5.44
#5252F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#5252F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5252F3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5252F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5252F3 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F8
Deuteranopia (green-blind)
#0062F0
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5252f3; /* rgb */ color: rgb(82, 82, 243); /* oklch */ color: oklch(54.3% 0.234 275.3);
Tailwind
colors: {
custom: {
50: '#9583f8',
500: '#5252f3',
950: '#000000',
},
}SCSS
$custom: #5252f3; $custom-light: #9583f8; $custom-dark: #000000;
JSON
{
"hex": "#5252f3",
"rgb": {
"r": 82,
"g": 82,
"b": 243
},
"hsl": {
"h": 240,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.54311,
"c": 0.23355,
"h": 275.3
},
"luminance": 0.14299
}Semantic roles & 50–950 ramp
primary
#5252F3
secondary
#EDEDB4
accent
#E402E4
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85