# #172d50 color: Midnight Ocean

#172d50 is rgb(23, 45, 80) in RGB and oklch(29.898% 0.06972 259.308) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/172d50

## Formats

| Format | Value |
| --- | --- |
| HEX | #172d50 |
| RGB | rgb(23, 45, 80) |
| HSL | hsl(216.84, 55.34%, 20.2%) |
| HSB / HSV | hsv(216.84 71.25% 31.37%) |
| HWB | hwb(216.84 9.02% 68.63%) |
| CMYK | cmyk(71% 44% 0% 69%) |
| Lab | lab(18.18 1.29 -24.53) |
| LCH | lch(18.18 24.56 273.01) |
| OKLab | oklab(29.898% -0.01293 -0.06851) |
| OKLCH | oklch(29.898% 0.06972 259.308) |
| Display P3 | color(display-p3 0.11036 0.1743 0.30371) |
| Rec. 2020 | color(rec2020 0.07871 0.11209 0.24193) |
| Adobe RGB | color(a98-rgb 0.14169 0.19103 0.31349) |
| ProPhoto RGB | color(prophoto-rgb 0.1273 0.13172 0.23302) |
| Linear sRGB | color(srgb-linear 0.00857 0.02624 0.08022) |
| XYZ D65 | color(xyz-d65 0.0274 0.02638 0.07954) |
| XYZ D50 | color(xyz-d50 0.02532 0.02558 0.05995) |
| SwiftUI | Color(red: 0.09, green: 0.176, blue: 0.314) |
| UIKit | UIColor(red: 0.09, green: 0.176, blue: 0.314, alpha: 1) |
| Flutter / Compose | Color(0xFF172D50) |
| Android XML | #172D50 |

## Facts

- Closest name: Midnight Ocean
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: sky-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.75:1
- Contrast with black: 1.53:1

## Tints

#172d50, #2b4061, #405371, #556782, #6c7b93, #8390a5, #9aa5b6, #b3bbc8, #ccd1da, #e5e8ed

## Shades

#172d50, #122644, #0e1f39, #0a182e, #061124, #040b1a, #020610, #010207, #000102, #000000

## Tones

#172d50, #1a2d4d, #1c2e49, #1e2e46, #212e43, #232e3f, #252e3c, #272e38, #292e35, #2b2e31

## Harmonies

- Complementary: #172d50, #402800
- Split: #172d50, #492108, #303000
- Analogous: #172d50, #003349, #2d264e
- Triadic: #172d50, #4b1d1f, #193611
- Tetradic: #172d50, #3c2143, #402800, #193611
- Square: #172d50, #461d33, #402800, #003828
- Monochromatic: #172d50, #000320, #000f2f, #354d73, #566f97

## Questions about #172d50

### What color is #172d50?

#172d50 is soft very dark blue. The closest named color is Midnight Ocean. In RGB it is rgb(23, 45, 80), in HSL hsl(216.84, 55.34%, 20.2%) and in OKLCH oklch(29.898% 0.06972 259.308).

### What colors go well with #172d50?

The complementary color of #172d50 is #402800. For a calmer combination use the analogous colors #003349 and #2d264e. The triadic partners are #4b1d1f and #193611.

### Is white or black text more readable on #172d50?

White text reads better on #172d50: white gives a contrast ratio of 13.75:1 and black gives 1.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #172d50 a warm or cool color?

#172d50 is a cool color. In OKLCH its hue is 259 degrees, its lightness 29.9% and its chroma 0.07.
