# #1a5176 color: Midnight Sonata

#1a5176 is rgb(26, 81, 118) in RGB and oklch(41.781% 0.08368 242.397) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a5176 |
| RGB | rgb(26, 81, 118) |
| HSL | hsl(204.13, 63.89%, 28.24%) |
| HSB / HSV | hsv(204.13 77.97% 46.27%) |
| HWB | hwb(204.13 10.2% 53.73%) |
| CMYK | cmyk(78% 31% 0% 54%) |
| Lab | lab(32.32 -7.83 -26.75) |
| LCH | lch(32.32 27.88 253.68) |
| OKLab | oklab(41.781% -0.03877 -0.07415) |
| OKLCH | oklch(41.781% 0.08368 242.397) |
| Display P3 | color(display-p3 0.16451 0.3131 0.45054) |
| Rec. 2020 | color(rec2020 0.16305 0.25036 0.3955) |
| Adobe RGB | color(a98-rgb 0.20555 0.32121 0.45515) |
| ProPhoto RGB | color(prophoto-rgb 0.20579 0.24236 0.36954) |
| Linear sRGB | color(srgb-linear 0.01033 0.08228 0.18116) |
| XYZ D65 | color(xyz-d65 0.06638 0.07412 0.18221) |
| XYZ D50 | color(xyz-d50 0.06212 0.07227 0.1375) |
| SwiftUI | Color(red: 0.102, green: 0.318, blue: 0.463) |
| UIKit | UIColor(red: 0.102, green: 0.318, blue: 0.463, alpha: 1) |
| Flutter / Compose | Color(0xFF1A5176) |
| Android XML | #1A5176 |

## Facts

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

## Tints

#1a5176, #336183, #497291, #5f839e, #7594ac, #8ba5ba, #a2b6c7, #b8c8d5, #d0dae3, #e7edf1

## Shades

#1a5176, #154566, #103a56, #0c2f47, #072438, #041a29, #02101c, #01070f, #000205, #000001

## Tones

#1a5176, #225172, #28516e, #2e506a, #335066, #384f62, #3d4f5d, #414e59, #454e55, #494d51

## Harmonies

- Complementary: #1a5176, #6c4113
- Split: #1a5176, #733a2e, #5d4b04
- Analogous: #1a5176, #005867, #3d497a
- Triadic: #1a5176, #713748, #455319
- Tetradic: #1a5176, #554072, #6c4113, #455319
- Square: #1a5176, #673a60, #6c4113, #225935
- Monochromatic: #1a5176, #00122d, #003053, #3f749b, #6298c1

## Questions about #1a5176

### What color is #1a5176?

#1a5176 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(26, 81, 118), in HSL hsl(204.13, 63.89%, 28.24%) and in OKLCH oklch(41.781% 0.08368 242.397).

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

The complementary color of #1a5176 is #6c4113. For a calmer combination use the analogous colors #005867 and #3d497a. The triadic partners are #713748 and #455319.

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

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

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

#1a5176 is a cool color. In OKLCH its hue is 242 degrees, its lightness 41.8% and its chroma 0.084.
