#081840 color
The hex color #081840 is a very dark, moderate blue.
In the RGB color model it is made of 3.1% red, 9.4% green and 25.1% blue (8, 24, 64).
Its hue angle is 223°, with 78% saturation and 14% lightness. For print, the CMYK equivalent is 88% cyan, 63% magenta, 0% yellow and 75% black.
The closest named color is Infinite Night (#071037), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.28:1).
#081840 color codes
| HEX | #081840 | |
|---|---|---|
| RGB | rgb(8, 24, 64) | |
| RGB percent | rgb(3.1%, 9.4%, 25.1%) | |
| HSL | hsl(223, 78%, 14%) | |
| HSV / HSB | hsv(223, 88%, 25%) | |
| CMYK | cmyk(88%, 63%, 0%, 75%) | |
| CIE LAB | lab(9.6, 10.8, -27.41) | |
| CIE LCH | lch(9.6, 29.46, 291.5) | |
| CIE XYZ | xyz(1.352, 1.075, 4.986) | |
| Decimal | 530496 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #081840, 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 #081840 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.28:1 | Pass | Pass | Pass |
| #081840 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.28:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #081840 looks to people with the most common types of color vision deficiency.
#001d41Protanopia
no red cones#00183fDeuteranopia
no green cones#002229Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #081840; }
.text { color: #081840; }
.border { border: 2px solid #081840; }
.transparent { background-color: rgb(8 24 64 / 50%); }
.gradient { background: linear-gradient(to right, #081840, #140840); }
Similar colors
#071037Infinite Night#112244Dark Eclipse#161d3bNightwalker#1c1e4dFly-by-Night#041330Squid’s Ink#112255Dark Soul#002147Oxford Blue#000435Oblivion
Questions
- What color is #081840?
- #081840 is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #081840?
- The RGB value is 8, 24, 64: 8 red, 24 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #081840?
- The complementary color is #403008, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #081840?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.28:1. WCAG asks for at least 4.5:1 for normal text.