#031938 color
The hex color #031938 is a very dark, vivid azure.
In the RGB color model it is made of 1.2% red, 9.8% green and 22% blue (3, 25, 56).
Its hue angle is 215°, with 90% saturation and 12% lightness. For print, the CMYK equivalent is 95% cyan, 55% magenta, 0% yellow and 78% black.
The closest named color is Naval Night (#011C39), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.5:1).
#031938 color codes
| HEX | #031938 | |
|---|---|---|
| RGB | rgb(3, 25, 56) | |
| RGB percent | rgb(1.2%, 9.8%, 22%) | |
| HSL | hsl(215, 90%, 12%) | |
| HSV / HSB | hsv(215, 95%, 22%) | |
| CMYK | cmyk(95%, 55%, 0%, 78%) | |
| CIE LAB | lab(8.99, 5.33, -22.7) | |
| CIE LCH | lch(8.99, 23.32, 283.22) | |
| CIE XYZ | xyz(1.099, 1, 3.876) | |
| Decimal | 203064 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031938, 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 #031938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.5:1 | Pass | Pass | Pass |
| #031938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.5:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #031938 looks to people with the most common types of color vision deficiency.
#071c39Protanopia
no red cones#001737Deuteranopia
no green cones#002025Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #031938; }
.text { color: #031938; }
.border { border: 2px solid #031938; }
.transparent { background-color: rgb(3 25 56 / 50%); }
.gradient { background: linear-gradient(to right, #031938, #080338); }
Similar colors
#011c39Naval Night#041330Squid’s Ink#001f3fMidnight Mirage#112244Dark Eclipse#002147Oxford Blue#161d3bNightwalker#0e1d32Trapped Darkness#161e34Sombre Night
Questions
- What color is #031938?
- #031938 is a very dark, vivid azure, closest to the named color Naval Night. It belongs to the black family of colors.
- What is the RGB value of #031938?
- The RGB value is 3, 25, 56: 3 red, 25 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #031938?
- The complementary color is #382203, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031938?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.5:1. WCAG asks for at least 4.5:1 for normal text.