#062841 color
The hex color #062841 is a very dark, vivid azure.
In the RGB color model it is made of 2.4% red, 15.7% green and 25.5% blue (6, 40, 65).
Its hue angle is 205°, with 83% saturation and 14% lightness. For print, the CMYK equivalent is 91% cyan, 38% magenta, 0% yellow and 75% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.13:1).
#062841 color codes
| HEX | #062841 | |
|---|---|---|
| RGB | rgb(6, 40, 65) | |
| RGB percent | rgb(2.4%, 15.7%, 25.5%) | |
| HSL | hsl(205, 83%, 14%) | |
| HSV / HSB | hsv(205, 91%, 25%) | |
| CMYK | cmyk(91%, 38%, 0%, 75%) | |
| CIE LAB | lab(15.16, -1.33, -19.21) | |
| CIE LCH | lch(15.16, 19.26, 266.05) | |
| CIE XYZ | xyz(1.788, 1.938, 5.28) | |
| Decimal | 403521 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #062841, 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 #062841 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.13:1 | Pass | Pass | Pass |
| #062841 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.13:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #062841 looks to people with the most common types of color vision deficiency.
#1c2942Protanopia
no red cones#142441Deuteranopia
no green cones#002e31Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #062841; }
.text { color: #062841; }
.border { border: 2px solid #062841; }
.transparent { background-color: rgb(6 40 65 / 50%); }
.gradient { background: linear-gradient(to right, #062841, #060a41); }
Similar colors
#0f2d4dMidnight Ocean#0a3251Beyond the Stars#0b334dSea of Stars#003153Prussian Blue#102030The Count’s Black#001b2eOxford by Night#002233Midnight Dreams#001f3fMidnight Mirage
Questions
- What color is #062841?
- #062841 is a very dark, vivid azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #062841?
- The RGB value is 6, 40, 65: 6 red, 40 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #062841?
- The complementary color is #411F06, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #062841?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.13:1. WCAG asks for at least 4.5:1 for normal text.