#2548AA#2548AA
#2548AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.163 H 265.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2548AA |
|---|---|
| RGB | rgb(37, 72, 170) |
| HSL | hsl(224, 64%, 41%) |
| HSV | hsv(224, 78%, 67%) |
| CMYK | cmyk(78.2%, 57.6%, 0%, 33.3%) |
| CIE-LAB | lab(33.83, 23.83, -56.12) |
| CIE-LCH | lch(33.83, 60.97, 293.01°) |
| OKLab | oklab(43.84% -0.0135 -0.162) |
| OKLCH | oklch(43.84% 0.163 265.2) |
| XYZ | xyz(10.3334, 7.9291, 39.0083) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.04
Sapphire
#0F52BA
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 4.32
Blue Blue
#2242C7
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548AA #AA8725
analogous
#258AAA #2548AA #4525AA
triadic
#2548AA #AA2548 #48AA25
tetradic
#2548AA #AA258A #AA8725 #25AA45
square
#2548AA #AA258A #AA8725 #25AA45
split-complementary
#2548AA #AA4525 #8AAA25
monochromatic
#0F1D45 #1A3378 #2548AA #3861D4 #6B89DF
Accessibility & contrast
On white
8.12
#2548AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2548AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548AA
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548AA | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2548aa; /* rgb */ color: rgb(37, 72, 170); /* oklch */ color: oklch(43.8% 0.163 265.2);
Tailwind
colors: {
custom: {
50: '#757ac4',
500: '#2548aa',
950: '#000000',
},
}SCSS
$custom: #2548aa; $custom-light: #757ac4; $custom-dark: #000000;
JSON
{
"hex": "#2548aa",
"rgb": {
"r": 37,
"g": 72,
"b": 170
},
"hsl": {
"h": 224.211,
"s": 64.251,
"l": 40.588
},
"oklch": {
"l": 0.43836,
"c": 0.16258,
"h": 265.2
},
"luminance": 0.0793
}Semantic roles & 50–950 ramp
primary
#2548AA
secondary
#C5AC66
accent
#BB41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82