#004BAB color
The hex color #004BAB is a dark, vivid azure.
In the RGB color model it is made of 0% red, 29.4% green and 67.1% blue (0, 75, 171).
Its hue angle is 214°, with 100% saturation and 34% lightness. For print, the CMYK equivalent is 100% cyan, 56% magenta, 0% yellow and 33% black.
The closest named color is Cobalt Blue (#0047AB), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.09:1).
#004BAB color codes
| HEX | #004BAB | |
|---|---|---|
| RGB | rgb(0, 75, 171) | |
| RGB percent | rgb(0%, 29.4%, 67.1%) | |
| HSL | hsl(214, 100%, 34%) | |
| HSV / HSB | hsv(214, 100%, 67%) | |
| CMYK | cmyk(100%, 56%, 0%, 33%) | |
| CIE LAB | lab(33.92, 19.78, -56.61) | |
| CIE LCH | lch(33.92, 59.97, 289.26) | |
| CIE XYZ | xyz(9.864, 7.971, 39.539) | |
| Decimal | 19371 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004BAB, 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 #004BAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.09:1 | Pass | Pass | Pass |
| #004BAB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.09:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #004BAB looks to people with the most common types of color vision deficiency.
#0057aeProtanopia
no red cones#0049a9Deuteranopia
no green cones#006373Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #004bab; }
.text { color: #004bab; }
.border { border: 2px solid #004bab; }
.transparent { background-color: rgb(0 75 171 / 50%); }
.gradient { background: linear-gradient(to right, #004bab, #0b00ab); }
Similar colors
#0047abCobalt Blue#0f52baSapphire#244e94Le Grand Bleu#234893Cascade Twilight#1e488fNuit Blanche#1c4d8fDancing Sea#0044bbOnce in a Blue Moon#1c4c8cOlympian Blue
Questions
- What color is #004BAB?
- #004BAB is a dark, vivid azure, closest to the named color Cobalt Blue. It belongs to the blue family of colors.
- What is the RGB value of #004BAB?
- The RGB value is 0, 75, 171: 0 red, 75 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #004BAB?
- The complementary color is #AB6000, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004BAB?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.09:1. WCAG asks for at least 4.5:1 for normal text.