#181530 color
The hex color #181530 is a very dark, desaturated blue.
In the RGB color model it is made of 9.4% red, 8.2% green and 18.8% blue (24, 21, 48).
Its hue angle is 247°, with 39% saturation and 14% lightness. For print, the CMYK equivalent is 50% cyan, 56% magenta, 0% yellow and 81% black.
The closest named color is Dark Knight (#151931), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.67:1).
#181530 color codes
| HEX | #181530 | |
|---|---|---|
| RGB | rgb(24, 21, 48) | |
| RGB percent | rgb(9.4%, 8.2%, 18.8%) | |
| HSL | hsl(247, 39%, 14%) | |
| HSV / HSB | hsv(247, 56%, 19%) | |
| CMYK | cmyk(50%, 56%, 0%, 81%) | |
| CIE LAB | lab(8.51, 10.05, -17.57) | |
| CIE LCH | lch(8.51, 20.24, 299.77) | |
| CIE XYZ | xyz(1.178, 0.944, 2.916) | |
| Decimal | 1578288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181530, 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 #181530 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.67:1 | Pass | Pass | Pass |
| #181530 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.67:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #181530 looks to people with the most common types of color vision deficiency.
#0b1931Protanopia
no red cones#0a182fDeuteranopia
no green cones#111a20Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #181530; }
.text { color: #181530; }
.border { border: 2px solid #181530; }
.transparent { background-color: rgb(24 21 48 / 50%); }
.gradient { background: linear-gradient(to right, #181530, #251530); }
Similar colors
#151931Dark Knight#161d3bNightwalker#060929Mysterious Depths#1c0f33Midnight Monarch#222244Black Market#2a2243Midnight Velvet#071037Infinite Night#111122Corbeau
Closest common color name: Dark Purple.
Questions
- What color is #181530?
- #181530 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 #181530?
- The RGB value is 24, 21, 48: 24 red, 21 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #181530?
- The complementary color is #2D3015, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181530?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.67:1. WCAG asks for at least 4.5:1 for normal text.