#2548B3#2548B3
#2548B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.175 H 265.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2548B3 |
|---|---|
| RGB | rgb(37, 72, 179) |
| HSL | hsl(225, 66%, 42%) |
| HSV | hsv(225, 79%, 70%) |
| CMYK | cmyk(79.3%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.56, 27.29, -60.29) |
| CIE-LCH | lch(34.56, 66.18, 294.36°) |
| OKLab | oklab(44.61% -0.0132 -0.1743) |
| OKLCH | oklch(44.61% 0.175 265.7) |
| XYZ | xyz(11.2141, 8.2814, 43.6465) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Blue Blue
#2242C7
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.57
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548B3 #B39025
analogous
#258FB3 #2548B3 #4925B3
triadic
#2548B3 #B32548 #48B325
tetradic
#2548B3 #B3258F #B39025 #25B349
square
#2548B3 #B3258F #B39025 #25B349
split-complementary
#2548B3 #B34925 #8FB325
monochromatic
#101F4E #1B3480 #2548B3 #3E64D7 #718DE2
Accessibility & contrast
On white
7.90
#2548B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2548B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548B3
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548B3 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2548b3; /* rgb */ color: rgb(37, 72, 179); /* oklch */ color: oklch(44.6% 0.175 265.7);
Tailwind
colors: {
custom: {
50: '#777acb',
500: '#2548b3',
950: '#000000',
},
}SCSS
$custom: #2548b3; $custom-light: #777acb; $custom-dark: #000000;
JSON
{
"hex": "#2548b3",
"rgb": {
"r": 37,
"g": 72,
"b": 179
},
"hsl": {
"h": 225.211,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.44607,
"c": 0.17476,
"h": 265.7
},
"luminance": 0.08283
}Semantic roles & 50–950 ramp
primary
#2548B3
secondary
#C8B16B
accent
#BF3FE9
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82