#031A32 color
The hex color #031A32 is a very dark, vivid azure.
In the RGB color model it is made of 1.2% red, 10.2% green and 19.6% blue (3, 26, 50).
Its hue angle is 211°, with 89% saturation and 10% lightness. For print, the CMYK equivalent is 94% cyan, 48% magenta, 0% yellow and 80% black.
The closest named color is Naval Night (#011C39), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.53:1).
#031A32 color codes
| HEX | #031A32 | |
|---|---|---|
| RGB | rgb(3, 26, 50) | |
| RGB percent | rgb(1.2%, 10.2%, 19.6%) | |
| HSL | hsl(211, 89%, 10%) | |
| HSV / HSB | hsv(211, 94%, 20%) | |
| CMYK | cmyk(94%, 48%, 0%, 80%) | |
| CIE LAB | lab(8.89, 1.62, -18.52) | |
| CIE LCH | lch(8.89, 18.59, 274.99) | |
| CIE XYZ | xyz(0.982, 0.988, 3.156) | |
| Decimal | 203314 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031A32, 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 #031A32 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.53:1 | Pass | Pass | Pass |
| #031A32 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.53: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 #031A32 looks to people with the most common types of color vision deficiency.
#0e1c33Protanopia
no red cones#061732Deuteranopia
no green cones#002023Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #031a32; }
.text { color: #031a32; }
.border { border: 2px solid #031a32; }
.transparent { background-color: rgb(3 26 50 / 50%); }
.gradient { background: linear-gradient(to right, #031a32, #040332); }
Similar colors
#011c39Naval Night#0e1d32Trapped Darkness#001f3fMidnight Mirage#001b2eOxford by Night#161e34Sombre Night#041330Squid’s Ink#102030The Count’s Black#002147Oxford Blue
Questions
- What color is #031A32?
- #031A32 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 #031A32?
- The RGB value is 3, 26, 50: 3 red, 26 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #031A32?
- The complementary color is #321B03, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031A32?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.53:1. WCAG asks for at least 4.5:1 for normal text.