#5252BB#5252BB
#5252BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.161 H 278.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5252BB |
|---|---|
| RGB | rgb(82, 82, 187) |
| HSL | hsl(240, 44%, 53%) |
| HSV | hsv(240, 56%, 73%) |
| CMYK | cmyk(56.1%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.27, 30.41, -55.61) |
| CIE-LCH | lch(40.27, 63.38, 298.67°) |
| OKLab | oklab(49.73% 0.0246 -0.1593) |
| OKLCH | oklch(49.73% 0.161 278.8) |
| XYZ | xyz(15.4638, 11.4153, 48.3926) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.34
Warm Blue
#4B57DB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5252BB #BBBB52
analogous
#5286BB #5252BB #8652BB
triadic
#5252BB #BB5252 #52BB52
tetradic
#5252BB #BB5286 #BBBB52 #52BB86
square
#5252BB #BB5286 #BBBB52 #52BB86
split-complementary
#5252BB #BB8652 #86BB52
monochromatic
#292969 #3B3B95 #5252BB #7E7ECC #AAAADE
Accessibility & contrast
On white
6.40
#5252BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5252BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5252BB
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5252BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5252BB | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#1A6A7E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5252bb; /* rgb */ color: rgb(82, 82, 187); /* oklch */ color: oklch(49.7% 0.161 278.8);
Tailwind
colors: {
custom: {
50: '#8c82d0',
500: '#5252bb',
950: '#000000',
},
}SCSS
$custom: #5252bb; $custom-light: #8c82d0; $custom-dark: #000000;
JSON
{
"hex": "#5252bb",
"rgb": {
"r": 82,
"g": 82,
"b": 187
},
"hsl": {
"h": 240,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.49729,
"c": 0.16123,
"h": 278.8
},
"luminance": 0.11416
}Semantic roles & 50–950 ramp
primary
#5252BB
secondary
#CBCB9E
accent
#D354D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0A14
muted
#7E7C82