# #1d5276 color: Midnight Sonata

#1d5276 is rgb(29, 82, 118) in RGB and oklch(42.135% 0.0816 242.217) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1d5276 |
| RGB | rgb(29, 82, 118) |
| HSL | hsl(204.27, 60.54%, 28.82%) |
| HSB / HSV | hsv(204.27 75.42% 46.27%) |
| HWB | hwb(204.27 11.37% 53.73%) |
| CMYK | cmyk(75% 31% 0% 54%) |
| Lab | lab(32.75 -7.91 -26.08) |
| LCH | lch(32.75 27.25 253.13) |
| OKLab | oklab(42.135% -0.03804 -0.07219) |
| OKLCH | oklch(42.135% 0.0816 242.217) |
| Display P3 | color(display-p3 0.17217 0.31708 0.45077) |
| Rec. 2020 | color(rec2020 0.16844 0.25446 0.39578) |
| Adobe RGB | color(a98-rgb 0.21149 0.3249 0.45525) |
| ProPhoto RGB | color(prophoto-rgb 0.20917 0.24583 0.36989) |
| Linear sRGB | color(srgb-linear 0.01229 0.08438 0.18116) |
| XYZ D65 | color(xyz-d65 0.06794 0.07603 0.1825) |
| XYZ D50 | color(xyz-d50 0.06378 0.0742 0.13773) |
| SwiftUI | Color(red: 0.114, green: 0.322, blue: 0.463) |
| UIKit | UIColor(red: 0.114, green: 0.322, blue: 0.463, alpha: 1) |
| Flutter / Compose | Color(0xFF1D5276) |
| Android XML | #1D5276 |

## Facts

- Closest name: Midnight Sonata
- Hue family: Sky blue, soft dark sky blue
- Closest Tailwind class: sky-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.33:1
- Contrast with black: 2.52:1

## Tints

#1d5276, #356283, #4b7391, #60839e, #7694ac, #8ca5ba, #a2b7c7, #b9c9d5, #d0dae3, #e7edf1

## Shades

#1d5276, #184666, #133b56, #0e2f47, #092538, #051a29, #03111c, #01080f, #000205, #000001

## Tones

#1d5276, #245272, #2a526e, #30516a, #355166, #3a5062, #3e505e, #424f5a, #464f56, #4a4e52

## Harmonies

- Complementary: #1d5276, #6d4217
- Split: #1d5276, #733b30, #5d4c0a
- Analogous: #1d5276, #005967, #3e4a7a
- Triadic: #1d5276, #71394a, #46541c
- Tetradic: #1d5276, #564272, #6d4217, #46541c
- Square: #1d5276, #673c61, #6d4217, #255a37
- Monochromatic: #1d5276, #00132f, #003153, #41759b, #6499c1

## Questions about #1d5276

### What color is #1d5276?

#1d5276 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(29, 82, 118), in HSL hsl(204.27, 60.54%, 28.82%) and in OKLCH oklch(42.135% 0.0816 242.217).

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

The complementary color of #1d5276 is #6d4217. For a calmer combination use the analogous colors #005967 and #3e4a7a. The triadic partners are #71394a and #46541c.

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

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

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

#1d5276 is a cool color. In OKLCH its hue is 242 degrees, its lightness 42.1% and its chroma 0.082.
