# #1b5170 color: Midnight Sonata

#1b5170 is rgb(27, 81, 112) in RGB and oklch(41.471% 0.07606 237.996) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b5170 |
| RGB | rgb(27, 81, 112) |
| HSL | hsl(201.88, 61.15%, 27.25%) |
| HSB / HSV | hsv(201.88 75.89% 43.92%) |
| HWB | hwb(201.88 10.59% 56.08%) |
| CMYK | cmyk(76% 28% 0% 56%) |
| Lab | lab(32.09 -9.53 -23.38) |
| LCH | lch(32.09 25.25 247.81) |
| OKLab | oklab(41.471% -0.04031 -0.0645) |
| OKLCH | oklch(41.471% 0.07606 237.996) |
| Display P3 | color(display-p3 0.16655 0.31314 0.42843) |
| Rec. 2020 | color(rec2020 0.16181 0.25001 0.37236) |
| Adobe RGB | color(a98-rgb 0.20691 0.32121 0.43307) |
| ProPhoto RGB | color(prophoto-rgb 0.20111 0.24154 0.34868) |
| Linear sRGB | color(srgb-linear 0.01096 0.08228 0.16203) |
| XYZ D65 | color(xyz-d65 0.06319 0.07287 0.16403) |
| XYZ D50 | color(xyz-d50 0.05965 0.07125 0.12385) |
| SwiftUI | Color(red: 0.106, green: 0.318, blue: 0.439) |
| UIKit | UIColor(red: 0.106, green: 0.318, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF1B5170) |
| Android XML | #1B5170 |

## 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.55:1
- Contrast with black: 2.46:1

## Tints

#1b5170, #33617e, #4a728c, #5f829a, #7593a8, #8ba5b6, #a2b6c4, #b9c8d3, #d0dae1, #e7ecf0

## Shades

#1b5170, #164560, #113a51, #0c2f43, #082435, #051a27, #02101a, #01070e, #000204, #000001

## Tones

#1b5170, #23516c, #295069, #2e5065, #334f62, #384f5e, #3c4e5a, #404e57, #444d53, #484c4f

## Harmonies

- Complementary: #1b5170, #6a401d
- Split: #1b5170, #6f3a34, #5d4910
- Analogous: #1b5170, #005761, #3a4975
- Triadic: #1b5170, #6c394b, #48511c
- Tetradic: #1b5170, #514270, #6a401d, #48511c
- Square: #1b5170, #623c61, #6a401d, #2c5733
- Monochromatic: #1b5170, #001229, #00314e, #3f7394, #6398ba

## Questions about #1b5170

### What color is #1b5170?

#1b5170 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(27, 81, 112), in HSL hsl(201.88, 61.15%, 27.25%) and in OKLCH oklch(41.471% 0.07606 237.996).

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

The complementary color of #1b5170 is #6a401d. For a calmer combination use the analogous colors #005761 and #3a4975. The triadic partners are #6c394b and #48511c.

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

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

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

#1b5170 is a cool color. In OKLCH its hue is 238 degrees, its lightness 41.5% and its chroma 0.076.
