# #1b5171 color: Midnight Sonata

#1b5171 is rgb(27, 81, 113) in RGB and oklch(41.527% 0.07723 238.852) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b5171 |
| RGB | rgb(27, 81, 113) |
| HSL | hsl(202.33, 61.43%, 27.45%) |
| HSB / HSV | hsv(202.33 76.11% 44.31%) |
| HWB | hwb(202.33 10.59% 55.69%) |
| CMYK | cmyk(76% 28% 0% 56%) |
| Lab | lab(32.13 -9.23 -23.93) |
| LCH | lch(32.13 25.65 248.92) |
| OKLab | oklab(41.527% -0.03995 -0.06609) |
| OKLCH | oklch(41.527% 0.07723 238.852) |
| Display P3 | color(display-p3 0.16655 0.31314 0.43212) |
| Rec. 2020 | color(rec2020 0.16219 0.25008 0.37621) |
| Adobe RGB | color(a98-rgb 0.20691 0.32121 0.43674) |
| ProPhoto RGB | color(prophoto-rgb 0.20199 0.24169 0.35213) |
| Linear sRGB | color(srgb-linear 0.01096 0.08228 0.16513) |
| XYZ D65 | color(xyz-d65 0.06375 0.0731 0.16698) |
| XYZ D50 | color(xyz-d50 0.0601 0.07144 0.12606) |
| SwiftUI | Color(red: 0.106, green: 0.318, blue: 0.443) |
| UIKit | UIColor(red: 0.106, green: 0.318, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF1B5171) |
| Android XML | #1B5171 |

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

## Tints

#1b5171, #33617f, #4a728d, #5f829a, #7593a8, #8ba5b7, #a2b6c5, #b9c8d3, #d0dae2, #e7ecf0

## Shades

#1b5171, #164561, #113a52, #0c2f43, #082435, #051a27, #02101a, #01070e, #000204, #000001

## Tones

#1b5171, #23516d, #29506a, #2e5066, #334f62, #384f5f, #3c4e5b, #404e57, #444d53, #484c50

## Harmonies

- Complementary: #1b5171, #6a401c
- Split: #1b5171, #703a33, #5d490f
- Analogous: #1b5171, #005762, #3a4976
- Triadic: #1b5171, #6d394b, #47511c
- Tetradic: #1b5171, #524270, #6a401c, #47511c
- Square: #1b5171, #633c60, #6a401c, #2a5734
- Monochromatic: #1b5171, #00122a, #00304e, #3f7395, #6398bb

## Questions about #1b5171

### What color is #1b5171?

#1b5171 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(27, 81, 113), in HSL hsl(202.33, 61.43%, 27.45%) and in OKLCH oklch(41.527% 0.07723 238.852).

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

The complementary color of #1b5171 is #6a401c. For a calmer combination use the analogous colors #005762 and #3a4976. The triadic partners are #6d394b and #47511c.

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

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

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

#1b5171 is a cool color. In OKLCH its hue is 239 degrees, its lightness 41.5% and its chroma 0.077.
