#02172d color: Oxford by Night
#02172d is rgb(2, 23, 45) in RGB and oklch(20.128% 0.05254 250.569) 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 82%
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 #02172d
#02172d is a soft very dark blue color. In OKLCH it has 20.1% lightness, 0.053 chroma and a hue of 251°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.06:1 contrast and black text 1.16: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: #02172d mixed with white
Darker: #02172d mixed with black
Calmer: #02172d with less saturation
Similar named colors
Colors that go with #02172d
Questions about #02172d
What color is #02172d?
#02172d is soft very dark blue. The closest named color is Oxford by Night. In RGB it is rgb(2, 23, 45), in HSL hsl(210.7, 91.49%, 9.22%) and in OKLCH oklch(20.128% 0.05254 250.569).
What colors go well with #02172d?
The complementary color of #02172d is #251100. For a calmer combination use the analogous colors #001b27 and #12122d. The triadic partners are #290a11 and #0e1b01.
Is white or black text more readable on #02172d?
White text reads better on #02172d: white gives a contrast ratio of 18.06:1 and black gives 1.16:1. WCAG AA asks for at least 4.5:1 for body text.
Is #02172d a warm or cool color?
#02172d is a cool color. In OKLCH its hue is 251 degrees, its lightness 20.1% and its chroma 0.053.