#18266f color: Midnight Crest
#18266f is rgb(24, 38, 111) in RGB and oklch(30.983% 0.12689 269.076) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Blue
- Dark
- Soft
- Cool
- ≈ Midnight blue
- blue-950
- Black 56%
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 #18266f
#18266f is a soft dark blue color. In OKLCH it has 31% lightness, 0.127 chroma and a hue of 269°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.59:1 contrast and black text 1.55:1, so white text reads better.
The closest named color is Midnight Crest (#112473). In Tailwind CSS the closest color is blue-950.
Lighter: #18266f mixed with white
Darker: #18266f mixed with black
Calmer: #18266f with less saturation
Similar named colors
Colors that go with #18266f
Questions about #18266f
What color is #18266f?
#18266f is soft dark blue. The closest named color is Midnight Crest. In RGB it is rgb(24, 38, 111), in HSL hsl(230.34, 64.44%, 26.47%) and in OKLCH oklch(30.983% 0.12689 269.076).
What colors go well with #18266f?
The complementary color of #18266f is #412d00. For a calmer combination use the analogous colors #00345b and #3b1966. The triadic partners are #610000 and #003f04.
Is white or black text more readable on #18266f?
White text reads better on #18266f: white gives a contrast ratio of 13.59:1 and black gives 1.55:1. WCAG AA asks for at least 4.5:1 for body text.
Is #18266f a warm or cool color?
#18266f is a cool color. In OKLCH its hue is 269 degrees, its lightness 31% and its chroma 0.127.