# #1a5277 color: Midnight Sonata

#1a5277 is rgb(26, 82, 119) in RGB and oklch(42.097% 0.08407 241.998) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a5277 |
| RGB | rgb(26, 82, 119) |
| HSL | hsl(203.87, 64.14%, 28.43%) |
| HSB / HSV | hsv(203.87 78.15% 46.67%) |
| HWB | hwb(203.87 10.2% 53.33%) |
| CMYK | cmyk(78% 31% 0% 53%) |
| Lab | lab(32.69 -8.09 -26.79) |
| LCH | lch(32.69 27.98 253.2) |
| OKLab | oklab(42.097% -0.03947 -0.07422) |
| OKLCH | oklch(42.097% 0.08407 241.998) |
| Display P3 | color(display-p3 0.16598 0.31696 0.45442) |
| Rec. 2020 | color(rec2020 0.16541 0.25427 0.39961) |
| Adobe RGB | color(a98-rgb 0.20734 0.3249 0.45894) |
| ProPhoto RGB | color(prophoto-rgb 0.20806 0.24566 0.37336) |
| Linear sRGB | color(srgb-linear 0.01033 0.08438 0.18447) |
| XYZ D65 | color(xyz-d65 0.06773 0.07586 0.18561) |
| XYZ D50 | color(xyz-d50 0.0634 0.07397 0.14007) |
| SwiftUI | Color(red: 0.102, green: 0.322, blue: 0.467) |
| UIKit | UIColor(red: 0.102, green: 0.322, blue: 0.467, alpha: 1) |
| Flutter / Compose | Color(0xFF1A5277) |
| Android XML | #1A5277 |

## Facts

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

## Tints

#1a5277, #336284, #497392, #5f839f, #7594ad, #8ba5ba, #a2b7c8, #b8c9d5, #d0dae3, #e7edf1

## Shades

#1a5277, #154667, #103b57, #0c2f47, #072538, #041a2a, #02111c, #010810, #000205, #000001

## Tones

#1a5277, #225273, #29526f, #2f516b, #345167, #395063, #3d505e, #424f5a, #464f56, #494e52

## Harmonies

- Complementary: #1a5277, #6d4114
- Split: #1a5277, #743a2f, #5e4b04
- Analogous: #1a5277, #005968, #3d4a7b
- Triadic: #1a5277, #72384a, #46541a
- Tetradic: #1a5277, #564173, #6d4114, #46541a
- Square: #1a5277, #683b62, #6d4114, #235a36
- Monochromatic: #1a5277, #00132e, #003154, #3f759c, #6299c2

## Questions about #1a5277

### What color is #1a5277?

#1a5277 is deep dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(26, 82, 119), in HSL hsl(203.87, 64.14%, 28.43%) and in OKLCH oklch(42.097% 0.08407 241.998).

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

The complementary color of #1a5277 is #6d4114. For a calmer combination use the analogous colors #005968 and #3d4a7b. The triadic partners are #72384a and #46541a.

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

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

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

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