#042245 color
The hex color #042245 is a very dark, vivid azure.
In the RGB color model it is made of 1.6% red, 13.3% green and 27.1% blue (4, 34, 69).
Its hue angle is 212°, with 89% saturation and 14% lightness. For print, the CMYK equivalent is 94% cyan, 51% magenta, 0% yellow and 73% black.
The closest named color is Oxford Blue (#002147), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.91:1).
#042245 color codes
| HEX | #042245 | |
|---|---|---|
| RGB | rgb(4, 34, 69) | |
| RGB percent | rgb(1.6%, 13.3%, 27.1%) | |
| HSL | hsl(212, 89%, 14%) | |
| HSV / HSB | hsv(212, 94%, 27%) | |
| CMYK | cmyk(94%, 51%, 0%, 73%) | |
| CIE LAB | lab(13.23, 4.68, -25.07) | |
| CIE LCH | lch(13.23, 25.5, 280.57) | |
| CIE XYZ | xyz(1.696, 1.599, 5.848) | |
| Decimal | 270917 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #042245, 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 #042245 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.91:1 | Pass | Pass | Pass |
| #042245 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.91:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #042245 looks to people with the most common types of color vision deficiency.
#0f2546Protanopia
no red cones#021f44Deuteranopia
no green cones#002a30Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #042245; }
.text { color: #042245; }
.border { border: 2px solid #042245; }
.transparent { background-color: rgb(4 34 69 / 50%); }
.gradient { background: linear-gradient(to right, #042245, #060445); }
Similar colors
#002147Oxford Blue#001f3fMidnight Mirage#112244Dark Eclipse#011c39Naval Night#012253Subnautical#0f2d4dMidnight Ocean#1d2951Space Cadet#112255Dark Soul
Questions
- What color is #042245?
- #042245 is a very dark, vivid azure, closest to the named color Oxford Blue. It belongs to the blue family of colors.
- What is the RGB value of #042245?
- The RGB value is 4, 34, 69: 4 red, 34 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #042245?
- The complementary color is #452704, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #042245?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.91:1. WCAG asks for at least 4.5:1 for normal text.