Deep Blue color: hex code #040273
Deep Blue has the hex code #040273. It is a dark, vivid blue.
In the RGB color model it is made of 1.6% red, 0.8% green and 45.1% blue (4, 2, 115).
Its hue angle is 241°, with 97% saturation and 23% lightness. For print, the CMYK equivalent is 97% cyan, 98% magenta, 0% yellow and 55% black.
White text is the more readable choice on this background (contrast 16.65:1).
Deep Blue (#040273) color codes
| HEX | #040273 | |
|---|---|---|
| RGB | rgb(4, 2, 115) | |
| RGB percent | rgb(1.6%, 0.8%, 45.1%) | |
| HSL | hsl(241, 97%, 23%) | |
| HSV / HSB | hsv(241, 98%, 45%) | |
| CMYK | cmyk(97%, 98%, 0%, 55%) | |
| CIE LAB | lab(11.32, 43.1, -59.09) | |
| CIE LCH | lch(11.32, 73.14, 306.1) | |
| CIE XYZ | xyz(3.165, 1.307, 16.302) | |
| Decimal | 262771 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Deep Blue, 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 #040273 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.65:1 | Pass | Pass | Pass |
| #040273 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.65:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #040273 looks to people with the most common types of color vision deficiency.
#002476Protanopia
no red cones#001871Deuteranopia
no green cones#002d41Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #040273; }
.text { color: #040273; }
.border { border: 2px solid #040273; }
.transparent { background-color: rgb(4 2 115 / 50%); }
.gradient { background: linear-gradient(to right, #040273, #3d0273); }
Similar colors
#110077Insomniac Blue#000080Navy Blue#000080Navy#000066Alone in the Dark#110066The Vast of Night#220077Child of the Night#000088Midnight in Tokyo#220066Blackmail
See #040273 on its hex code page
Questions
- What color is #040273?
- #040273 is a dark, vivid blue known as Deep Blue. It belongs to the black family of colors.
- What is the RGB value of Deep Blue?
- The RGB value is 4, 2, 115: 4 red, 2 green and 115 blue on a 0 to 255 scale.
- What is the complementary color of Deep Blue?
- The complementary color is #717302, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040273?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.65:1. WCAG asks for at least 4.5:1 for normal text.