#2548AB#2548AB
#2548AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.164 H 265.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2548AB |
|---|---|
| RGB | rgb(37, 72, 171) |
| HSL | hsl(224, 64%, 41%) |
| HSV | hsv(224, 78%, 67%) |
| CMYK | cmyk(78.4%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(33.91, 24.22, -56.59) |
| CIE-LCH | lch(33.91, 61.56, 293.17°) |
| OKLab | oklab(43.92% -0.0135 -0.1634) |
| OKLCH | oklch(43.92% 0.164 265.3) |
| XYZ | xyz(10.4284, 7.9671, 39.5084) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.09
Sapphire
#0F52BA
ΔE00 4.13
Cobalt (survey)
#1E488F
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 4.57
Sapphire (survey)
#2138AB
ΔE00 5.10
Dusk Blue
#26538D
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548AB #AB8825
analogous
#258BAB #2548AB #4525AB
triadic
#2548AB #AB2548 #48AB25
tetradic
#2548AB #AB258B #AB8825 #25AB45
square
#2548AB #AB258B #AB8825 #25AB45
split-complementary
#2548AB #AB4525 #8BAB25
monochromatic
#0F1E46 #1A3379 #2548AB #3962D4 #6B8ADF
Accessibility & contrast
On white
8.10
#2548AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2548AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548AB
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548AB | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2548ab; /* rgb */ color: rgb(37, 72, 171); /* oklch */ color: oklch(43.9% 0.164 265.3);
Tailwind
colors: {
custom: {
50: '#757ac5',
500: '#2548ab',
950: '#000000',
},
}SCSS
$custom: #2548ab; $custom-light: #757ac5; $custom-dark: #000000;
JSON
{
"hex": "#2548ab",
"rgb": {
"r": 37,
"g": 72,
"b": 171
},
"hsl": {
"h": 224.328,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.4392,
"c": 0.16395,
"h": 265.3
},
"luminance": 0.07968
}Semantic roles & 50–950 ramp
primary
#2548AB
secondary
#C5AD67
accent
#BC40E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82