#021a33 color: Oxford by Night
#021a33 is rgb(2, 26, 51) in RGB and oklch(21.498% 0.05812 251.231) 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 80%
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 #021a33
#021a33 is a soft very dark blue color. In OKLCH it has 21.5% lightness, 0.058 chroma and a hue of 251°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.53:1 contrast and black text 1.2: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: #021a33 mixed with white
Darker: #021a33 mixed with black
Calmer: #021a33 with less saturation
Similar named colors
Colors that go with #021a33
Questions about #021a33
What color is #021a33?
#021a33 is soft very dark blue. The closest named color is Oxford by Night. In RGB it is rgb(2, 26, 51), in HSL hsl(210.61, 92.45%, 10.39%) and in OKLCH oklch(21.498% 0.05812 251.231).
What colors go well with #021a33?
The complementary color of #021a33 is #2a1300. For a calmer combination use the analogous colors #001f2c and #151533. The triadic partners are #2f0b13 and #0f1e00.
Is white or black text more readable on #021a33?
White text reads better on #021a33: white gives a contrast ratio of 17.53:1 and black gives 1.2:1. WCAG AA asks for at least 4.5:1 for body text.
Is #021a33 a warm or cool color?
#021a33 is a cool color. In OKLCH its hue is 251 degrees, its lightness 21.5% and its chroma 0.058.