#304287 color: Official Violet
#304287 is rgb(48, 66, 135) in RGB and oklch(40.331% 0.11709 269.538) 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 #304287
#304287 is a soft dark blue color. In OKLCH it has 40.3% lightness, 0.117 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.31:1 contrast and black text 2.25:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #304287 mixed with white
Darker: #304287 mixed with black
Calmer: #304287 with less saturation
Similar named colors
Colors that go with #304287
Questions about #304287
What color is #304287?
#304287 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 135), in HSL hsl(227.59, 47.54%, 35.88%) and in OKLCH oklch(40.331% 0.11709 269.538).
What colors go well with #304287?
The complementary color of #304287 is #5e4400. For a calmer combination use the analogous colors #004e80 and #53367e. The triadic partners are #7c291f and #005922.
Is white or black text more readable on #304287?
White text reads better on #304287: white gives a contrast ratio of 9.31:1 and black gives 2.25:1. WCAG AA asks for at least 4.5:1 for body text.
Is #304287 a warm or cool color?
#304287 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.3% and its chroma 0.117.