# #1d5171 color: Midnight Sonata

#1d5171 is rgb(29, 81, 113) in RGB and oklch(41.594% 0.07633 239.516) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1d5171 |
| RGB | rgb(29, 81, 113) |
| HSL | hsl(202.86, 59.15%, 27.84%) |
| HSB / HSV | hsv(202.86 74.34% 44.31%) |
| HWB | hwb(202.86 11.37% 55.69%) |
| CMYK | cmyk(74% 28% 0% 56%) |
| Lab | lab(32.2 -8.88 -23.82) |
| LCH | lch(32.2 25.42 249.56) |
| OKLab | oklab(41.594% -0.03872 -0.06578) |
| OKLCH | oklch(41.594% 0.07633 239.516) |
| Display P3 | color(display-p3 0.17076 0.31323 0.43215) |
| Rec. 2020 | color(rec2020 0.16456 0.25027 0.37624) |
| Adobe RGB | color(a98-rgb 0.20974 0.32121 0.43674) |
| ProPhoto RGB | color(prophoto-rgb 0.20338 0.24192 0.35216) |
| Linear sRGB | color(srgb-linear 0.01229 0.08228 0.16513) |
| XYZ D65 | color(xyz-d65 0.06429 0.07338 0.16701) |
| XYZ D50 | color(xyz-d50 0.06068 0.07173 0.12608) |
| SwiftUI | Color(red: 0.114, green: 0.318, blue: 0.443) |
| UIKit | UIColor(red: 0.114, green: 0.318, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF1D5171) |
| Android XML | #1D5171 |

## 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.51:1
- Contrast with black: 2.47:1

## Tints

#1d5171, #35617f, #4b728d, #60829a, #7693a8, #8ca5b7, #a2b6c5, #b9c8d3, #d0dae2, #e7ecf0

## Shades

#1d5171, #184561, #133a52, #0e2f43, #092435, #051a27, #03101a, #01070e, #000204, #000001

## Tones

#1d5171, #24516d, #2a506a, #2f5066, #345062, #394f5f, #3d4f5b, #414e57, #454d54, #484d50

## Harmonies

- Complementary: #1d5171, #6a411d
- Split: #1d5171, #703b33, #5c4910
- Analogous: #1d5171, #005762, #3b4976
- Triadic: #1d5171, #6d394b, #47521d
- Tetradic: #1d5171, #52426f, #6a411d, #47521d
- Square: #1d5171, #633c60, #6a411d, #2a5735
- Monochromatic: #1d5171, #00122b, #00304e, #417395, #6498bb

## Questions about #1d5171

### What color is #1d5171?

#1d5171 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(29, 81, 113), in HSL hsl(202.86, 59.15%, 27.84%) and in OKLCH oklch(41.594% 0.07633 239.516).

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

The complementary color of #1d5171 is #6a411d. For a calmer combination use the analogous colors #005762 and #3b4976. The triadic partners are #6d394b and #47521d.

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

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

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

#1d5171 is a cool color. In OKLCH its hue is 240 degrees, its lightness 41.6% and its chroma 0.076.
