#2f4187 color: Official Violet
#2f4187 is rgb(47, 65, 135) in RGB and oklch(40.053% 0.11877 269.537) 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 47%
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 #2f4187
#2f4187 is a soft dark blue color. In OKLCH it has 40.1% lightness, 0.119 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.43:1 contrast and black text 2.23:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #2f4187 mixed with white
Darker: #2f4187 mixed with black
Calmer: #2f4187 with less saturation
Similar named colors
Colors that go with #2f4187
Questions about #2f4187
What color is #2f4187?
#2f4187 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 65, 135), in HSL hsl(227.73, 48.35%, 35.69%) and in OKLCH oklch(40.053% 0.11877 269.537).
What colors go well with #2f4187?
The complementary color of #2f4187 is #5d4400. For a calmer combination use the analogous colors #004d80 and #52357d. The triadic partners are #7b271e and #005820.
Is white or black text more readable on #2f4187?
White text reads better on #2f4187: white gives a contrast ratio of 9.43:1 and black gives 2.23:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2f4187 a warm or cool color?
#2f4187 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.1% and its chroma 0.119.