#2552B9#2552B9
#2552B9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.171 H 263.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2552B9 |
|---|---|
| RGB | rgb(37, 82, 185) |
| HSL | hsl(222, 67%, 44%) |
| HSV | hsv(222, 80%, 73%) |
| CMYK | cmyk(80%, 55.7%, 0%, 27.5%) |
| CIE-LAB | lab(37.72, 22.97, -58.69) |
| CIE-LCH | lch(37.72, 63.03, 291.37°) |
| OKLab | oklab(47.12% -0.0195 -0.1694) |
| OKLCH | oklch(47.12% 0.171 263.4) |
| XYZ | xyz(12.5341, 9.9292, 47.1455) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.39
Cobalt
#0047AB
ΔE00 4.06
Denim
#1560BD
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.78
Denim Blue
#3B5B92
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552B9 #B98C25
analogous
#259CB9 #2552B9 #4225B9
triadic
#2552B9 #B92552 #52B925
tetradic
#2552B9 #B9259C #B98C25 #25B942
square
#2552B9 #B9259C #B98C25 #25B942
split-complementary
#2552B9 #B94225 #9CB925
monochromatic
#112553 #1B3B86 #2552B9 #4270D9 #7597E3
Accessibility & contrast
On white
7.03
#2552B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2552B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2552B9
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552B9 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2552b9; /* rgb */ color: rgb(37, 82, 185); /* oklch */ color: oklch(47.1% 0.171 263.4);
Tailwind
colors: {
custom: {
50: '#7882cf',
500: '#2552b9',
950: '#000000',
},
}SCSS
$custom: #2552b9; $custom-light: #7882cf; $custom-dark: #000000;
JSON
{
"hex": "#2552b9",
"rgb": {
"r": 37,
"g": 82,
"b": 185
},
"hsl": {
"h": 221.757,
"s": 66.667,
"l": 43.529
},
"oklch": {
"l": 0.47124,
"c": 0.17051,
"h": 263.4
},
"luminance": 0.09931
}Semantic roles & 50–950 ramp
primary
#2552B9
secondary
#CBAF6F
accent
#B53EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82