#2f42a7 color: Soft dark blue
#2f42a7 is rgb(47, 66, 167) in RGB and oklch(42.856% 0.16317 269.915) 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-800
- Black 35%
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 #2f42a7
#2f42a7 is a soft dark blue color. In OKLCH it has 42.9% lightness, 0.163 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.54:1 contrast and black text 2.46:1, so white text reads better.
The closest named color is Early Spring Night (#3c3fb1). In Tailwind CSS the closest color is blue-800.
Lighter: #2f42a7 mixed with white
Darker: #2f42a7 mixed with black
Calmer: #2f42a7 with less saturation
Similar named colors
Colors that go with #2f42a7
Questions about #2f42a7
What color is #2f42a7?
#2f42a7 is soft dark blue. The closest named color is Soft dark blue. In RGB it is rgb(47, 66, 167), in HSL hsl(230.5, 56.07%, 41.96%) and in OKLCH oklch(42.856% 0.16317 269.915).
What colors go well with #2f42a7?
The complementary color of #2f42a7 is #664b00. For a calmer combination use the analogous colors #00558c and #5f3099. The triadic partners are #941409 and #006419.
Is white or black text more readable on #2f42a7?
White text reads better on #2f42a7: white gives a contrast ratio of 8.54:1 and black gives 2.46:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2f42a7 a warm or cool color?
#2f42a7 is a cool color. In OKLCH its hue is 270 degrees, its lightness 42.9% and its chroma 0.163.