#0c5791 color: Bandana
#0c5791 is rgb(12, 87, 145) in RGB and oklch(44.663% 0.11615 248.71) 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
- ≈ Cobalt
- sky-800
- Black 43%
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 #0c5791
#0c5791 is a deep dark blue color. In OKLCH it has 44.7% lightness, 0.116 chroma and a hue of 249°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.53:1 contrast and black text 2.79:1, so white text reads better.
The closest named color is Bandana (#01578f). In Tailwind CSS the closest color is sky-800.
Lighter: #0c5791 mixed with white
Darker: #0c5791 mixed with black
Calmer: #0c5791 with less saturation
Similar named colors
Colors that go with #0c5791
Questions about #0c5791
What color is #0c5791?
#0c5791 is deep dark blue. The closest named color is Bandana. In RGB it is rgb(12, 87, 145), in HSL hsl(206.17, 84.71%, 30.78%) and in OKLCH oklch(44.663% 0.11615 248.71).
What colors go well with #0c5791?
The complementary color of #0c5791 is #7d4500. For a calmer combination use the analogous colors #00607a and #484b93. The triadic partners are #883347 and #406003.
Is white or black text more readable on #0c5791?
White text reads better on #0c5791: white gives a contrast ratio of 7.53:1 and black gives 2.79:1. WCAG AA asks for at least 4.5:1 for body text.
Is #0c5791 a warm or cool color?
#0c5791 is a cool color. In OKLCH its hue is 249 degrees, its lightness 44.7% and its chroma 0.116.