#181741 color
The hex color #181741 is a very dark, desaturated blue.
In the RGB color model it is made of 9.4% red, 9% green and 25.5% blue (24, 23, 65).
Its hue angle is 241°, with 48% saturation and 17% lightness. For print, the CMYK equivalent is 63% cyan, 65% magenta, 0% yellow and 75% black.
The closest named color is Azulado (#211D49), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.97:1).
#181741 color codes
| HEX | #181741 | |
|---|---|---|
| RGB | rgb(24, 23, 65) | |
| RGB percent | rgb(9.4%, 9%, 25.5%) | |
| HSL | hsl(241, 48%, 17%) | |
| HSV / HSB | hsv(241, 65%, 25%) | |
| CMYK | cmyk(63%, 65%, 0%, 75%) | |
| CIE LAB | lab(10.47, 15.02, -26.65) | |
| CIE LCH | lch(10.47, 30.59, 299.4) | |
| CIE XYZ | xyz(1.637, 1.189, 5.143) | |
| Decimal | 1578817 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181741, 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 #181741 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.97:1 | Pass | Pass | Pass |
| #181741 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.97:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #181741 looks to people with the most common types of color vision deficiency.
#001e42Protanopia
no red cones#001b40Deuteranopia
no green cones#042129Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #181741; }
.text { color: #181741; }
.border { border: 2px solid #181741; }
.transparent { background-color: rgb(24 23 65 / 50%); }
.gradient { background: linear-gradient(to right, #181741, #2d1741); }
Similar colors
#211d49Azulado#1c1e4dFly-by-Night#111144Deadly Depths#231c4dSilent Orbit#071037Infinite Night#222244Black Market#222255Spacescape#1c0f33Midnight Monarch
Closest common color name: Oxford Blue.
Questions
- What color is #181741?
- #181741 is a very dark, desaturated blue, closest to the named color Azulado. It belongs to the black family of colors.
- What is the RGB value of #181741?
- The RGB value is 24, 23, 65: 24 red, 23 green and 65 blue on a 0 to 255 scale.
- What is the complementary color of #181741?
- The complementary color is #404117, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181741?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.97:1. WCAG asks for at least 4.5:1 for normal text.