#2548BA#2548BA
#2548BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.184 H 265.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2548BA |
|---|---|
| RGB | rgb(37, 72, 186) |
| HSL | hsl(226, 67%, 44%) |
| HSV | hsv(226, 80%, 73%) |
| CMYK | cmyk(80.1%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.15, 29.96, -63.47) |
| CIE-LCH | lch(35.15, 70.18, 295.27°) |
| OKLab | oklab(45.22% -0.013 -0.1836) |
| OKLCH | oklch(45.22% 0.184 265.9) |
| XYZ | xyz(11.9401, 8.5718, 47.4701) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.68
Cobalt
#0047AB
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2548BA #BA9725
analogous
#2592BA #2548BA #4C25BA
triadic
#2548BA #BA2548 #48BA25
tetradic
#2548BA #BA2592 #BA9725 #25BA4C
square
#2548BA #BA2592 #BA9725 #25BA4C
split-complementary
#2548BA #BA4C25 #92BA25
monochromatic
#112054 #1B3487 #2548BA #4366DA #7690E4
Accessibility & contrast
On white
7.74
#2548BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2548BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2548BA
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2548BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2548BA | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2548ba; /* rgb */ color: rgb(37, 72, 186); /* oklch */ color: oklch(45.2% 0.184 265.9);
Tailwind
colors: {
custom: {
50: '#797ad0',
500: '#2548ba',
950: '#000000',
},
}SCSS
$custom: #2548ba; $custom-light: #797ad0; $custom-dark: #000000;
JSON
{
"hex": "#2548ba",
"rgb": {
"r": 37,
"g": 72,
"b": 186
},
"hsl": {
"h": 225.906,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.45224,
"c": 0.18404,
"h": 265.9
},
"luminance": 0.08573
}Semantic roles & 50–950 ramp
primary
#2548BA
secondary
#CBB670
accent
#C13EEA
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82