#304188 color: Official Violet
#304188 is rgb(48, 65, 136) in RGB and oklch(40.19% 0.11994 270.104) 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 #304188
#304188 is a soft dark blue color. In OKLCH it has 40.2% lightness, 0.12 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.39:1 contrast and black text 2.24:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #304188 mixed with white
Darker: #304188 mixed with black
Calmer: #304188 with less saturation
Similar named colors
Colors that go with #304188
Questions about #304188
What color is #304188?
#304188 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 65, 136), in HSL hsl(228.41, 47.83%, 36.08%) and in OKLCH oklch(40.19% 0.11994 270.104).
What colors go well with #304188?
The complementary color of #304188 is #5d4400. For a calmer combination use the analogous colors #004d81 and #53357e. The triadic partners are #7c271d and #005921.
Is white or black text more readable on #304188?
White text reads better on #304188: white gives a contrast ratio of 9.39:1 and black gives 2.24:1. WCAG AA asks for at least 4.5:1 for body text.
Is #304188 a warm or cool color?
#304188 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.2% and its chroma 0.12.