#2552E2#2552E2
#2552E2 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.223 H 265.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2552E2 |
|---|---|
| RGB | rgb(37, 82, 226) |
| HSL | hsl(226, 77%, 52%) |
| HSV | hsv(226, 84%, 89%) |
| CMYK | cmyk(83.6%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(41.08, 38.41, -76.88) |
| CIE-LCH | lch(41.08, 85.94, 296.55°) |
| OKLab | oklab(50.68% -0.0184 -0.2227) |
| OKLCH | oklch(50.68% 0.223 265.3) |
| XYZ | xyz(17.5029, 11.9167, 73.3144) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 3.30
Warm Blue
#4B57DB
ΔE00 3.36
Azul
#1D5DEC
ΔE00 3.76
Blue (survey)
#0343DF
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 5.85
Sapphire
#0F52BA
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552E2 #E2B525
analogous
#25B1E2 #2552E2 #5725E2
triadic
#2552E2 #E22552 #52E225
tetradic
#2552E2 #E225B1 #E2B525 #25E257
square
#2552E2 #E225B1 #E2B525 #25E257
split-complementary
#2552E2 #E25725 #B1E225
monochromatic
#112A7C #183CB2 #2552E2 #5B7DE9 #91A8F0
Accessibility & contrast
On white
6.21
#2552E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2552E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2552E2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552E2 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2552e2; /* rgb */ color: rgb(37, 82, 226); /* oklch */ color: oklch(50.7% 0.223 265.3);
Tailwind
colors: {
custom: {
50: '#8282ec',
500: '#2552e2',
950: '#000000',
},
}SCSS
$custom: #2552e2; $custom-light: #8282ec; $custom-dark: #000000;
JSON
{
"hex": "#2552e2",
"rgb": {
"r": 37,
"g": 82,
"b": 226
},
"hsl": {
"h": 225.714,
"s": 76.518,
"l": 51.569
},
"oklch": {
"l": 0.50681,
"c": 0.22347,
"h": 265.3
},
"luminance": 0.11919
}Semantic roles & 50–950 ramp
primary
#2552E2
secondary
#DBC788
accent
#C635F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84