# #295172 color: Midnight Sonata

#295172 is rgb(41, 81, 114) in RGB and oklch(42.141% 0.07147 245.528) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #295172 |
| RGB | rgb(41, 81, 114) |
| HSL | hsl(207.12, 47.1%, 30.39%) |
| HSB / HSV | hsv(207.12 64.04% 44.71%) |
| HWB | hwb(207.12 16.08% 55.29%) |
| CMYK | cmyk(64% 29% 0% 55%) |
| Lab | lab(32.73 -6.09 -23.58) |
| LCH | lch(32.73 24.35 255.52) |
| OKLab | oklab(42.141% -0.0296 -0.06505) |
| OKLCH | oklch(42.141% 0.07147 245.528) |
| Display P3 | color(display-p3 0.19917 0.31385 0.43605) |
| Rec. 2020 | color(rec2020 0.18181 0.25171 0.38031) |
| Adobe RGB | color(a98-rgb 0.22953 0.32121 0.44041) |
| ProPhoto RGB | color(prophoto-rgb 0.21442 0.24374 0.35584) |
| Linear sRGB | color(srgb-linear 0.02217 0.08228 0.16827) |
| XYZ D65 | color(xyz-d65 0.06894 0.07571 0.17018) |
| XYZ D50 | color(xyz-d50 0.06544 0.07412 0.12846) |
| SwiftUI | Color(red: 0.161, green: 0.318, blue: 0.447) |
| UIKit | UIColor(red: 0.161, green: 0.318, blue: 0.447, alpha: 1) |
| Flutter / Compose | Color(0xFF295172) |
| Android XML | #295172 |

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

## Tints

#295172, #3e6180, #52728d, #66829b, #7b93a9, #90a5b7, #a5b6c5, #bbc8d4, #d1dae2, #e8ecf0

## Shades

#295172, #224562, #1c3a53, #152f44, #0f2436, #091a28, #05101b, #02070e, #010204, #000001

## Tones

#295172, #2e516e, #32516b, #365067, #3a5064, #3d5060, #414f5c, #444f59, #474e55, #4a4e51

## Harmonies

- Complementary: #295172, #68451f
- Split: #295172, #6f3e32, #594d19
- Analogous: #295172, #0a5766, #424a74
- Triadic: #295172, #6e3c48, #445427
- Tetradic: #295172, #57436d, #68451f, #445427
- Square: #295172, #663e5d, #68451f, #29593c
- Monochromatic: #295172, #00122f, #05314f, #4b7396, #6e97bc

## Questions about #295172

### What color is #295172?

#295172 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(41, 81, 114), in HSL hsl(207.12, 47.1%, 30.39%) and in OKLCH oklch(42.141% 0.07147 245.528).

### What colors go well with #295172?

The complementary color of #295172 is #68451f. For a calmer combination use the analogous colors #0a5766 and #424a74. The triadic partners are #6e3c48 and #445427.

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

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

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

#295172 is a cool color. In OKLCH its hue is 246 degrees, its lightness 42.1% and its chroma 0.071.
