#062A40 color
The hex color #062A40 is a very dark, vivid azure.
In the RGB color model it is made of 2.4% red, 16.5% green and 25.1% blue (6, 42, 64).
Its hue angle is 203°, with 83% saturation and 14% lightness. For print, the CMYK equivalent is 91% cyan, 34% magenta, 0% yellow and 75% black.
The closest named color is Sea of Stars (#0B334D), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.86:1).
#062A40 color codes
| HEX | #062A40 | |
|---|---|---|
| RGB | rgb(6, 42, 64) | |
| RGB percent | rgb(2.4%, 16.5%, 25.1%) | |
| HSL | hsl(203, 83%, 14%) | |
| HSV / HSB | hsv(203, 91%, 25%) | |
| CMYK | cmyk(91%, 34%, 0%, 75%) | |
| CIE LAB | lab(15.82, -3.2, -17.47) | |
| CIE LCH | lch(15.82, 17.76, 259.62) | |
| CIE XYZ | xyz(1.828, 2.065, 5.152) | |
| Decimal | 404032 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #062A40, 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 #062A40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.86:1 | Pass | Pass | Pass |
| #062A40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.86:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #062A40 looks to people with the most common types of color vision deficiency.
#202a41Protanopia
no red cones#182540Deuteranopia
no green cones#002f32Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #062a40; }
.text { color: #062a40; }
.border { border: 2px solid #062a40; }
.transparent { background-color: rgb(6 42 64 / 50%); }
.gradient { background: linear-gradient(to right, #062a40, #060d40); }
Similar colors
#0b334dSea of Stars#002233Midnight Dreams#0a3251Beyond the Stars#003153Prussian Blue#102030The Count’s Black#001b2eOxford by Night#1e3442Blue Whale#0f2d4dMidnight Ocean
Questions
- What color is #062A40?
- #062A40 is a very dark, vivid azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
- What is the RGB value of #062A40?
- The RGB value is 6, 42, 64: 6 red, 42 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #062A40?
- The complementary color is #401C06, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #062A40?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.86:1. WCAG asks for at least 4.5:1 for normal text.