#2a4282 color: Official Violet
#2a4282 is rgb(42, 66, 130) in RGB and oklch(39.612% 0.11163 266.01) 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 #2a4282
#2a4282 is a soft dark blue color. In OKLCH it has 39.6% lightness, 0.112 chroma and a hue of 266°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.55:1 contrast and black text 2.2:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #2a4282 mixed with white
Darker: #2a4282 mixed with black
Calmer: #2a4282 with less saturation
Similar named colors
Colors that go with #2a4282
Questions about #2a4282
What color is #2a4282?
#2a4282 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 130), in HSL hsl(223.64, 51.16%, 33.73%) and in OKLCH oklch(39.612% 0.11163 266.01).
What colors go well with #2a4282?
The complementary color of #2a4282 is #5e4100. For a calmer combination use the analogous colors #004d79 and #4d377b. The triadic partners are #772825 and #0e561d.
Is white or black text more readable on #2a4282?
White text reads better on #2a4282: white gives a contrast ratio of 9.55:1 and black gives 2.2:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a4282 a warm or cool color?
#2a4282 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.6% and its chroma 0.112.