#304281 color: Official Violet
#304281 is rgb(48, 66, 129) in RGB and oklch(39.892% 0.10806 269.077) 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 49%
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 #304281
#304281 is a soft dark blue color. In OKLCH it has 39.9% lightness, 0.108 chroma and a hue of 269°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.45:1 contrast and black text 2.22:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #304281 mixed with white
Darker: #304281 mixed with black
Calmer: #304281 with less saturation
Similar named colors
Colors that go with #304281
Questions about #304281
What color is #304281?
#304281 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 129), in HSL hsl(226.67, 45.76%, 34.71%) and in OKLCH oklch(39.892% 0.10806 269.077).
What colors go well with #304281?
The complementary color of #304281 is #5d4300. For a calmer combination use the analogous colors #004d7a and #503779. The triadic partners are #772b23 and #085724.
Is white or black text more readable on #304281?
White text reads better on #304281: white gives a contrast ratio of 9.45:1 and black gives 2.22:1. WCAG AA asks for at least 4.5:1 for body text.
Is #304281 a warm or cool color?
#304281 is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.9% and its chroma 0.108.