# #1a5274 color: Midnight Sonata

#1a5274 is rgb(26, 82, 116) in RGB and oklch(41.924% 0.08044 239.757) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a5274 |
| RGB | rgb(26, 82, 116) |
| HSL | hsl(202.67, 63.38%, 27.84%) |
| HSB / HSV | hsv(202.67 77.59% 45.49%) |
| HWB | hwb(202.67 10.2% 54.51%) |
| CMYK | cmyk(78% 29% 0% 55%) |
| Lab | lab(32.56 -9.03 -25.13) |
| LCH | lch(32.56 26.7 250.24) |
| OKLab | oklab(41.924% -0.04052 -0.06949) |
| OKLCH | oklch(41.924% 0.08044 239.757) |
| Display P3 | color(display-p3 0.16598 0.31696 0.44335) |
| Rec. 2020 | color(rec2020 0.1642 0.25405 0.38801) |
| Adobe RGB | color(a98-rgb 0.20734 0.3249 0.44788) |
| ProPhoto RGB | color(prophoto-rgb 0.20535 0.24519 0.36285) |
| Linear sRGB | color(srgb-linear 0.01033 0.08438 0.17465) |
| XYZ D65 | color(xyz-d65 0.06595 0.07515 0.17626) |
| XYZ D50 | color(xyz-d50 0.06199 0.07337 0.13305) |
| SwiftUI | Color(red: 0.102, green: 0.322, blue: 0.455) |
| UIKit | UIColor(red: 0.102, green: 0.322, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF1A5274) |
| Android XML | #1A5274 |

## 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.39:1
- Contrast with black: 2.5:1

## Tints

#1a5274, #336281, #49738f, #5f839d, #7594aa, #8ba5b8, #a2b7c6, #b8c8d4, #d0dae2, #e7edf1

## Shades

#1a5274, #154664, #103b54, #0c2f45, #072537, #041a29, #02111b, #01080f, #000205, #000001

## Tones

#1a5274, #225270, #29516c, #2e5169, #345165, #385061, #3d505d, #414f59, #454e55, #494e51

## Harmonies

- Complementary: #1a5274, #6c411a
- Split: #1a5274, #723a32, #5e4a0b
- Analogous: #1a5274, #005865, #3c4a79
- Triadic: #1a5274, #70394b, #48531b
- Tetradic: #1a5274, #544272, #6c411a, #48531b
- Square: #1a5274, #653c62, #6c411a, #285934
- Monochromatic: #1a5274, #00132c, #003151, #3f7598, #6299be

## Questions about #1a5274

### What color is #1a5274?

#1a5274 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(26, 82, 116), in HSL hsl(202.67, 63.38%, 27.84%) and in OKLCH oklch(41.924% 0.08044 239.757).

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

The complementary color of #1a5274 is #6c411a. For a calmer combination use the analogous colors #005865 and #3c4a79. The triadic partners are #70394b and #48531b.

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

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

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

#1a5274 is a cool color. In OKLCH its hue is 240 degrees, its lightness 41.9% and its chroma 0.08.
