#304387 color: Official Violet
#304387 is rgb(48, 67, 135) in RGB and oklch(40.549% 0.11573 269.008) 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 #304387
#304387 is a soft dark blue color. In OKLCH it has 40.5% lightness, 0.116 chroma and a hue of 269°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.22:1 contrast and black text 2.28:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #304387 mixed with white
Darker: #304387 mixed with black
Calmer: #304387 with less saturation
Similar named colors
Colors that go with #304387
Questions about #304387
What color is #304387?
#304387 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 67, 135), in HSL hsl(226.9, 47.54%, 35.88%) and in OKLCH oklch(40.549% 0.11573 269.008).
What colors go well with #304387?
The complementary color of #304387 is #5f4500. For a calmer combination use the analogous colors #004f80 and #53377e. The triadic partners are #7c2a21 and #005922.
Is white or black text more readable on #304387?
White text reads better on #304387: white gives a contrast ratio of 9.22:1 and black gives 2.28:1. WCAG AA asks for at least 4.5:1 for body text.
Is #304387 a warm or cool color?
#304387 is a cool color. In OKLCH its hue is 269 degrees, its lightness 40.5% and its chroma 0.116.