#1f5272 color: Midnight Sonata
#1f5272 is rgb(31, 82, 114) in RGB and oklch(41.98% 0.07585 239.781) 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 55%
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 #1f5272
#1f5272 is a soft dark sky blue color. In OKLCH it has 42% lightness, 0.076 chroma and a hue of 240°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.37:1 contrast and black text 2.51:1, so white text reads better.
The closest named color is Midnight Sonata (#225374). In Tailwind CSS the closest color is cyan-900.
Lighter: #1f5272 mixed with white
Darker: #1f5272 mixed with black
Calmer: #1f5272 with less saturation
Similar named colors
Colors that go with #1f5272
Questions about #1f5272
What color is #1f5272?
#1f5272 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(31, 82, 114), in HSL hsl(203.13, 57.24%, 28.43%) and in OKLCH oklch(41.98% 0.07585 239.781).
What colors go well with #1f5272?
The complementary color of #1f5272 is #6b421e. For a calmer combination use the analogous colors #005864 and #3d4a77. The triadic partners are #6e3a4b and #48531f.
Is white or black text more readable on #1f5272?
White text reads better on #1f5272: white gives a contrast ratio of 8.37:1 and black gives 2.51:1. WCAG AA asks for at least 4.5:1 for body text.
Is #1f5272 a warm or cool color?
#1f5272 is a cool color. In OKLCH its hue is 240 degrees, its lightness 42% and its chroma 0.076.