#0c315b color: Ambassador Blue
#0c315b is rgb(12, 49, 91) in RGB and oklch(31.281% 0.08569 254.489) 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
- Vivid
- Deep
- Cool
- ≈ Midnight blue
- sky-950
- Black 64%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #0c315b
#0c315b is a deep dark blue color. In OKLCH it has 31.3% lightness, 0.086 chroma and a hue of 254°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.08:1 contrast and black text 1.61:1, so white text reads better.
The closest named color is Ambassador Blue (#0d2f5a). In Tailwind CSS the closest color is sky-950.
Lighter: #0c315b mixed with white
Darker: #0c315b mixed with black
Calmer: #0c315b with less saturation
Similar named colors
Colors that go with #0c315b
Questions about #0c315b
What color is #0c315b?
#0c315b is deep dark blue. The closest named color is Ambassador Blue. In RGB it is rgb(12, 49, 91), in HSL hsl(211.9, 76.7%, 20.2%) and in OKLCH oklch(31.281% 0.08569 254.489).
What colors go well with #0c315b?
The complementary color of #0c315b is #4a2800. For a calmer combination use the analogous colors #00384f and #2d295a. The triadic partners are #541a23 and #1d3a04.
Is white or black text more readable on #0c315b?
White text reads better on #0c315b: white gives a contrast ratio of 13.08:1 and black gives 1.61:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c315b a warm or cool color?
#0c315b is a cool color. In OKLCH its hue is 254 degrees, its lightness 31.3% and its chroma 0.086.