#070817 color
The hex color #070817 is a very dark, moderate blue.
In the RGB color model it is made of 2.7% red, 3.1% green and 9% blue (7, 8, 23).
Its hue angle is 236°, with 53% saturation and 6% lightness. For print, the CMYK equivalent is 70% cyan, 65% magenta, 0% yellow and 91% black.
The closest named color is Obsidian Shard (#060313), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.88:1).
#070817 color codes
| HEX | #070817 | |
|---|---|---|
| RGB | rgb(7, 8, 23) | |
| RGB percent | rgb(2.7%, 3.1%, 9%) | |
| HSL | hsl(236, 53%, 6%) | |
| HSV / HSB | hsv(236, 70%, 9%) | |
| CMYK | cmyk(70%, 65%, 0%, 91%) | |
| CIE LAB | lab(2.54, 2.55, -7.75) | |
| CIE LCH | lch(2.54, 8.16, 288.23) | |
| CIE XYZ | xyz(0.329, 0.281, 0.847) | |
| Decimal | 460823 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #070817, 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 #070817 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.88:1 | Pass | Pass | Pass |
| #070817 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.88:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #070817 looks to people with the most common types of color vision deficiency.
#040a18Protanopia
no red cones#030917Deuteranopia
no green cones#030b0eTritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #070817; }
.text { color: #070817; }
.border { border: 2px solid #070817; }
.transparent { background-color: rgb(7 8 23 / 50%); }
.gradient { background: linear-gradient(to right, #070817, #0e0717); }
Similar colors
#060313Obsidian Shard#080813Narwhal Gray#0b0c14Midnight Oil#16141cBack in Black#060b14Dark Rift#0c121bMidnight Edition#16161dEigengrau#111122Corbeau
Closest common color name: Midnight Black.
Questions
- What color is #070817?
- #070817 is a very dark, moderate blue, closest to the named color Obsidian Shard. It belongs to the black family of colors.
- What is the RGB value of #070817?
- The RGB value is 7, 8, 23: 7 red, 8 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #070817?
- The complementary color is #171607, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #070817?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.88:1. WCAG asks for at least 4.5:1 for normal text.