#181930 color
The hex color #181930 is a very dark, desaturated blue.
In the RGB color model it is made of 9.4% red, 9.8% green and 18.8% blue (24, 25, 48).
Its hue angle is 238°, with 33% saturation and 14% lightness. For print, the CMYK equivalent is 50% cyan, 48% magenta, 0% yellow and 81% black.
The closest named color is Dark Knight (#151931), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.21:1).
#181930 color codes
| HEX | #181930 | |
|---|---|---|
| RGB | rgb(24, 25, 48) | |
| RGB percent | rgb(9.4%, 9.8%, 18.8%) | |
| HSL | hsl(238, 33%, 14%) | |
| HSV / HSB | hsv(238, 50%, 19%) | |
| CMYK | cmyk(50%, 48%, 0%, 81%) | |
| CIE LAB | lab(9.82, 6.97, -15.5) | |
| CIE LCH | lch(9.82, 16.99, 294.21) | |
| CIE XYZ | xyz(1.258, 1.103, 2.942) | |
| Decimal | 1579312 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181930, 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 #181930 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.21:1 | Pass | Pass | Pass |
| #181930 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.21: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 #181930 looks to people with the most common types of color vision deficiency.
#111c31Protanopia
no red cones#101a2fDeuteranopia
no green cones#111e22Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #181930; }
.text { color: #181930; }
.border { border: 2px solid #181930; }
.transparent { background-color: rgb(24 25 48 / 50%); }
.gradient { background: linear-gradient(to right, #181930, #231830); }
Similar colors
#151931Dark Knight#161d3bNightwalker#161e34Sombre Night#1f2133Eclipse Elixir#111122Corbeau#222233Black Velvet#050d25Void#060929Mysterious Depths
Closest common color name: Oxford Blue.
Questions
- What color is #181930?
- #181930 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
- What is the RGB value of #181930?
- The RGB value is 24, 25, 48: 24 red, 25 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #181930?
- The complementary color is #302F18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181930?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.21:1. WCAG asks for at least 4.5:1 for normal text.