# #1b5278 color: Midnight Sonata

#1b5278 is rgb(27, 82, 120) in RGB and oklch(42.186% 0.08491 242.994) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b5278 |
| RGB | rgb(27, 82, 120) |
| HSL | hsl(204.52, 63.27%, 28.82%) |
| HSB / HSV | hsv(204.52 77.5% 47.06%) |
| HWB | hwb(204.52 10.59% 52.94%) |
| CMYK | cmyk(78% 32% 0% 53%) |
| Lab | lab(32.77 -7.62 -27.28) |
| LCH | lch(32.77 28.33 254.41) |
| OKLab | oklab(42.186% -0.03856 -0.07565) |
| OKLCH | oklch(42.186% 0.08491 242.994) |
| Display P3 | color(display-p3 0.168 0.317 0.45813) |
| Rec. 2020 | color(rec2020 0.16692 0.25443 0.4035) |
| Adobe RGB | color(a98-rgb 0.20869 0.3249 0.46263) |
| ProPhoto RGB | color(prophoto-rgb 0.20962 0.24593 0.3769) |
| Linear sRGB | color(srgb-linear 0.01096 0.08438 0.18782) |
| XYZ D65 | color(xyz-d65 0.06859 0.07623 0.1888) |
| XYZ D50 | color(xyz-d50 0.06415 0.07431 0.14247) |
| SwiftUI | Color(red: 0.106, green: 0.322, blue: 0.471) |
| UIKit | UIColor(red: 0.106, green: 0.322, blue: 0.471, alpha: 1) |
| Flutter / Compose | Color(0xFF1B5278) |
| Android XML | #1B5278 |

## 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.32:1
- Contrast with black: 2.52:1

## Tints

#1b5278, #346285, #4a7393, #6083a0, #7594ad, #8ca5bb, #a2b7c8, #b9c9d6, #d0dae3, #e7edf1

## Shades

#1b5278, #164667, #113b57, #0c2f48, #082539, #051a2a, #02111d, #010810, #000205, #000001

## Tones

#1b5278, #235274, #295270, #2f516c, #345167, #395163, #3e505f, #424f5b, #464f56, #4a4e52

## Harmonies

- Complementary: #1b5278, #6e4213
- Split: #1b5278, #753a2e, #5e4c03
- Analogous: #1b5278, #005969, #3e497c
- Triadic: #1b5278, #733849, #45551a
- Tetradic: #1b5278, #574174, #6e4213, #45551a
- Square: #1b5278, #693b61, #6e4213, #225b37
- Monochromatic: #1b5278, #00132f, #003155, #3f759d, #6399c3

## Questions about #1b5278

### What color is #1b5278?

#1b5278 is deep dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(27, 82, 120), in HSL hsl(204.52, 63.27%, 28.82%) and in OKLCH oklch(42.186% 0.08491 242.994).

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

The complementary color of #1b5278 is #6e4213. For a calmer combination use the analogous colors #005969 and #3e497c. The triadic partners are #733849 and #45551a.

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

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

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

#1b5278 is a cool color. In OKLCH its hue is 243 degrees, its lightness 42.2% and its chroma 0.085.
