#1f407f color: Mazarine Blue
#1f407f is rgb(31, 64, 127) in RGB and oklch(38.389% 0.11361 261.809) 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
- ≈ Cobalt
- blue-900
- Black 50%
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 #1f407f
#1f407f is a soft dark blue color. In OKLCH it has 38.4% lightness, 0.114 chroma and a hue of 262°.
Inside sRGB: displays the same on any screen.
White text on it reaches 10.01:1 contrast and black text 2.1:1, so white text reads better.
The closest named color is Mazarine Blue (#2a407e). In Tailwind CSS the closest color is blue-900.
Lighter: #1f407f mixed with white
Darker: #1f407f mixed with black
Calmer: #1f407f with less saturation
Similar named colors
Colors that go with #1f407f
Questions about #1f407f
What color is #1f407f?
#1f407f is soft dark blue. The closest named color is Mazarine Blue. In RGB it is rgb(31, 64, 127), in HSL hsl(219.38, 60.76%, 30.98%) and in OKLCH oklch(38.389% 0.11361 261.809).
What colors go well with #1f407f?
The complementary color of #1f407f is #5d3c00. For a calmer combination use the analogous colors #004b70 and #46347a. The triadic partners are #742327 and #165110.
Is white or black text more readable on #1f407f?
White text reads better on #1f407f: white gives a contrast ratio of 10.01:1 and black gives 2.1:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f407f a warm or cool color?
#1f407f is a cool color. In OKLCH its hue is 262 degrees, its lightness 38.4% and its chroma 0.114.