#021b31 color: Oxford by Night
#021b31 is rgb(2, 27, 49) in RGB and oklch(21.632% 0.05366 247.72) 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 81%
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 #021b31
#021b31 is a soft very dark blue color. In OKLCH it has 21.6% lightness, 0.054 chroma and a hue of 248°.
Inside sRGB: displays the same on any screen.
White text on it reaches 17.45: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: #021b31 mixed with white
Darker: #021b31 mixed with black
Calmer: #021b31 with less saturation
Similar named colors
Colors that go with #021b31
Questions about #021b31
What color is #021b31?
#021b31 is soft very dark blue. The closest named color is Oxford by Night. In RGB it is rgb(2, 27, 49), in HSL hsl(208.09, 92.16%, 10%) and in OKLCH oklch(21.632% 0.05366 247.72).
What colors go well with #021b31?
The complementary color of #021b31 is #2a1400. For a calmer combination use the analogous colors #001f2a and #141632. The triadic partners are #2e0d15 and #131e01.
Is white or black text more readable on #021b31?
White text reads better on #021b31: white gives a contrast ratio of 17.45:1 and black gives 1.2:1. WCAG AA asks for at least 4.5:1 for body text.
Is #021b31 a warm or cool color?
#021b31 is a cool color. In OKLCH its hue is 248 degrees, its lightness 21.6% and its chroma 0.054.