#2549B2#2549B2
#2549B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.172 H 265.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2549B2 |
|---|---|
| RGB | rgb(37, 73, 178) |
| HSL | hsl(225, 66%, 42%) |
| HSV | hsv(225, 79%, 70%) |
| CMYK | cmyk(79.2%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(34.74, 26.25, -59.40) |
| CIE-LCH | lch(34.74, 64.94, 293.84°) |
| OKLab | oklab(44.72% -0.0138 -0.1716) |
| OKLCH | oklch(44.72% 0.172 265.4) |
| XYZ | xyz(11.1785, 8.3715, 43.1375) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.53
Sapphire
#0F52BA
ΔE00 3.73
Blue Blue
#2242C7
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 5.29
Cobalt (survey)
#1E488F
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2549B2 #B28E25
analogous
#258FB2 #2549B2 #4825B2
triadic
#2549B2 #B22549 #49B225
tetradic
#2549B2 #B2258F #B28E25 #25B248
square
#2549B2 #B2258F #B28E25 #25B248
split-complementary
#2549B2 #B24825 #8FB225
monochromatic
#101F4D #1A347F #2549B2 #3D65D7 #708DE1
Accessibility & contrast
On white
7.85
#2549B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2549B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2549B2
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2549B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2549B2 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2549b2; /* rgb */ color: rgb(37, 73, 178); /* oklch */ color: oklch(44.7% 0.172 265.4);
Tailwind
colors: {
custom: {
50: '#777bca',
500: '#2549b2',
950: '#000000',
},
}SCSS
$custom: #2549b2; $custom-light: #777bca; $custom-dark: #000000;
JSON
{
"hex": "#2549b2",
"rgb": {
"r": 37,
"g": 73,
"b": 178
},
"hsl": {
"h": 224.681,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.44719,
"c": 0.17219,
"h": 265.4
},
"luminance": 0.08373
}Semantic roles & 50–950 ramp
primary
#2549B2
secondary
#C8B06B
accent
#BD3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82