#2548B2#2548B2
#2548B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.173 H 265.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2548B2 |
|---|---|
| RGB | rgb(37, 72, 178) |
| HSL | hsl(225, 66%, 42%) |
| HSV | hsv(225, 79%, 70%) |
| CMYK | cmyk(79.2%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.48, 26.91, -59.83) |
| CIE-LCH | lch(34.48, 65.60, 294.22°) |
| OKLab | oklab(44.52% -0.0132 -0.1729) |
| OKLCH | oklch(44.52% 0.173 265.6) |
| XYZ | xyz(11.1134, 8.2411, 43.1158) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Blue Blue
#2242C7
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548B2 #B28F25
analogous
#258FB2 #2548B2 #4825B2
triadic
#2548B2 #B22548 #48B225
tetradic
#2548B2 #B2258F #B28F25 #25B248
square
#2548B2 #B2258F #B28F25 #25B248
split-complementary
#2548B2 #B24825 #8FB225
monochromatic
#101F4D #1A347F #2548B2 #3D63D7 #708CE1
Accessibility & contrast
On white
7.93
#2548B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2548B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548B2
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548B2 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2548b2; /* rgb */ color: rgb(37, 72, 178); /* oklch */ color: oklch(44.5% 0.173 265.6);
Tailwind
colors: {
custom: {
50: '#777aca',
500: '#2548b2',
950: '#000000',
},
}SCSS
$custom: #2548b2; $custom-light: #777aca; $custom-dark: #000000;
JSON
{
"hex": "#2548b2",
"rgb": {
"r": 37,
"g": 72,
"b": 178
},
"hsl": {
"h": 225.106,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.44521,
"c": 0.17341,
"h": 265.6
},
"luminance": 0.08242
}Semantic roles & 50–950 ramp
primary
#2548B2
secondary
#C8B16B
accent
#BF3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82