#04051D color
The hex color #04051D is a very dark, moderate blue.
In the RGB color model it is made of 1.6% red, 2% green and 11.4% blue (4, 5, 29).
Its hue angle is 238°, with 76% saturation and 6% lightness. For print, the CMYK equivalent is 86% cyan, 83% magenta, 0% yellow and 89% black.
The closest named color is Void (#050D25), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.1:1).
#04051D color codes
| HEX | #04051D | |
|---|---|---|
| RGB | rgb(4, 5, 29) | |
| RGB percent | rgb(1.6%, 2%, 11.4%) | |
| HSL | hsl(238, 76%, 6%) | |
| HSV / HSB | hsv(238, 86%, 11%) | |
| CMYK | cmyk(86%, 83%, 0%, 89%) | |
| CIE LAB | lab(2.01, 4.67, -13.3) | |
| CIE LCH | lch(2.01, 14.1, 289.36) | |
| CIE XYZ | xyz(0.326, 0.223, 1.188) | |
| Decimal | 263453 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04051D, 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 #04051D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.1:1 | Pass | Pass | Pass |
| #04051D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.1:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #04051D looks to people with the most common types of color vision deficiency.
#00081eProtanopia
no red cones#00061dDeuteranopia
no green cones#000a0fTritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #04051d; }
.text { color: #04051d; }
.border { border: 2px solid #04051d; }
.transparent { background-color: rgb(4 5 29 / 50%); }
.gradient { background: linear-gradient(to right, #04051d, #0f041d); }
Similar colors
#050d25Void#111122Corbeau#060929Mysterious Depths#060313Obsidian Shard#151931Dark Knight#041330Squid’s Ink#161e34Sombre Night#080813Narwhal Gray
Closest common color name: Rich Black.
Questions
- What color is #04051D?
- #04051D is a very dark, moderate blue, closest to the named color Void. It belongs to the black family of colors.
- What is the RGB value of #04051D?
- The RGB value is 4, 5, 29: 4 red, 5 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #04051D?
- The complementary color is #1D1C04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04051D?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.1:1. WCAG asks for at least 4.5:1 for normal text.