#2a5798 color: Cyan Cobalt Blue
#2a5798 is rgb(42, 87, 152) in RGB and oklch(45.96% 0.11718 257.837) 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
- ≈ Sapphire
- sky-800
- Black 40%
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 #2a5798
#2a5798 is a soft dark blue color. In OKLCH it has 46% lightness, 0.117 chroma and a hue of 258°.
Inside sRGB: displays the same on any screen.
White text on it reaches 7.2:1 contrast and black text 2.92:1, so white text reads better.
The closest named color is Cyan Cobalt Blue (#28589c). In Tailwind CSS the closest color is sky-800.
Lighter: #2a5798 mixed with white
Darker: #2a5798 mixed with black
Calmer: #2a5798 with less saturation
Similar named colors
Colors that go with #2a5798
Questions about #2a5798
What color is #2a5798?
#2a5798 is soft dark blue. The closest named color is Cyan Cobalt Blue. In RGB it is rgb(42, 87, 152), in HSL hsl(215.45, 56.7%, 38.04%) and in OKLCH oklch(45.96% 0.11718 257.837).
What colors go well with #2a5798?
The complementary color of #2a5798 is #7a4d00. For a calmer combination use the analogous colors #006288 and #564b95. The triadic partners are #8d373f and #34661e.
Is white or black text more readable on #2a5798?
White text reads better on #2a5798: white gives a contrast ratio of 7.2:1 and black gives 2.92:1. WCAG AA asks for at least 4.5:1 for body text.
Is #2a5798 a warm or cool color?
#2a5798 is a cool color. In OKLCH its hue is 258 degrees, its lightness 46% and its chroma 0.117.