#2a4286 color: Official Violet
#2a4286 is rgb(42, 66, 134) in RGB and oklch(39.91% 0.11759 266.487) 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 #2a4286
#2a4286 is a soft dark blue color. In OKLCH it has 39.9% lightness, 0.118 chroma and a hue of 266°.
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: #2a4286 mixed with white
Darker: #2a4286 mixed with black
Calmer: #2a4286 with less saturation
Similar named colors
Colors that go with #2a4286
Questions about #2a4286
What color is #2a4286?
#2a4286 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 134), in HSL hsl(224.35, 52.27%, 34.51%) and in OKLCH oklch(39.91% 0.11759 266.487).
What colors go well with #2a4286?
The complementary color of #2a4286 is #5f4200. For a calmer combination use the analogous colors #004e7b and #4f367e. The triadic partners are #7a2723 and #04571b.
Is white or black text more readable on #2a4286?
White text reads better on #2a4286: 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 #2a4286 a warm or cool color?
#2a4286 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.9% and its chroma 0.118.