#031E31 color
The hex color #031E31 is a very dark, vivid azure.
In the RGB color model it is made of 1.2% red, 11.8% green and 19.2% blue (3, 30, 49).
Its hue angle is 205°, with 88% saturation and 10% lightness. For print, the CMYK equivalent is 94% cyan, 39% magenta, 0% yellow and 81% black.
The closest named color is Oxford by Night (#001B2E), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.02:1).
#031E31 color codes
| HEX | #031E31 | |
|---|---|---|
| RGB | rgb(3, 30, 49) | |
| RGB percent | rgb(1.2%, 11.8%, 19.2%) | |
| HSL | hsl(205, 88%, 10%) | |
| HSV / HSB | hsv(205, 94%, 19%) | |
| CMYK | cmyk(94%, 39%, 0%, 81%) | |
| CIE LAB | lab(10.33, -1.93, -15.51) | |
| CIE LCH | lch(10.33, 15.63, 262.92) | |
| CIE XYZ | xyz(1.056, 1.17, 3.075) | |
| Decimal | 204337 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031E31, 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 #031E31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.02:1 | Pass | Pass | Pass |
| #031E31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.02:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #031E31 looks to people with the most common types of color vision deficiency.
#151f32Protanopia
no red cones#0e1a31Deuteranopia
no green cones#002325Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #031e31; }
.text { color: #031e31; }
.border { border: 2px solid #031e31; }
.transparent { background-color: rgb(3 30 49 / 50%); }
.gradient { background: linear-gradient(to right, #031e31, #030731); }
Similar colors
#001b2eOxford by Night#102030The Count’s Black#002233Midnight Dreams#0e1d32Trapped Darkness#1b2431Dark#011c39Naval Night#001f3fMidnight Mirage#172b36Oceanic Noir
Closest common color name: Oxford Blue.
Questions
- What color is #031E31?
- #031E31 is a very dark, vivid azure, closest to the named color Oxford by Night. It belongs to the black family of colors.
- What is the RGB value of #031E31?
- The RGB value is 3, 30, 49: 3 red, 30 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #031E31?
- The complementary color is #311603, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031E31?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.02:1. WCAG asks for at least 4.5:1 for normal text.