#0c3159 color: Ambassador Blue
#0c3159 is rgb(12, 49, 89) in RGB and oklch(31.131% 0.0827 253.555) 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
- ≈ Midnight blue
- sky-950
- Black 65%
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 #0c3159
#0c3159 is a soft dark blue color. In OKLCH it has 31.1% lightness, 0.083 chroma and a hue of 254°.
Inside sRGB: displays the same on any screen.
White text on it reaches 13.13:1 contrast and black text 1.6:1, so white text reads better.
The closest named color is Ambassador Blue (#0d2f5a). In Tailwind CSS the closest color is sky-950.
Lighter: #0c3159 mixed with white
Darker: #0c3159 mixed with black
Calmer: #0c3159 with less saturation
Similar named colors
Colors that go with #0c3159
Questions about #0c3159
What color is #0c3159?
#0c3159 is soft dark blue. The closest named color is Ambassador Blue. In RGB it is rgb(12, 49, 89), in HSL hsl(211.17, 76.24%, 19.8%) and in OKLCH oklch(31.131% 0.0827 253.555).
What colors go well with #0c3159?
The complementary color of #0c3159 is #492800. For a calmer combination use the analogous colors #00384e and #2c2958. The triadic partners are #521b24 and #1e3905.
Is white or black text more readable on #0c3159?
White text reads better on #0c3159: white gives a contrast ratio of 13.13:1 and black gives 1.6:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c3159 a warm or cool color?
#0c3159 is a cool color. In OKLCH its hue is 254 degrees, its lightness 31.1% and its chroma 0.083.