# #170b31 color: Midnight Monarch

#170b31 is rgb(23, 11, 49) in RGB and oklch(19.355% 0.07157 293.041) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/170b31

## Formats

| Format | Value |
| --- | --- |
| HEX | #170b31 |
| RGB | rgb(23, 11, 49) |
| HSL | hsl(258.95, 63.33%, 11.76%) |
| HSB / HSV | hsv(258.95 77.55% 19.22%) |
| HWB | hwb(258.95 4.31% 80.78%) |
| CMYK | cmyk(53% 78% 0% 81%) |
| Lab | lab(5.57 13.91 -22.9) |
| LCH | lch(5.57 26.79 301.27) |
| OKLab | oklab(19.355% 0.02801 -0.06586) |
| OKLCH | oklch(19.355% 0.07157 293.041) |
| Display P3 | color(display-p3 0.08343 0.04522 0.18406) |
| Rec. 2020 | color(rec2020 0.03514 0.01808 0.12045) |
| Adobe RGB | color(a98-rgb 0.1053 0.07489 0.20174) |
| ProPhoto RGB | color(prophoto-rgb 0.07724 0.05048 0.13477) |
| Linear sRGB | color(srgb-linear 0.00857 0.00335 0.03071) |
| XYZ D65 | color(xyz-d65 0.01027 0.00643 0.02976) |
| XYZ D50 | color(xyz-d50 0.00942 0.00617 0.02238) |
| SwiftUI | Color(red: 0.09, green: 0.043, blue: 0.192) |
| UIKit | UIColor(red: 0.09, green: 0.043, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF170B31) |
| Android XML | #170B31 |

## Facts

- Closest name: Midnight Monarch
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.61:1
- Contrast with black: 1.13:1

## Tints

#170b31, #292044, #3d3657, #524c6b, #68637f, #807c93, #9895a8, #b1aebd, #cac9d3, #e4e3e9

## Shades

#170b31, #120829, #0e0622, #0a041a, #060213, #04010c, #020106, #010003, #000001, #000000

## Tones

#170b31, #170d2e, #160e2b, #160f29, #161026, #151123, #151220, #15131d, #15131b, #151418

## Harmonies

- Complementary: #170b31, #151700
- Split: #170b31, #211100, #001c00
- Analogous: #170b31, #041134, #230627
- Triadic: #170b31, #2b0700, #001c12
- Tetradic: #170b31, #2a0317, #151700, #001c12
- Square: #170b31, #2e0205, #151700, #001b1f
- Monochromatic: #170b31, #08001e, #08001e, #332952, #524975

## Questions about #170b31

### What color is #170b31?

#170b31 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(23, 11, 49), in HSL hsl(258.95, 63.33%, 11.76%) and in OKLCH oklch(19.355% 0.07157 293.041).

### What colors go well with #170b31?

The complementary color of #170b31 is #151700. For a calmer combination use the analogous colors #041134 and #230627. The triadic partners are #2b0700 and #001c12.

### Is white or black text more readable on #170b31?

White text reads better on #170b31: white gives a contrast ratio of 18.61:1 and black gives 1.13:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #170b31 a warm or cool color?

#170b31 is a cool color. In OKLCH its hue is 293 degrees, its lightness 19.4% and its chroma 0.072.
