#060042 color
The hex color #060042 is a very dark, vivid blue.
In the RGB color model it is made of 2.4% red, 0% green and 25.9% blue (6, 0, 66).
Its hue angle is 245°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 91% cyan, 100% magenta, 0% yellow and 74% black.
The closest named color is Endless Galaxy (#000044), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.33:1).
#060042 color codes
| HEX | #060042 | |
|---|---|---|
| RGB | rgb(6, 0, 66) | |
| RGB percent | rgb(2.4%, 0%, 25.9%) | |
| HSL | hsl(245, 100%, 13%) | |
| HSV / HSB | hsv(245, 100%, 26%) | |
| CMYK | cmyk(91%, 100%, 0%, 74%) | |
| CIE LAB | lab(3.9, 25.86, -38.16) | |
| CIE LCH | lch(3.9, 46.1, 304.13) | |
| CIE XYZ | xyz(1.058, 0.432, 5.181) | |
| Decimal | 393282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #060042, 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 #060042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.33:1 | Pass | Pass | Pass |
| #060042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.33:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #060042 looks to people with the most common types of color vision deficiency.
#001144Protanopia
no red cones#000a41Deuteranopia
no green cones#001623Tritanopia
no blue cones#0e0e0eAchromatopsia
no color vision
CSS examples
.background { background-color: #060042; }
.text { color: #060042; }
.border { border: 2px solid #060042; }
.transparent { background-color: rgb(6 0 66 / 50%); }
.gradient { background: linear-gradient(to right, #060042, #270042); }
Similar colors
#000044Endless Galaxy#0f084bSilent Twilight#000b44Storm#0a0555Ravenclaw#111144Deadly Depths#001155Interstellar Blue#160435Quiet Abyss#150f5bSpace Colonisation
Closest common color name: Midnight Blue.
Questions
- What color is #060042?
- #060042 is a very dark, vivid blue, closest to the named color Endless Galaxy. It belongs to the black family of colors.
- What is the RGB value of #060042?
- The RGB value is 6, 0, 66: 6 red, 0 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #060042?
- The complementary color is #3C4200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #060042?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.33:1. WCAG asks for at least 4.5:1 for normal text.