#04113E color
The hex color #04113E is a very dark, vivid blue.
In the RGB color model it is made of 1.6% red, 6.7% green and 24.3% blue (4, 17, 62).
Its hue angle is 227°, with 88% saturation and 13% lightness. For print, the CMYK equivalent is 94% cyan, 73% magenta, 0% yellow and 76% black.
The closest named color is Infinite Night (#071037), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.18:1).
#04113E color codes
| HEX | #04113E | |
|---|---|---|
| RGB | rgb(4, 17, 62) | |
| RGB percent | rgb(1.6%, 6.7%, 24.3%) | |
| HSL | hsl(227, 88%, 13%) | |
| HSV / HSB | hsv(227, 94%, 24%) | |
| CMYK | cmyk(94%, 73%, 0%, 76%) | |
| CIE LAB | lab(6.99, 14.65, -30.25) | |
| CIE LCH | lch(6.99, 33.61, 295.85) | |
| CIE XYZ | xyz(1.12, 0.774, 4.647) | |
| Decimal | 266558 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04113E, 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 #04113E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.18:1 | Pass | Pass | Pass |
| #04113E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.18:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #04113E looks to people with the most common types of color vision deficiency.
#00183fProtanopia
no red cones#00133dDeuteranopia
no green cones#001d25Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #04113e; }
.text { color: #04113e; }
.border { border: 2px solid #04113e; }
.transparent { background-color: rgb(4 17 62 / 50%); }
.gradient { background: linear-gradient(to right, #04113e, #14043e); }
Similar colors
#071037Infinite Night#000435Oblivion#111144Deadly Depths#000b44Storm#00022eIllicit Darkness#03012dMidnight#1c1e4dFly-by-Night#041330Squid’s Ink
Closest common color name: Oxford Blue.
Questions
- What color is #04113E?
- #04113E is a very dark, vivid blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #04113E?
- The RGB value is 4, 17, 62: 4 red, 17 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #04113E?
- The complementary color is #3E3104, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04113E?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.18:1. WCAG asks for at least 4.5:1 for normal text.