#042647 color
The hex color #042647 is a very dark, vivid azure.
In the RGB color model it is made of 1.6% red, 14.9% green and 27.8% blue (4, 38, 71).
Its hue angle is 210°, with 89% saturation and 15% lightness. For print, the CMYK equivalent is 94% cyan, 46% magenta, 0% yellow and 72% black.
The closest named color is Midnight Ocean (#0F2D4D), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.29:1).
#042647 color codes
| HEX | #042647 | |
|---|---|---|
| RGB | rgb(4, 38, 71) | |
| RGB percent | rgb(1.6%, 14.9%, 27.8%) | |
| HSL | hsl(210, 89%, 15%) | |
| HSV / HSB | hsv(210, 94%, 28%) | |
| CMYK | cmyk(94%, 46%, 0%, 72%) | |
| CIE LAB | lab(14.77, 2.59, -23.98) | |
| CIE LCH | lch(14.77, 24.12, 276.16) | |
| CIE XYZ | xyz(1.88, 1.867, 6.221) | |
| Decimal | 271943 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042647, 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 #042647 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.29:1 | Pass | Pass | Pass |
| #042647 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.29:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #042647 looks to people with the most common types of color vision deficiency.
#152848Protanopia
no red cones#092246Deuteranopia
no green cones#002e33Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #042647; }
.text { color: #042647; }
.border { border: 2px solid #042647; }
.transparent { background-color: rgb(4 38 71 / 50%); }
.gradient { background: linear-gradient(to right, #042647, #040547); }
Similar colors
#0f2d4dMidnight Ocean#001f3fMidnight Mirage#002147Oxford Blue#011c39Naval Night#112244Dark Eclipse#012253Subnautical#003153Prussian Blue#042e60Marine
Questions
- What color is #042647?
- #042647 is a very dark, vivid azure, closest to the named color Midnight Ocean. It belongs to the blue family of colors.
- What is the RGB value of #042647?
- The RGB value is 4, 38, 71: 4 red, 38 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #042647?
- The complementary color is #472504, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042647?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.29:1. WCAG asks for at least 4.5:1 for normal text.