#004042 color
The hex color #004042 is a very dark, vivid cyan.
In the RGB color model it is made of 0% red, 25.1% green and 25.9% blue (0, 64, 66).
Its hue angle is 182°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 100% cyan, 3% magenta, 0% yellow and 74% black.
The closest named color is Botanical Night (#12403C), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.59:1).
#004042 color codes
| HEX | #004042 | |
|---|---|---|
| RGB | rgb(0, 64, 66) | |
| RGB percent | rgb(0%, 25.1%, 25.9%) | |
| HSL | hsl(182, 100%, 13%) | |
| HSV / HSB | hsv(182, 100%, 26%) | |
| CMYK | cmyk(100%, 3%, 0%, 74%) | |
| CIE LAB | lab(23.87, -17.12, -6.46) | |
| CIE LCH | lch(23.87, 18.3, 200.68) | |
| CIE XYZ | xyz(2.816, 4.06, 5.788) | |
| Decimal | 16450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004042, 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 #004042 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.59:1 | Pass | Pass | Pass |
| #004042 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.59:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #004042 looks to people with the most common types of color vision deficiency.
#3a3c42Protanopia
no red cones#323642Deuteranopia
no green cones#004340Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #004042; }
.text { color: #004042; }
.border { border: 2px solid #004042; }
.transparent { background-color: rgb(0 64 66 / 50%); }
.gradient { background: linear-gradient(to right, #004042, #001f42); }
Similar colors
#12403cBotanical Night#014d4eDark Teal#224347Emerald Forest#024a43Tropical Forest#1c3d44Sunken Harbour#133337Elite Teal#27454aMysterious Waters#1c3b42Royal Neptune
Questions
- What color is #004042?
- #004042 is a very dark, vivid cyan, closest to the named color Botanical Night. It belongs to the teal family of colors.
- What is the RGB value of #004042?
- The RGB value is 0, 64, 66: 0 red, 64 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #004042?
- The complementary color is #420200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004042?
- White text. Black text has a contrast ratio of 1.81:1 and white text 11.59:1. WCAG asks for at least 4.5:1 for normal text.