# #295170 color: Midnight Sonata

#295170 is rgb(41, 81, 112) in RGB and oklch(42.032% 0.0689 243.901) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/295170

## Formats

| Format | Value |
| --- | --- |
| HEX | #295170 |
| RGB | rgb(41, 81, 112) |
| HSL | hsl(206.2, 46.41%, 30%) |
| HSB / HSV | hsv(206.2 63.39% 43.92%) |
| HWB | hwb(206.2 16.08% 56.08%) |
| CMYK | cmyk(63% 28% 0% 56%) |
| Lab | lab(32.64 -6.66 -22.46) |
| LCH | lch(32.64 23.43 253.48) |
| OKLab | oklab(42.032% -0.03031 -0.06187) |
| OKLCH | oklch(42.032% 0.0689 243.901) |
| Display P3 | color(display-p3 0.19917 0.31385 0.42869) |
| Rec. 2020 | color(rec2020 0.1811 0.25156 0.37262) |
| Adobe RGB | color(a98-rgb 0.22953 0.32121 0.43307) |
| ProPhoto RGB | color(prophoto-rgb 0.21274 0.24344 0.34893) |
| Linear sRGB | color(srgb-linear 0.02217 0.08228 0.16203) |
| XYZ D65 | color(xyz-d65 0.06781 0.07526 0.16425) |
| XYZ D50 | color(xyz-d50 0.06454 0.07374 0.124) |
| SwiftUI | Color(red: 0.161, green: 0.318, blue: 0.439) |
| UIKit | UIColor(red: 0.161, green: 0.318, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF295170) |
| Android XML | #295170 |

## 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.38:1
- Contrast with black: 2.51:1

## Tints

#295170, #3e617e, #52718c, #66829a, #7b93a8, #90a4b6, #a5b6c4, #bbc8d3, #d1dae1, #e8ecf0

## Shades

#295170, #224560, #1c3a51, #152f43, #0f2435, #091a27, #05101a, #02070e, #010204, #000001

## Tones

#295170, #2e516d, #325169, #365066, #3a5062, #3d505f, #414f5b, #444f58, #474e54, #4a4e51

## Harmonies

- Complementary: #295170, #674422
- Split: #295170, #6e3f34, #5a4c1c
- Analogous: #295170, #0f5764, #414a73
- Triadic: #295170, #6c3c49, #455327
- Tetradic: #295170, #55436c, #674422, #455327
- Square: #295170, #643e5d, #674422, #2c583c
- Monochromatic: #295170, #00122d, #05314e, #4b7394, #6e97ba

## Questions about #295170

### What color is #295170?

#295170 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(41, 81, 112), in HSL hsl(206.2, 46.41%, 30%) and in OKLCH oklch(42.032% 0.0689 243.901).

### What colors go well with #295170?

The complementary color of #295170 is #674422. For a calmer combination use the analogous colors #0f5764 and #414a73. The triadic partners are #6c3c49 and #455327.

### Is white or black text more readable on #295170?

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

### Is #295170 a warm or cool color?

#295170 is a cool color. In OKLCH its hue is 244 degrees, its lightness 42% and its chroma 0.069.
