#1a5171 color: Midnight Sonata
#1a5171 is rgb(26, 81, 113) in RGB and oklch(41.495% 0.07766 238.538) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Sky blue
- Dark
- Soft
- Cool
- ≈ Charcoal
- cyan-900
- Black 56%
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 #1a5171
#1a5171 is a soft dark sky blue color. In OKLCH it has 41.5% lightness, 0.078 chroma and a hue of 239°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.54:1 contrast and black text 2.46:1, so white text reads better.
The closest named color is Midnight Sonata (#225374). In Tailwind CSS the closest color is cyan-900.
Lighter: #1a5171 mixed with white
Darker: #1a5171 mixed with black
Calmer: #1a5171 with less saturation
Similar named colors
Colors that go with #1a5171
Questions about #1a5171
What color is #1a5171?
#1a5171 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(26, 81, 113), in HSL hsl(202.07, 62.59%, 27.25%) and in OKLCH oklch(41.495% 0.07766 238.538).
What colors go well with #1a5171?
The complementary color of #1a5171 is #6b401c. For a calmer combination use the analogous colors #005762 and #3a4976. The triadic partners are #6d384b and #48511b.
Is white or black text more readable on #1a5171?
White text reads better on #1a5171: white gives a contrast ratio of 8.54:1 and black gives 2.46:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1a5171 a warm or cool color?
#1a5171 is a cool color. In OKLCH its hue is 239 degrees, its lightness 41.5% and its chroma 0.078.