#2147AD#2147AD
#2147AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.169 H 264.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2147AD |
|---|---|
| RGB | rgb(33, 71, 173) |
| HSL | hsl(224, 68%, 40%) |
| HSV | hsv(224, 81%, 68%) |
| CMYK | cmyk(80.9%, 59%, 0%, 32.2%) |
| CIE-LAB | lab(33.66, 25.26, -58.21) |
| CIE-LCH | lch(33.66, 63.45, 293.46°) |
| OKLab | oklab(43.74% -0.0157 -0.1682) |
| OKLCH | oklch(43.74% 0.169 264.7) |
| XYZ | xyz(10.4206, 7.8457, 40.4922) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.96
Sapphire
#0F52BA
ΔE00 4.21
Blue Blue
#2242C7
ΔE00 4.26
Cobalt (survey)
#1E488F
ΔE00 4.67
Sapphire (survey)
#2138AB
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147AD #AD8721
analogous
#218DAD #2147AD #4121AD
triadic
#2147AD #AD2147 #47AD21
tetradic
#2147AD #AD218D #AD8721 #21AD41
square
#2147AD #AD218D #AD8721 #21AD41
split-complementary
#2147AD #AD4121 #8DAD21
monochromatic
#0D1D46 #17327A #2147AD #3360D8 #6688E2
Accessibility & contrast
On white
8.17
#2147AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2147AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147AD
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147AD | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2147ad; /* rgb */ color: rgb(33, 71, 173); /* oklch */ color: oklch(43.7% 0.169 264.7);
Tailwind
colors: {
custom: {
50: '#7479c6',
500: '#2147ad',
950: '#000000',
},
}SCSS
$custom: #2147ad; $custom-light: #7479c6; $custom-dark: #000000;
JSON
{
"hex": "#2147ad",
"rgb": {
"r": 33,
"g": 71,
"b": 173
},
"hsl": {
"h": 223.714,
"s": 67.961,
"l": 40.392
},
"oklch": {
"l": 0.43738,
"c": 0.16895,
"h": 264.7
},
"luminance": 0.07847
}Semantic roles & 50–950 ramp
primary
#2147AD
secondary
#C7AC62
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82