#304186 color: Official Violet
#304186 is rgb(48, 65, 134) in RGB and oklch(40.039% 0.11696 270) 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 #304186
#304186 is a soft dark blue color. In OKLCH it has 40% lightness, 0.117 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: #304186 mixed with white
Darker: #304186 mixed with black
Calmer: #304186 with less saturation
Similar named colors
Colors that go with #304186
Questions about #304186
What color is #304186?
#304186 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 134), in HSL hsl(228.14, 47.25%, 35.69%) and in OKLCH oklch(40.039% 0.11696 270).
What colors go well with #304186?
The complementary color of #304186 is #5d4400. For a calmer combination use the analogous colors #004d7f and #52357c. The triadic partners are #7b281e and #005822.
Is white or black text more readable on #304186?
White text reads better on #304186: 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 #304186 a warm or cool color?
#304186 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40% and its chroma 0.117.