#2548B1#2548B1
#2548B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.172 H 265.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2548B1 |
|---|---|
| RGB | rgb(37, 72, 177) |
| HSL | hsl(225, 65%, 42%) |
| HSV | hsv(225, 79%, 69%) |
| CMYK | cmyk(79.1%, 59.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.40, 26.53, -59.37) |
| CIE-LCH | lch(34.40, 65.03, 294.07°) |
| OKLab | oklab(44.43% -0.0132 -0.1716) |
| OKLCH | oklch(44.43% 0.172 265.6) |
| XYZ | xyz(11.0133, 8.2011, 42.5890) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.52
Blue Blue
#2242C7
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.29
Blue (survey)
#0343DF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548B1 #B18E25
analogous
#258EB1 #2548B1 #4825B1
triadic
#2548B1 #B12548 #48B125
tetradic
#2548B1 #B1258E #B18E25 #25B148
square
#2548B1 #B1258E #B18E25 #25B148
split-complementary
#2548B1 #B14825 #8EB125
monochromatic
#101F4C #1A337E #2548B1 #3D63D6 #6F8CE1
Accessibility & contrast
On white
7.95
#2548B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2548B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548B1
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548B1 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2548b1; /* rgb */ color: rgb(37, 72, 177); /* oklch */ color: oklch(44.4% 0.172 265.6);
Tailwind
colors: {
custom: {
50: '#767ac9',
500: '#2548b1',
950: '#000000',
},
}SCSS
$custom: #2548b1; $custom-light: #767ac9; $custom-dark: #000000;
JSON
{
"hex": "#2548b1",
"rgb": {
"r": 37,
"g": 72,
"b": 177
},
"hsl": {
"h": 225,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.44434,
"c": 0.17207,
"h": 265.6
},
"luminance": 0.08202
}Semantic roles & 50–950 ramp
primary
#2548B1
secondary
#C8B06A
accent
#BE3FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82