#180B40 color
The hex color #180B40 is a very dark, moderate violet.
In the RGB color model it is made of 9.4% red, 4.3% green and 25.1% blue (24, 11, 64).
Its hue angle is 255°, with 71% saturation and 15% lightness. For print, the CMYK equivalent is 63% cyan, 83% magenta, 0% yellow and 75% black.
The closest named color is Quiet Abyss (#160435), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.09:1).
#180B40 color codes
| HEX | #180B40 | |
|---|---|---|
| RGB | rgb(24, 11, 64) | |
| RGB percent | rgb(9.4%, 4.3%, 25.1%) | |
| HSL | hsl(255, 71%, 15%) | |
| HSV / HSB | hsv(255, 83%, 25%) | |
| CMYK | cmyk(63%, 83%, 0%, 75%) | |
| CIE LAB | lab(7.26, 22.93, -31.18) | |
| CIE LCH | lch(7.26, 38.71, 306.34) | |
| CIE XYZ | xyz(1.421, 0.804, 4.93) | |
| Decimal | 1575744 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180B40, 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 #180B40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.09:1 | Pass | Pass | Pass |
| #180B40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.09:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #180B40 looks to people with the most common types of color vision deficiency.
#001742Protanopia
no red cones#00143fDeuteranopia
no green cones#071924Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #180b40; }
.text { color: #180b40; }
.border { border: 2px solid #180b40; }
.transparent { background-color: rgb(24 11 64 / 50%); }
.gradient { background: linear-gradient(to right, #180b40, #330b40); }
Similar colors
#160435Quiet Abyss#111144Deadly Depths#0f084bSilent Twilight#000b44Storm#220044Your Darkness#000044Endless Galaxy#231c4dSilent Orbit#1c0f33Midnight Monarch
Closest common color name: Midnight Blue.
Questions
- What color is #180B40?
- #180B40 is a very dark, moderate violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #180B40?
- The RGB value is 24, 11, 64: 24 red, 11 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #180B40?
- The complementary color is #33400B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180B40?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.09:1. WCAG asks for at least 4.5:1 for normal text.