#08172b color: Oxford by Night
#08172b is rgb(8, 23, 43) in RGB and oklch(20.36% 0.04527 256.122) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Very dark
- Soft
- Cool
- ≈ Midnight blue
- slate-900
- Black 83%
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 #08172b
#08172b is a soft very dark blue color. In OKLCH it has 20.4% lightness, 0.045 chroma and a hue of 256°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.98:1 contrast and black text 1.17:1, so white text reads better.
The closest named color is Oxford by Night (#001b2e). In Tailwind CSS the closest color is slate-900.
Lighter: #08172b mixed with white
Darker: #08172b mixed with black
Calmer: #08172b with less saturation
Similar named colors
Colors that go with #08172b
Questions about #08172b
What color is #08172b?
#08172b is soft very dark blue. The closest named color is Oxford by Night. In RGB it is rgb(8, 23, 43), in HSL hsl(214.29, 68.63%, 10%) and in OKLCH oklch(20.36% 0.04527 256.122).
What colors go well with #08172b?
The complementary color of #08172b is #221300. For a calmer combination use the analogous colors #001b26 and #15132a. The triadic partners are #280d10 and #0d1b06.
Is white or black text more readable on #08172b?
White text reads better on #08172b: white gives a contrast ratio of 17.98:1 and black gives 1.17:1. WCAG AA asks for at least 4.5:1 for body text.
Is #08172b a warm or cool color?
#08172b is a cool color. In OKLCH its hue is 256 degrees, its lightness 20.4% and its chroma 0.045.