#31417d color: British Mauve
#31417d is rgb(49, 65, 125) in RGB and oklch(39.448% 0.10301 269.929) 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 51%
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 #31417d
#31417d is a soft dark blue color. In OKLCH it has 39.4% lightness, 0.103 chroma and a hue of 270°.
Inside sRGB: displays the same on any screen.
White text on it reaches 9.62:1 contrast and black text 2.18:1, so white text reads better.
The closest named color is British Mauve (#35427b). In Tailwind CSS the closest color is blue-900.
Lighter: #31417d mixed with white
Darker: #31417d mixed with black
Calmer: #31417d with less saturation
Similar named colors
Colors that go with #31417d
Questions about #31417d
What color is #31417d?
#31417d is soft dark blue. The closest named color is British Mauve. In RGB it is rgb(49, 65, 125), in HSL hsl(227.37, 43.68%, 34.12%) and in OKLCH oklch(39.448% 0.10301 269.929).
What colors go well with #31417d?
The complementary color of #31417d is #5b4200. For a calmer combination use the analogous colors #004b77 and #4f3775. The triadic partners are #742c23 and #0a5526.
Is white or black text more readable on #31417d?
White text reads better on #31417d: white gives a contrast ratio of 9.62:1 and black gives 2.18:1. WCAG AA asks for at least 4.5:1 for body text.
Is #31417d a warm or cool color?
#31417d is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.4% and its chroma 0.103.