#022242 color
The hex color #022242 is a very dark, vivid azure.
In the RGB color model it is made of 0.8% red, 13.3% green and 25.9% blue (2, 34, 66).
Its hue angle is 210°, with 94% saturation and 13% lightness. For print, the CMYK equivalent is 97% cyan, 48% magenta, 0% yellow and 74% black.
The closest named color is Midnight Mirage (#001F3F), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.03:1).
#022242 color codes
| HEX | #022242 | |
|---|---|---|
| RGB | rgb(2, 34, 66) | |
| RGB percent | rgb(0.8%, 13.3%, 25.9%) | |
| HSL | hsl(210, 94%, 13%) | |
| HSV / HSB | hsv(210, 97%, 26%) | |
| CMYK | cmyk(97%, 48%, 0%, 74%) | |
| CIE LAB | lab(12.92, 2.94, -23.47) | |
| CIE LCH | lch(12.92, 23.66, 277.14) | |
| CIE XYZ | xyz(1.58, 1.55, 5.369) | |
| Decimal | 139842 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #022242, 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 #022242 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.03:1 | Pass | Pass | Pass |
| #022242 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.03:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #022242 looks to people with the most common types of color vision deficiency.
#112443Protanopia
no red cones#051f41Deuteranopia
no green cones#002a2eTritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #022242; }
.text { color: #022242; }
.border { border: 2px solid #022242; }
.transparent { background-color: rgb(2 34 66 / 50%); }
.gradient { background: linear-gradient(to right, #022242, #020242); }
Similar colors
#001f3fMidnight Mirage#002147Oxford Blue#011c39Naval Night#112244Dark Eclipse#0f2d4dMidnight Ocean#012253Subnautical#0e1d32Trapped Darkness#1c2841Eternal Darkness
Questions
- What color is #022242?
- #022242 is a very dark, vivid azure, closest to the named color Midnight Mirage. It belongs to the blue family of colors.
- What is the RGB value of #022242?
- The RGB value is 2, 34, 66: 2 red, 34 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #022242?
- The complementary color is #422202, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #022242?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.03:1. WCAG asks for at least 4.5:1 for normal text.