#2d3f87 color: Official Violet
#2d3f87 is rgb(45, 63, 135) in RGB and oklch(39.502% 0.12212 269.514) 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 #2d3f87
#2d3f87 is a soft dark blue color. In OKLCH it has 39.5% lightness, 0.122 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.67:1 contrast and black text 2.17:1, so white text reads better.
The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.
Lighter: #2d3f87 mixed with white
Darker: #2d3f87 mixed with black
Calmer: #2d3f87 with less saturation
Similar named colors
Colors that go with #2d3f87
Questions about #2d3f87
What color is #2d3f87?
#2d3f87 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(45, 63, 135), in HSL hsl(228, 50%, 35.29%) and in OKLCH oklch(39.502% 0.12212 269.514).
What colors go well with #2d3f87?
The complementary color of #2d3f87 is #5b4200. For a calmer combination use the analogous colors #004c7e and #51337d. The triadic partners are #7b241b and #00571d.
Is white or black text more readable on #2d3f87?
White text reads better on #2d3f87: white gives a contrast ratio of 9.67:1 and black gives 2.17:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2d3f87 a warm or cool color?
#2d3f87 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.5% and its chroma 0.122.