# #1a5272 color: Midnight Sonata

#1a5272 is rgb(26, 82, 114) in RGB and oklch(41.812% 0.0781 238.13) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1a5272

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a5272 |
| RGB | rgb(26, 82, 114) |
| HSL | hsl(201.82, 62.86%, 27.45%) |
| HSB / HSV | hsv(201.82 77.19% 44.71%) |
| HWB | hwb(201.82 10.2% 55.29%) |
| CMYK | cmyk(77% 28% 0% 55%) |
| Lab | lab(32.48 -9.65 -24.02) |
| LCH | lch(32.48 25.89 248.12) |
| OKLab | oklab(41.812% -0.04124 -0.06633) |
| OKLCH | oklch(41.812% 0.0781 238.13) |
| Display P3 | color(display-p3 0.16598 0.31696 0.43598) |
| Rec. 2020 | color(rec2020 0.16342 0.25391 0.3803) |
| Adobe RGB | color(a98-rgb 0.20734 0.3249 0.44052) |
| ProPhoto RGB | color(prophoto-rgb 0.20358 0.24488 0.3559) |
| Linear sRGB | color(srgb-linear 0.01033 0.08438 0.16827) |
| XYZ D65 | color(xyz-d65 0.0648 0.07469 0.1702) |
| XYZ D50 | color(xyz-d50 0.06108 0.07299 0.1285) |
| SwiftUI | Color(red: 0.102, green: 0.322, blue: 0.447) |
| UIKit | UIColor(red: 0.102, green: 0.322, blue: 0.447, alpha: 1) |
| Flutter / Compose | Color(0xFF1A5272) |
| Android XML | #1A5272 |

## Facts

- Closest name: Midnight Sonata
- Hue family: Sky blue, soft dark sky blue
- Closest Tailwind class: cyan-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.42:1
- Contrast with black: 2.49:1

## Tints

#1a5272, #336280, #49738d, #5f839b, #7594a9, #8ba5b7, #a2b7c5, #b8c8d4, #d0dae2, #e7edf0

## Shades

#1a5272, #154662, #103b53, #0c2f44, #072536, #041a28, #02111b, #01080e, #000204, #000001

## Tones

#1a5272, #22526e, #29516b, #2e5167, #345063, #385060, #3d4f5c, #414f58, #454e54, #494d50

## Harmonies

- Complementary: #1a5272, #6c411d
- Split: #1a5272, #713b34, #5e4a0f
- Analogous: #1a5272, #005863, #3a4a77
- Triadic: #1a5272, #6e394c, #49521b
- Tetradic: #1a5272, #524271, #6c411d, #49521b
- Square: #1a5272, #633c62, #6c411d, #2c5834
- Monochromatic: #1a5272, #00132a, #00314f, #3f7596, #6299bc

## Questions about #1a5272

### What color is #1a5272?

#1a5272 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(26, 82, 114), in HSL hsl(201.82, 62.86%, 27.45%) and in OKLCH oklch(41.812% 0.0781 238.13).

### What colors go well with #1a5272?

The complementary color of #1a5272 is #6c411d. For a calmer combination use the analogous colors #005863 and #3a4a77. The triadic partners are #6e394c and #49521b.

### Is white or black text more readable on #1a5272?

White text reads better on #1a5272: white gives a contrast ratio of 8.42:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1a5272 a warm or cool color?

#1a5272 is a cool color. In OKLCH its hue is 238 degrees, its lightness 41.8% and its chroma 0.078.
