#2552B0#2552B0
#2552B0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.158 H 262.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2552B0 |
|---|---|
| RGB | rgb(37, 82, 176) |
| HSL | hsl(221, 65%, 42%) |
| HSV | hsv(221, 79%, 69%) |
| CMYK | cmyk(79%, 53.4%, 0%, 31%) |
| CIE-LAB | lab(37.04, 19.48, -54.48) |
| CIE-LCH | lch(37.04, 57.86, 289.68°) |
| OKLab | oklab(46.4% -0.0202 -0.157) |
| OKLCH | oklch(46.4% 0.158 262.7) |
| XYZ | xyz(11.6139, 9.5611, 42.2993) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.49
Cobalt
#0047AB
ΔE00 3.63
Dusk Blue
#26538D
ΔE00 4.81
Denim Blue
#3B5B92
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.20
Denim
#1560BD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2552B0 #B08325
analogous
#2597B0 #2552B0 #3E25B0
triadic
#2552B0 #B02552 #52B025
tetradic
#2552B0 #B02597 #B08325 #25B03E
square
#2552B0 #B02597 #B08325 #25B03E
split-complementary
#2552B0 #B03E25 #97B025
monochromatic
#10234B #1A3A7D #2552B0 #3C6ED6 #6F94E1
Accessibility & contrast
On white
7.21
#2552B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2552B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2552B0
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2552B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2552B0 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#095EB3
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2552b0; /* rgb */ color: rgb(37, 82, 176); /* oklch */ color: oklch(46.4% 0.158 262.7);
Tailwind
colors: {
custom: {
50: '#7682c8',
500: '#2552b0',
950: '#000000',
},
}SCSS
$custom: #2552b0; $custom-light: #7682c8; $custom-dark: #000000;
JSON
{
"hex": "#2552b0",
"rgb": {
"r": 37,
"g": 82,
"b": 176
},
"hsl": {
"h": 220.576,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.46403,
"c": 0.15831,
"h": 262.7
},
"luminance": 0.09562
}Semantic roles & 50–950 ramp
primary
#2552B0
secondary
#C7A96A
accent
#B240E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82