#2552BA#2552BA
#2552BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.172 H 263.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2552BA |
|---|---|
| RGB | rgb(37, 82, 186) |
| HSL | hsl(222, 67%, 44%) |
| HSV | hsv(222, 80%, 73%) |
| CMYK | cmyk(80.1%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(37.79, 23.36, -59.16) |
| CIE-LCH | lch(37.79, 63.60, 291.54°) |
| OKLab | oklab(47.21% -0.0194 -0.1708) |
| OKLCH | oklch(47.21% 0.172 263.5) |
| XYZ | xyz(12.6400, 9.9716, 47.7034) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.45
Cobalt
#0047AB
ΔE00 4.13
Denim
#1560BD
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 5.70
Denim Blue
#3B5B92
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552BA #BA8D25
analogous
#259CBA #2552BA #4225BA
triadic
#2552BA #BA2552 #52BA25
tetradic
#2552BA #BA259C #BA8D25 #25BA42
square
#2552BA #BA259C #BA8D25 #25BA42
split-complementary
#2552BA #BA4225 #9CBA25
monochromatic
#112554 #1B3B87 #2552BA #4370DA #7697E4
Accessibility & contrast
On white
7.01
#2552BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2552BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2552BA
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552BA | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2552ba; /* rgb */ color: rgb(37, 82, 186); /* oklch */ color: oklch(47.2% 0.172 263.5);
Tailwind
colors: {
custom: {
50: '#7882d0',
500: '#2552ba',
950: '#000000',
},
}SCSS
$custom: #2552ba; $custom-light: #7882d0; $custom-dark: #000000;
JSON
{
"hex": "#2552ba",
"rgb": {
"r": 37,
"g": 82,
"b": 186
},
"hsl": {
"h": 221.879,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.47206,
"c": 0.17187,
"h": 263.5
},
"luminance": 0.09973
}Semantic roles & 50–950 ramp
primary
#2552BA
secondary
#CBAF70
accent
#B63EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82