#30407f color: Official Violet
#30407f is rgb(48, 64, 127) in RGB and oklch(39.305% 0.10778 270.11) 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
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #30407f
#30407f is a soft dark blue color. In OKLCH it has 39.3% lightness, 0.108 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.7:1 contrast and black text 2.17:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #30407f mixed with white
Darker: #30407f mixed with black
Calmer: #30407f with less saturation
Similar named colors
Colors that go with #30407f
Questions about #30407f
What color is #30407f?
#30407f is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 127), in HSL hsl(227.85, 45.14%, 34.31%) and in OKLCH oklch(39.305% 0.10778 270.11).
What colors go well with #30407f?
The complementary color of #30407f is #5a4200. For a calmer combination use the analogous colors #004b79 and #4f3576. The triadic partners are #752a20 and #005524.
Is white or black text more readable on #30407f?
White text reads better on #30407f: white gives a contrast ratio of 9.7:1 and black gives 2.17:1. WCAG AA asks for at least 4.5:1 for body text.
Is #30407f a warm or cool color?
#30407f is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.3% and its chroma 0.108.