# #1d5270 color: Midnight Sonata

#1d5270 is rgb(29, 82, 112) in RGB and oklch(41.8% 0.07447 237.34) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1d5270 |
| RGB | rgb(29, 82, 112) |
| HSL | hsl(201.69, 58.87%, 27.65%) |
| HSB / HSV | hsv(201.69 74.11% 43.92%) |
| HWB | hwb(201.69 11.37% 56.08%) |
| CMYK | cmyk(74% 27% 0% 56%) |
| Lab | lab(32.49 -9.74 -22.75) |
| LCH | lch(32.49 24.75 246.82) |
| OKLab | oklab(41.8% -0.04019 -0.06269) |
| OKLCH | oklch(41.8% 0.07447 237.34) |
| Display P3 | color(display-p3 0.17217 0.31708 0.42866) |
| Rec. 2020 | color(rec2020 0.16613 0.25403 0.37265) |
| Adobe RGB | color(a98-rgb 0.21149 0.3249 0.43317) |
| ProPhoto RGB | color(prophoto-rgb 0.20389 0.24491 0.34903) |
| Linear sRGB | color(srgb-linear 0.01229 0.08438 0.16203) |
| XYZ D65 | color(xyz-d65 0.06448 0.07465 0.16431) |
| XYZ D50 | color(xyz-d50 0.06104 0.07304 0.12407) |
| SwiftUI | Color(red: 0.114, green: 0.322, blue: 0.439) |
| UIKit | UIColor(red: 0.114, green: 0.322, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF1D5270) |
| Android XML | #1D5270 |

## 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.42:1
- Contrast with black: 2.49:1

## Tints

#1d5270, #35627e, #4b728c, #60839a, #7694a8, #8ca5b6, #a2b7c4, #b9c8d3, #d0dae1, #e7edf0

## Shades

#1d5270, #184660, #133b51, #0e2f43, #092535, #051a27, #03111a, #01080e, #000204, #000001

## Tones

#1d5270, #24526d, #2a5169, #305166, #355062, #39505f, #3d4f5b, #414f57, #454e54, #494d50

## Harmonies

- Complementary: #1d5270, #6b4120
- Split: #1d5270, #703c36, #5e4a14
- Analogous: #1d5270, #005761, #3a4b75
- Triadic: #1d5270, #6d3a4d, #49521e
- Tetradic: #1d5270, #514370, #6b4120, #49521e
- Square: #1d5270, #623d61, #6b4120, #2e5734
- Monochromatic: #1d5270, #00132a, #00314e, #417494, #6499ba

## Questions about #1d5270

### What color is #1d5270?

#1d5270 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(29, 82, 112), in HSL hsl(201.69, 58.87%, 27.65%) and in OKLCH oklch(41.8% 0.07447 237.34).

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

The complementary color of #1d5270 is #6b4120. For a calmer combination use the analogous colors #005761 and #3a4b75. The triadic partners are #6d3a4d and #49521e.

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

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

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

#1d5270 is a cool color. In OKLCH its hue is 237 degrees, its lightness 41.8% and its chroma 0.074.
