#040f30 color: Squid’s Ink
#040f30 is rgb(4, 15, 48) in RGB and oklch(18.334% 0.06833 264.592) 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 #040f30
#040f30 is a soft very dark blue color. In OKLCH it has 18.3% lightness, 0.068 chroma and a hue of 265°.
Inside sRGB: displays the same on any screen.
White text on it reaches 18.81:1 contrast and black text 1.12:1, so white text reads better.
The closest named color is Squid’s Ink (#041330). In Tailwind CSS the closest color is slate-900.
Lighter: #040f30 mixed with white
Darker: #040f30 mixed with black
Calmer: #040f30 with less saturation
Similar named colors
Colors that go with #040f30
Questions about #040f30
What color is #040f30?
#040f30 is soft very dark blue. The closest named color is Squid’s Ink. In RGB it is rgb(4, 15, 48), in HSL hsl(225, 84.62%, 10.2%) and in OKLCH oklch(18.334% 0.06833 264.592).
What colors go well with #040f30?
The complementary color of #040f30 is #1e0f00. For a calmer combination use the analogous colors #00152a and #15092d. The triadic partners are #2a0203 and #001900.
Is white or black text more readable on #040f30?
White text reads better on #040f30: white gives a contrast ratio of 18.81:1 and black gives 1.12:1. WCAG AA asks for at least 4.5:1 for body text.
Is #040f30 a warm or cool color?
#040f30 is a cool color. In OKLCH its hue is 265 degrees, its lightness 18.3% and its chroma 0.068.