#1548B4#1548B4
#1548B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.180 H 262.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1548B4 |
|---|---|
| RGB | rgb(21, 72, 180) |
| HSL | hsl(221, 79%, 39%) |
| HSV | hsv(221, 88%, 71%) |
| CMYK | cmyk(88.3%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.17, 26.41, -61.55) |
| CIE-LCH | lch(34.17, 66.98, 293.22°) |
| OKLab | oklab(44.2% -0.0232 -0.1782) |
| OKLCH | oklch(44.2% 0.18 262.6) |
| XYZ | xyz(10.8619, 8.0881, 44.1598) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.80
Sapphire
#0F52BA
ΔE00 3.49
Blue Blue
#2242C7
ΔE00 4.01
Cobalt (survey)
#1E488F
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1548B4 #B48115
analogous
#1597B4 #1548B4 #3215B4
triadic
#1548B4 #B41548 #48B415
tetradic
#1548B4 #B41597 #B48115 #15B432
square
#1548B4 #B41597 #B48115 #15B432
split-complementary
#1548B4 #B43215 #97B415
monochromatic
#081C46 #0F327D #1548B4 #2160E5 #5887EC
Accessibility & contrast
On white
8.02
#1548B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1548B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1548B4
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1548B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1548B4 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1548b4; /* rgb */ color: rgb(21, 72, 180); /* oklch */ color: oklch(44.2% 0.180 262.6);
Tailwind
colors: {
custom: {
50: '#737acb',
500: '#1548b4',
950: '#000000',
},
}SCSS
$custom: #1548b4; $custom-light: #737acb; $custom-dark: #000000;
JSON
{
"hex": "#1548b4",
"rgb": {
"r": 21,
"g": 72,
"b": 180
},
"hsl": {
"h": 220.755,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.44201,
"c": 0.17968,
"h": 262.6
},
"luminance": 0.08089
}Semantic roles & 50–950 ramp
primary
#1548B4
secondary
#CFA856
accent
#B732F6
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82