#181a35 color: Dark Knight
#181a35 is rgb(24, 26, 53) in RGB and oklch(23.139% 0.05171 278.337) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- slate-900
- Black 79%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #181a35
#181a35 is a soft very dark indigo color. In OKLCH it has 23.1% lightness, 0.052 chroma and a hue of 278°.
Inside sRGB: displays the same on any screen.
White text on it reaches 16.96:1 contrast and black text 1.24:1, so white text reads better.
The closest named color is Dark Knight (#151931). In Tailwind CSS the closest color is slate-900.
Lighter: #181a35 mixed with white
Darker: #181a35 mixed with black
Calmer: #181a35 with less saturation
Similar named colors
Colors that go with #181a35
Questions about #181a35
What color is #181a35?
#181a35 is soft very dark indigo. The closest named color is Dark Knight. In RGB it is rgb(24, 26, 53), in HSL hsl(235.86, 37.66%, 15.1%) and in OKLCH oklch(23.139% 0.05171 278.337).
What colors go well with #181a35?
The complementary color of #181a35 is #241d00. For a calmer combination use the analogous colors #061f34 and #241630. The triadic partners are #31130a and #022414.
Is white or black text more readable on #181a35?
White text reads better on #181a35: white gives a contrast ratio of 16.96:1 and black gives 1.24:1. WCAG AA asks for at least 4.5:1 for body text.
Is #181a35 a warm or cool color?
#181a35 is a cool color. In OKLCH its hue is 278 degrees, its lightness 23.1% and its chroma 0.052.