#001940 color
The hex color #001940 is a very dark, vivid azure.
In the RGB color model it is made of 0% red, 9.8% green and 25.1% blue (0, 25, 64).
Its hue angle is 217°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 100% cyan, 61% magenta, 0% yellow and 75% black.
The closest named color is Oxford Blue (#002147), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.31:1).
#001940 color codes
| HEX | #001940 | |
|---|---|---|
| RGB | rgb(0, 25, 64) | |
| RGB percent | rgb(0%, 9.8%, 25.1%) | |
| HSL | hsl(217, 100%, 13%) | |
| HSV / HSB | hsv(217, 100%, 25%) | |
| CMYK | cmyk(100%, 61%, 0%, 75%) | |
| CIE LAB | lab(9.52, 8.72, -27.56) | |
| CIE LCH | lch(9.52, 28.9, 287.55) | |
| CIE XYZ | xyz(1.273, 1.065, 4.988) | |
| Decimal | 6464 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001940, 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 #001940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.31:1 | Pass | Pass | Pass |
| #001940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.31:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #001940 looks to people with the most common types of color vision deficiency.
#001e41Protanopia
no red cones#00183fDeuteranopia
no green cones#002329Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #001940; }
.text { color: #001940; }
.border { border: 2px solid #001940; }
.transparent { background-color: rgb(0 25 64 / 50%); }
.gradient { background: linear-gradient(to right, #001940, #070040); }
Similar colors
#002147Oxford Blue#112244Dark Eclipse#001f3fMidnight Mirage#011c39Naval Night#041330Squid’s Ink#012253Subnautical#071037Infinite Night#161d3bNightwalker
Questions
- What color is #001940?
- #001940 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 #001940?
- The RGB value is 0, 25, 64: 0 red, 25 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #001940?
- The complementary color is #402700, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001940?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.31:1. WCAG asks for at least 4.5:1 for normal text.