# #1b5272 color: Midnight Sonata

#1b5272 is rgb(27, 82, 114) in RGB and oklch(41.844% 0.07767 238.435) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b5272 |
| RGB | rgb(27, 82, 114) |
| HSL | hsl(202.07, 61.7%, 27.65%) |
| HSB / HSV | hsv(202.07 76.32% 44.71%) |
| HWB | hwb(202.07 10.59% 55.29%) |
| CMYK | cmyk(76% 28% 0% 55%) |
| Lab | lab(32.51 -9.48 -23.97) |
| LCH | lch(32.51 25.78 248.42) |
| OKLab | oklab(41.844% -0.04066 -0.06618) |
| OKLCH | oklch(41.844% 0.07767 238.435) |
| Display P3 | color(display-p3 0.168 0.317 0.436) |
| Rec. 2020 | color(rec2020 0.16454 0.25399 0.38032) |
| Adobe RGB | color(a98-rgb 0.20869 0.3249 0.44052) |
| ProPhoto RGB | color(prophoto-rgb 0.20424 0.24499 0.35591) |
| Linear sRGB | color(srgb-linear 0.01096 0.08438 0.16827) |
| XYZ D65 | color(xyz-d65 0.06506 0.07482 0.17021) |
| XYZ D50 | color(xyz-d50 0.06135 0.07313 0.12851) |
| SwiftUI | Color(red: 0.106, green: 0.322, blue: 0.447) |
| UIKit | UIColor(red: 0.106, green: 0.322, blue: 0.447, alpha: 1) |
| Flutter / Compose | Color(0xFF1B5272) |
| Android XML | #1B5272 |

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

## Tints

#1b5272, #346280, #4a738d, #60839b, #7594a9, #8ca5b7, #a2b7c5, #b9c8d4, #d0dae2, #e7edf0

## Shades

#1b5272, #164662, #113b53, #0c2f44, #082536, #051a28, #02111b, #01080e, #000204, #000001

## Tones

#1b5272, #23526e, #29516b, #2f5167, #345063, #395060, #3d4f5c, #414f58, #454e54, #494d50

## Harmonies

- Complementary: #1b5272, #6c411d
- Split: #1b5272, #713b34, #5e4a0f
- Analogous: #1b5272, #005863, #3b4a77
- Triadic: #1b5272, #6e394c, #49521c
- Tetradic: #1b5272, #524371, #6c411d, #49521c
- Square: #1b5272, #633c62, #6c411d, #2b5834
- Monochromatic: #1b5272, #00132b, #00314f, #3f7596, #6399bc

## Questions about #1b5272

### What color is #1b5272?

#1b5272 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(27, 82, 114), in HSL hsl(202.07, 61.7%, 27.65%) and in OKLCH oklch(41.844% 0.07767 238.435).

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

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

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

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

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

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