#0a0f31 color: Infinite Night
#0a0f31 is rgb(10, 15, 49) in RGB and oklch(18.898% 0.06737 271.964) 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 81%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #0a0f31
#0a0f31 is a soft very dark indigo color. In OKLCH it has 18.9% lightness, 0.067 chroma and a hue of 272°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.66:1 contrast and black text 1.13:1, so white text reads better.
The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.
Lighter: #0a0f31 mixed with white
Darker: #0a0f31 mixed with black
Calmer: #0a0f31 with less saturation
Similar named colors
Colors that go with #0a0f31
Questions about #0a0f31
What color is #0a0f31?
#0a0f31 is soft very dark indigo. The closest named color is Infinite Night. In RGB it is rgb(10, 15, 49), in HSL hsl(232.31, 66.1%, 11.57%) and in OKLCH oklch(18.898% 0.06737 271.964).
What colors go well with #0a0f31?
The complementary color of #0a0f31 is #1d1200. For a calmer combination use the analogous colors #00152e and #1a092c. The triadic partners are #2b0401 and #001b04.
Is white or black text more readable on #0a0f31?
White text reads better on #0a0f31: white gives a contrast ratio of 18.66:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0a0f31 a warm or cool color?
#0a0f31 is a cool color. In OKLCH its hue is 272 degrees, its lightness 18.9% and its chroma 0.067.