Cobalt Blue color: hex code #0047AB
Cobalt Blue has the hex code #0047AB. It is a dark, vivid azure.
In the RGB color model it is made of 0% red, 27.8% green and 67.1% blue (0, 71, 171).
Its hue angle is 215°, with 100% saturation and 34% lightness. For print, the CMYK equivalent is 100% cyan, 58% magenta, 0% yellow and 33% black.
White text is the more readable choice on this background (contrast 8.44:1).
Cobalt Blue (#0047AB) color codes
| HEX | #0047AB | |
|---|---|---|
| RGB | rgb(0, 71, 171) | |
| RGB percent | rgb(0%, 27.8%, 67.1%) | |
| HSL | hsl(215, 100%, 34%) | |
| HSV / HSB | hsv(215, 100%, 67%) | |
| CMYK | cmyk(100%, 58%, 0%, 33%) | |
| CIE LAB | lab(32.8, 22.52, -58.44) | |
| CIE LCH | lch(32.8, 62.63, 291.07) | |
| CIE XYZ | xyz(9.601, 7.445, 39.451) | |
| Decimal | 18347 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Cobalt Blue, 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 #0047AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.44:1 | Pass | Pass | Pass |
| #0047AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.44:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #0047AB looks to people with the most common types of color vision deficiency.
#0055aeProtanopia
no red cones#0046a9Deuteranopia
no green cones#006172Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #0047ab; }
.text { color: #0047ab; }
.border { border: 2px solid #0047ab; }
.transparent { background-color: rgb(0 71 171 / 50%); }
.gradient { background: linear-gradient(to right, #0047ab, #0e00ab); }
Similar colors
#0044bbOnce in a Blue Moon#234893Cascade Twilight#1e488fNuit Blanche#0f52baSapphire#244e94Le Grand Bleu#024acaFlying Fish Blue#004488Pacific Depths#3356aaBlasphemous Blue
See #0047AB on its hex code page
Questions
- What color is #0047AB?
- #0047AB is a dark, vivid azure known as Cobalt Blue. It belongs to the blue family of colors.
- What is the RGB value of Cobalt Blue?
- The RGB value is 0, 71, 171: 0 red, 71 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of Cobalt Blue?
- The complementary color is #AB6400, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0047AB?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.44:1. WCAG asks for at least 4.5:1 for normal text.