#06042B color
The hex color #06042B is a very dark, vivid blue.
In the RGB color model it is made of 2.4% red, 1.6% green and 16.9% blue (6, 4, 43).
Its hue angle is 243°, with 83% saturation and 9% lightness. For print, the CMYK equivalent is 86% cyan, 91% magenta, 0% yellow and 83% black.
The closest named color is Midnight (#03012D), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.81:1).
#06042B color codes
| HEX | #06042B | |
|---|---|---|
| RGB | rgb(6, 4, 43) | |
| RGB percent | rgb(2.4%, 1.6%, 16.9%) | |
| HSL | hsl(243, 83%, 9%) | |
| HSV / HSB | hsv(243, 91%, 17%) | |
| CMYK | cmyk(86%, 91%, 0%, 83%) | |
| CIE LAB | lab(2.71, 11.03, -23.14) | |
| CIE LCH | lch(2.71, 25.64, 295.49) | |
| CIE XYZ | xyz(0.554, 0.3, 2.314) | |
| Decimal | 394283 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #06042B, 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 #06042B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.81:1 | Pass | Pass | Pass |
| #06042B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.81:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #06042B looks to people with the most common types of color vision deficiency.
#000c2cProtanopia
no red cones#00082aDeuteranopia
no green cones#000e16Tritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #06042b; }
.text { color: #06042b; }
.border { border: 2px solid #06042b; }
.transparent { background-color: rgb(6 4 43 / 50%); }
.gradient { background: linear-gradient(to right, #06042b, #1a042b); }
Similar colors
#03012dMidnight#00022eIllicit Darkness#060929Mysterious Depths#071037Infinite Night#000435Oblivion#041330Squid’s Ink#050d25Void#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #06042B?
- #06042B is a very dark, vivid blue, closest to the named color Midnight. It belongs to the black family of colors.
- What is the RGB value of #06042B?
- The RGB value is 6, 4, 43: 6 red, 4 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #06042B?
- The complementary color is #292B04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #06042B?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.81:1. WCAG asks for at least 4.5:1 for normal text.