#2147AB color
The hex color #2147AB is a moderate blue.
In the RGB color model it is made of 12.9% red, 27.8% green and 67.1% blue (33, 71, 171).
Its hue angle is 223°, with 68% saturation and 40% lightness. For print, the CMYK equivalent is 81% cyan, 58% magenta, 0% yellow and 33% black.
The closest named color is Cobalt Blue (#0047AB), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.22:1).
#2147AB color codes
| HEX | #2147AB | |
|---|---|---|
| RGB | rgb(33, 71, 171) | |
| RGB percent | rgb(12.9%, 27.8%, 67.1%) | |
| HSL | hsl(223, 68%, 40%) | |
| HSV / HSB | hsv(223, 81%, 67%) | |
| CMYK | cmyk(81%, 58%, 0%, 33%) | |
| CIE LAB | lab(33.5, 24.48, -57.28) | |
| CIE LCH | lch(33.5, 62.29, 293.14) | |
| CIE XYZ | xyz(10.229, 7.769, 39.481) | |
| Decimal | 2181035 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2147AB, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #2147AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.22:1 | Pass | Pass | Pass |
| #2147AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.22:1 | Pass | Pass | Pass |
| Sample text | 2.55:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #2147AB looks to people with the most common types of color vision deficiency.
#0055aeProtanopia
no red cones#0049a9Deuteranopia
no green cones#006072Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #2147ab; }
.text { color: #2147ab; }
.border { border: 2px solid #2147ab; }
.transparent { background-color: rgb(33 71 171 / 50%); }
.gradient { background: linear-gradient(to right, #2147ab, #4021ab); }
Similar colors
#0047abCobalt Blue#0044bbOnce in a Blue Moon#234893Cascade Twilight#024acaFlying Fish Blue#0f52baSapphire#1e488fNuit Blanche#244e94Le Grand Bleu#3356aaBlasphemous Blue
Questions
- What color is #2147AB?
- #2147AB is a moderate blue, closest to the named color Cobalt Blue. It belongs to the blue family of colors.
- What is the RGB value of #2147AB?
- The RGB value is 33, 71, 171: 33 red, 71 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #2147AB?
- The complementary color is #AB8521, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2147AB?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.22:1. WCAG asks for at least 4.5:1 for normal text.