#031238 color: Infinite Night
#031238 is rgb(3, 18, 56) in RGB and oklch(19.86% 0.07758 262.819) 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 78%
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 #031238
#031238 is a soft very dark blue color. In OKLCH it has 19.9% lightness, 0.078 chroma and a hue of 263°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.3:1 contrast and black text 1.15:1, so white text reads better.
The closest named color is Infinite Night (#071037). In Tailwind CSS the closest color is slate-900.
Lighter: #031238 mixed with white
Darker: #031238 mixed with black
Calmer: #031238 with less saturation
Similar named colors
Colors that go with #031238
Questions about #031238
What color is #031238?
#031238 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(3, 18, 56), in HSL hsl(223.02, 89.83%, 11.57%) and in OKLCH oklch(19.86% 0.07758 262.819).
What colors go well with #031238?
The complementary color of #031238 is #221200. For a calmer combination use the analogous colors #00192e and #180b35. The triadic partners are #310104 and #001d00.
Is white or black text more readable on #031238?
White text reads better on #031238: white gives a contrast ratio of 18.3:1 and black gives 1.15:1. WCAG AA asks for at least 4.5:1 for body text.
Is #031238 a warm or cool color?
#031238 is a cool color. In OKLCH its hue is 263 degrees, its lightness 19.9% and its chroma 0.078.