#001942 color
The hex color #001942 is a very dark, vivid azure.
In the RGB color model it is made of 0% red, 9.8% green and 25.9% blue (0, 25, 66).
Its hue angle is 217°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 100% cyan, 62% magenta, 0% yellow and 74% black.
The closest named color is Oxford Blue (#002147), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.25:1).
#001942 color codes
| HEX | #001942 | |
|---|---|---|
| RGB | rgb(0, 25, 66) | |
| RGB percent | rgb(0%, 9.8%, 25.9%) | |
| HSL | hsl(217, 100%, 13%) | |
| HSV / HSB | hsv(217, 100%, 26%) | |
| CMYK | cmyk(100%, 62%, 0%, 74%) | |
| CIE LAB | lab(9.71, 9.7, -28.67) | |
| CIE LCH | lch(9.71, 30.27, 288.69) | |
| CIE XYZ | xyz(1.331, 1.088, 5.293) | |
| Decimal | 6466 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001942, 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 #001942 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.25:1 | Pass | Pass | Pass |
| #001942 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.25:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #001942 looks to people with the most common types of color vision deficiency.
#001e43Protanopia
no red cones#001841Deuteranopia
no green cones#00232aTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #001942; }
.text { color: #001942; }
.border { border: 2px solid #001942; }
.transparent { background-color: rgb(0 25 66 / 50%); }
.gradient { background: linear-gradient(to right, #001942, #080042); }
Similar colors
#002147Oxford Blue#112244Dark Eclipse#012253Subnautical#001f3fMidnight Mirage#071037Infinite Night#011c39Naval Night#112255Dark Soul#041330Squid’s Ink
Questions
- What color is #001942?
- #001942 is a very dark, vivid azure, closest to the named color Oxford Blue. It belongs to the black family of colors.
- What is the RGB value of #001942?
- The RGB value is 0, 25, 66: 0 red, 25 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #001942?
- The complementary color is #422900, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001942?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.25:1. WCAG asks for at least 4.5:1 for normal text.