#30417e color: Official Violet
#30417e is rgb(48, 65, 126) in RGB and oklch(39.455% 0.10487 269.417) 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 #30417e
#30417e is a soft dark blue color. In OKLCH it has 39.5% lightness, 0.105 chroma and a hue of 269°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.62:1 contrast and black text 2.18:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #30417e mixed with white
Darker: #30417e mixed with black
Calmer: #30417e with less saturation
Similar named colors
Colors that go with #30417e
Questions about #30417e
What color is #30417e?
#30417e is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 126), in HSL hsl(226.92, 44.83%, 34.12%) and in OKLCH oklch(39.455% 0.10487 269.417).
What colors go well with #30417e?
The complementary color of #30417e is #5b4200. For a calmer combination use the analogous colors #004c78 and #4f3776. The triadic partners are #742b23 and #095524.
Is white or black text more readable on #30417e?
White text reads better on #30417e: white gives a contrast ratio of 9.62:1 and black gives 2.18:1. WCAG AA asks for at least 4.5:1 for body text.
Is #30417e a warm or cool color?
#30417e is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.5% and its chroma 0.105.