#334386 color: Official Violet
#334386 is rgb(51, 67, 134) in RGB and oklch(40.663% 0.11326 270.555) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Indigo
- 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 #334386
#334386 is a soft dark indigo color. In OKLCH it has 40.7% lightness, 0.113 chroma and a hue of 271°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.18:1 contrast and black text 2.29:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #334386 mixed with white
Darker: #334386 mixed with black
Calmer: #334386 with less saturation
Similar named colors
Colors that go with #334386
Questions about #334386
What color is #334386?
#334386 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(51, 67, 134), in HSL hsl(228.43, 44.86%, 36.27%) and in OKLCH oklch(40.663% 0.11326 270.555).
What colors go well with #334386?
The complementary color of #334386 is #5e4600. For a calmer combination use the analogous colors #004f80 and #54387c. The triadic partners are #7b2c21 and #005a26.
Is white or black text more readable on #334386?
White text reads better on #334386: white gives a contrast ratio of 9.18:1 and black gives 2.29:1. WCAG AA asks for at least 4.5:1 for body text.
Is #334386 a warm or cool color?
#334386 is a cool color. In OKLCH its hue is 271 degrees, its lightness 40.7% and its chroma 0.113.