#30407e color: Official Violet
#30407e is rgb(48, 64, 126) in RGB and oklch(39.232% 0.10625 270.036) 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 51%
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 #30407e
#30407e is a soft dark blue color. In OKLCH it has 39.2% lightness, 0.106 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.72:1 contrast and black text 2.16:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #30407e mixed with white
Darker: #30407e mixed with black
Calmer: #30407e with less saturation
Similar named colors
Colors that go with #30407e
Questions about #30407e
What color is #30407e?
#30407e is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 126), in HSL hsl(227.69, 44.83%, 34.12%) and in OKLCH oklch(39.232% 0.10625 270.036).
What colors go well with #30407e?
The complementary color of #30407e is #5a4200. For a calmer combination use the analogous colors #004b78 and #4f3675. The triadic partners are #742a21 and #035524.
Is white or black text more readable on #30407e?
White text reads better on #30407e: white gives a contrast ratio of 9.72:1 and black gives 2.16:1. WCAG AA asks for at least 4.5:1 for body text.
Is #30407e a warm or cool color?
#30407e is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.2% and its chroma 0.106.