# #255274 color: Midnight Sonata

#255274 is rgb(37, 82, 116) in RGB and oklch(42.326% 0.07533 243.815) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #255274 |
| RGB | rgb(37, 82, 116) |
| HSL | hsl(205.82, 51.63%, 30%) |
| HSB / HSV | hsv(205.82 68.1% 45.49%) |
| HWB | hwb(205.82 14.51% 54.51%) |
| CMYK | cmyk(68% 29% 0% 55%) |
| Lab | lab(32.96 -6.97 -24.48) |
| LCH | lch(32.96 25.45 254.1) |
| OKLab | oklab(42.326% -0.03324 -0.06759) |
| OKLCH | oklch(42.326% 0.07533 243.815) |
| Display P3 | color(display-p3 0.19041 0.31747 0.44353) |
| Rec. 2020 | color(rec2020 0.17827 0.25517 0.38819) |
| Adobe RGB | color(a98-rgb 0.22406 0.3249 0.44788) |
| ProPhoto RGB | color(prophoto-rgb 0.21374 0.24656 0.36302) |
| Linear sRGB | color(srgb-linear 0.0185 0.08438 0.17465) |
| XYZ D65 | color(xyz-d65 0.06932 0.07689 0.17642) |
| XYZ D50 | color(xyz-d50 0.06555 0.07519 0.13316) |
| SwiftUI | Color(red: 0.145, green: 0.322, blue: 0.455) |
| UIKit | UIColor(red: 0.145, green: 0.322, blue: 0.455, alpha: 1) |
| Flutter / Compose | Color(0xFF255274) |
| Android XML | #255274 |

## 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.27:1
- Contrast with black: 2.54:1

## Tints

#255274, #3b6281, #4f728f, #64839d, #7994aa, #8fa5b8, #a4b7c6, #bac8d4, #d1dae2, #e8edf1

## Shades

#255274, #1f4664, #193b54, #132f45, #0d2537, #081a29, #04111b, #02080f, #000205, #000001

## Tones

#255274, #2b5270, #2f526d, #345169, #385165, #3c5161, #40505e, #44505a, #474f56, #4b4e52

## Harmonies

- Complementary: #255274, #6a441d
- Split: #255274, #713e32, #5c4d15
- Analogous: #255274, #005867, #414a77
- Triadic: #255274, #703b49, #455523
- Tetradic: #255274, #57436f, #6a441d, #455523
- Square: #255274, #673e5f, #6a441d, #285a3a
- Monochromatic: #255274, #001330, #003151, #477498, #6a99be

## Questions about #255274

### What color is #255274?

#255274 is soft dark sky blue. The closest named color is Midnight Sonata. In RGB it is rgb(37, 82, 116), in HSL hsl(205.82, 51.63%, 30%) and in OKLCH oklch(42.326% 0.07533 243.815).

### What colors go well with #255274?

The complementary color of #255274 is #6a441d. For a calmer combination use the analogous colors #005867 and #414a77. The triadic partners are #703b49 and #455523.

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

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

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

#255274 is a cool color. In OKLCH its hue is 244 degrees, its lightness 42.3% and its chroma 0.075.
