# #172160 color: Pure Midnight

#172160 is rgb(23, 33, 96) in RGB and oklch(28.433% 0.11179 270.568) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #172160 |
| RGB | rgb(23, 33, 96) |
| HSL | hsl(231.78, 61.34%, 23.33%) |
| HSB / HSV | hsv(231.78 76.04% 37.65%) |
| HWB | hwb(231.78 9.02% 62.35%) |
| CMYK | cmyk(76% 66% 0% 62%) |
| Lab | lab(15.43 15.07 -39.6) |
| LCH | lch(15.43 42.37 290.83) |
| OKLab | oklab(28.433% 0.00111 -0.11178) |
| OKLCH | oklch(28.433% 0.11179 270.568) |
| Display P3 | color(display-p3 0.09821 0.12829 0.36196) |
| Rec. 2020 | color(rec2020 0.06952 0.07158 0.30151) |
| Adobe RGB | color(a98-rgb 0.12574 0.14907 0.37072) |
| ProPhoto RGB | color(prophoto-rgb 0.13165 0.1054 0.28312) |
| Linear sRGB | color(srgb-linear 0.00857 0.01521 0.11697) |
| XYZ D65 | color(xyz-d65 0.03008 0.02114 0.11316) |
| XYZ D50 | color(xyz-d50 0.02633 0.0199 0.08512) |
| SwiftUI | Color(red: 0.09, green: 0.129, blue: 0.376) |
| UIKit | UIColor(red: 0.09, green: 0.129, blue: 0.376, alpha: 1) |
| Flutter / Compose | Color(0xFF172160) |
| Android XML | #172160 |

## Facts

- Closest name: Pure Midnight
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.76:1
- Contrast with black: 1.42:1

## Tints

#172160, #293670, #3d4b80, #526090, #6876a0, #808cb0, #98a2bf, #b1b8cf, #cad0df, #e4e7ef

## Shades

#172160, #121b52, #0e1645, #0a1038, #060b2c, #040620, #020315, #01010a, #000003, #000000

## Tones

#172160, #18235b, #1a2555, #1c2650, #1e274b, #1f2846, #212940, #24293b, #262a35, #282a30

## Harmonies

- Complementary: #172160, #382700
- Split: #172160, #471c00, #242f00
- Analogous: #172160, #002d53, #341657
- Triadic: #172160, #540400, #003706
- Tetradic: #172160, #460b43, #382700, #003706
- Square: #172160, #510227, #382700, #00352c
- Monochromatic: #172160, #03002c, #05003d, #334385, #5265aa

## Questions about #172160

### What color is #172160?

#172160 is soft very dark indigo. The closest named color is Pure Midnight. In RGB it is rgb(23, 33, 96), in HSL hsl(231.78, 61.34%, 23.33%) and in OKLCH oklch(28.433% 0.11179 270.568).

### What colors go well with #172160?

The complementary color of #172160 is #382700. For a calmer combination use the analogous colors #002d53 and #341657. The triadic partners are #540400 and #003706.

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

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

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

#172160 is a cool color. In OKLCH its hue is 271 degrees, its lightness 28.4% and its chroma 0.112.
