#2548AC#2548AC
#2548AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.165 H 265.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2548AC |
|---|---|
| RGB | rgb(37, 72, 172) |
| HSL | hsl(224, 65%, 41%) |
| HSV | hsv(224, 78%, 67%) |
| CMYK | cmyk(78.5%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(33.99, 24.60, -57.06) |
| CIE-LCH | lch(33.99, 62.14, 293.33°) |
| OKLab | oklab(44.01% -0.0134 -0.1648) |
| OKLCH | oklch(44.01% 0.165 265.3) |
| XYZ | xyz(10.5241, 8.0054, 40.0123) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.14
Sapphire
#0F52BA
ΔE00 4.10
Blue Blue
#2242C7
ΔE00 4.43
Cobalt (survey)
#1E488F
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548AC #AC8925
analogous
#258BAC #2548AC #4525AC
triadic
#2548AC #AC2548 #48AC25
tetradic
#2548AC #AC258B #AC8925 #25AC45
square
#2548AC #AC258B #AC8925 #25AC45
split-complementary
#2548AC #AC4525 #8BAC25
monochromatic
#0F1E47 #1A337A #2548AC #3A62D5 #6C8ADF
Accessibility & contrast
On white
8.07
#2548AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2548AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548AC
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548AC | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2548ac; /* rgb */ color: rgb(37, 72, 172); /* oklch */ color: oklch(44.0% 0.165 265.3);
Tailwind
colors: {
custom: {
50: '#757ac6',
500: '#2548ac',
950: '#000000',
},
}SCSS
$custom: #2548ac; $custom-light: #757ac6; $custom-dark: #000000;
JSON
{
"hex": "#2548ac",
"rgb": {
"r": 37,
"g": 72,
"b": 172
},
"hsl": {
"h": 224.444,
"s": 64.593,
"l": 40.98
},
"oklch": {
"l": 0.44005,
"c": 0.16531,
"h": 265.3
},
"luminance": 0.08007
}Semantic roles & 50–950 ramp
primary
#2548AC
secondary
#C6AD67
accent
#BC40E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82