#031318 color
The hex color #031318 is a very dark, moderate cyan.
In the RGB color model it is made of 1.2% red, 7.5% green and 9.4% blue (3, 19, 24).
Its hue angle is 194°, with 78% saturation and 5% lightness. For print, the CMYK equivalent is 88% cyan, 21% magenta, 0% yellow and 91% black.
The closest named color is Black Stallion (#0E191C), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.92:1).
#031318 color codes
| HEX | #031318 | |
|---|---|---|
| RGB | rgb(3, 19, 24) | |
| RGB percent | rgb(1.2%, 7.5%, 9.4%) | |
| HSL | hsl(194, 78%, 5%) | |
| HSV / HSB | hsv(194, 88%, 9%) | |
| CMYK | cmyk(88%, 21%, 0%, 91%) | |
| CIE LAB | lab(4.98, -3.62, -4.97) | |
| CIE LCH | lch(4.98, 6.15, 233.89) | |
| CIE XYZ | xyz(0.435, 0.551, 0.947) | |
| Decimal | 201496 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #031318, 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 #031318 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.92:1 | Pass | Pass | Pass |
| #031318 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.92:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #031318 looks to people with the most common types of color vision deficiency.
#101218Protanopia
no red cones#0d1018Deuteranopia
no green cones#001515Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #031318; }
.text { color: #031318; }
.border { border: 2px solid #031318; }
.transparent { background-color: rgb(3 19 24 / 50%); }
.gradient { background: linear-gradient(to right, #031318, #030918); }
Similar colors
#0e191cBlack Stallion#010b13Rich Black#010b13Black Knight#0c121bMidnight Edition#060b14Dark Rift#0f1012Ruined Smores#161718Dark Moon#03050aEight Ball
Questions
- What color is #031318?
- #031318 is a very dark, moderate cyan, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #031318?
- The RGB value is 3, 19, 24: 3 red, 19 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #031318?
- The complementary color is #180803, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #031318?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.92:1. WCAG asks for at least 4.5:1 for normal text.