#2552B7#2552B7
#2552B7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.168 H 263.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2552B7 |
|---|---|
| RGB | rgb(37, 82, 183) |
| HSL | hsl(222, 66%, 43%) |
| HSV | hsv(222, 80%, 72%) |
| CMYK | cmyk(79.8%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(37.56, 22.20, -57.77) |
| CIE-LCH | lch(37.56, 61.88, 291.02°) |
| OKLab | oklab(46.96% -0.0196 -0.1667) |
| OKLCH | oklch(46.96% 0.168 263.3) |
| XYZ | xyz(12.3244, 9.8453, 46.0414) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.32
Cobalt
#0047AB
ΔE00 3.93
Denim
#1560BD
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552B7 #B78A25
analogous
#259BB7 #2552B7 #4125B7
triadic
#2552B7 #B72552 #52B725
tetradic
#2552B7 #B7259B #B78A25 #25B741
square
#2552B7 #B7259B #B78A25 #25B741
split-complementary
#2552B7 #B74125 #9BB725
monochromatic
#102451 #1B3B84 #2552B7 #416FD9 #7496E3
Accessibility & contrast
On white
7.07
#2552B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2552B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2552B7
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552B7 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2552b7; /* rgb */ color: rgb(37, 82, 183); /* oklch */ color: oklch(47.0% 0.168 263.3);
Tailwind
colors: {
custom: {
50: '#7782cd',
500: '#2552b7',
950: '#000000',
},
}SCSS
$custom: #2552b7; $custom-light: #7782cd; $custom-dark: #000000;
JSON
{
"hex": "#2552b7",
"rgb": {
"r": 37,
"g": 82,
"b": 183
},
"hsl": {
"h": 221.507,
"s": 66.364,
"l": 43.137
},
"oklch": {
"l": 0.46962,
"c": 0.16782,
"h": 263.3
},
"luminance": 0.09847
}Semantic roles & 50–950 ramp
primary
#2552B7
secondary
#CAAE6E
accent
#B53FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A14
muted
#7C7C82