#2548A1#2548A1
#2548A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.150 H 264.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2548A1 |
|---|---|
| RGB | rgb(37, 72, 161) |
| HSL | hsl(223, 63%, 39%) |
| HSV | hsv(223, 77%, 63%) |
| CMYK | cmyk(77%, 55.3%, 0%, 36.9%) |
| CIE-LAB | lab(33.14, 20.34, -51.86) |
| CIE-LCH | lch(33.14, 55.71, 291.41°) |
| OKLab | oklab(43.09% -0.0141 -0.1495) |
| OKLCH | oklch(43.09% 0.15 264.6) |
| XYZ | xyz(9.5111, 7.6002, 34.6770) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.09
Cobalt (survey)
#1E488F
ΔE00 3.06
Sapphire
#0F52BA
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.70
Darkish Blue
#014182
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548A1 #A17E25
analogous
#2586A1 #2548A1 #4025A1
triadic
#2548A1 #A12548 #48A125
tetradic
#2548A1 #A12586 #A17E25 #25A140
square
#2548A1 #A12586 #A17E25 #25A140
split-complementary
#2548A1 #A14025 #86A125
monochromatic
#0E1B3D #1A326F #2548A1 #335FD0 #6586DC
Accessibility & contrast
On white
8.33
#2548A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2548A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548A1
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548A1 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2548a1; /* rgb */ color: rgb(37, 72, 161); /* oklch */ color: oklch(43.1% 0.150 264.6);
Tailwind
colors: {
custom: {
50: '#737abd',
500: '#2548a1',
950: '#000000',
},
}SCSS
$custom: #2548a1; $custom-light: #737abd; $custom-dark: #000000;
JSON
{
"hex": "#2548a1",
"rgb": {
"r": 37,
"g": 72,
"b": 161
},
"hsl": {
"h": 223.065,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.43089,
"c": 0.15016,
"h": 264.6
},
"luminance": 0.07601
}Semantic roles & 50–950 ramp
primary
#2548A1
secondary
#C1A661
accent
#B842E6
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81