#5252B2#5252B2
#5252B2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.149 H 279.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5252B2 |
|---|---|
| RGB | rgb(82, 82, 178) |
| HSL | hsl(240, 38%, 51%) |
| HSV | hsv(240, 54%, 70%) |
| CMYK | cmyk(53.9%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(39.65, 27.48, -51.32) |
| CIE-LCH | lch(39.65, 58.22, 298.16°) |
| OKLab | oklab(49.07% 0.0243 -0.1467) |
| OKLCH | oklch(49.07% 0.149 279.4) |
| XYZ | xyz(14.5303, 11.0419, 43.4765) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.05
Ocean Blue
#4F42B5
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.03
Blueberry
#464196
ΔE00 6.40
Light Indigo
#6D5ACF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5252B2 #B2B252
analogous
#5282B2 #5252B2 #8252B2
triadic
#5252B2 #B25252 #52B252
tetradic
#5252B2 #B25282 #B2B252 #52B282
square
#5252B2 #B25282 #B2B252 #52B282
split-complementary
#5252B2 #B28252 #82B252
monochromatic
#2A2A5F #3D3D8A #5252B2 #7C7CC5 #A7A7D8
Accessibility & contrast
On white
6.54
#5252B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#5252B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5252B2
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5252B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5252B2 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#075AB0
Tritanopia (blue-blind)
#27687A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5252b2; /* rgb */ color: rgb(82, 82, 178); /* oklch */ color: oklch(49.1% 0.149 279.4);
Tailwind
colors: {
custom: {
50: '#8a82ca',
500: '#5252b2',
950: '#000000',
},
}SCSS
$custom: #5252b2; $custom-light: #8a82ca; $custom-dark: #000000;
JSON
{
"hex": "#5252b2",
"rgb": {
"r": 82,
"g": 82,
"b": 178
},
"hsl": {
"h": 240,
"s": 38.4,
"l": 50.98
},
"oklch": {
"l": 0.49069,
"c": 0.14873,
"h": 279.4
},
"luminance": 0.11043
}Semantic roles & 50–950 ramp
primary
#5252B2
secondary
#C5C59B
accent
#CE59CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82