# #170c34 color: Midnight Monarch

#170c34 is rgb(23, 12, 52) in RGB and oklch(19.837% 0.07456 290.634) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #170c34 |
| RGB | rgb(23, 12, 52) |
| HSL | hsl(256.5, 62.5%, 12.55%) |
| HSB / HSV | hsv(256.5 76.92% 20.39%) |
| HWB | hwb(256.5 4.71% 79.61%) |
| CMYK | cmyk(56% 77% 0% 80%) |
| Lab | lab(5.98 14.52 -24.45) |
| LCH | lch(5.98 28.43 300.7) |
| OKLab | oklab(19.837% 0.02627 -0.06977) |
| OKLCH | oklch(19.837% 0.07456 290.634) |
| Display P3 | color(display-p3 0.08387 0.04891 0.19537) |
| Rec. 2020 | color(rec2020 0.03633 0.01963 0.1317) |
| Adobe RGB | color(a98-rgb 0.10593 0.07816 0.21224) |
| ProPhoto RGB | color(prophoto-rgb 0.07987 0.0528 0.14333) |
| Linear sRGB | color(srgb-linear 0.00857 0.00368 0.03434) |
| XYZ D65 | color(xyz-d65 0.01105 0.00693 0.03324) |
| XYZ D50 | color(xyz-d50 0.01007 0.00662 0.025) |
| SwiftUI | Color(red: 0.09, green: 0.047, blue: 0.204) |
| UIKit | UIColor(red: 0.09, green: 0.047, blue: 0.204, alpha: 1) |
| Flutter / Compose | Color(0xFF170C34) |
| Android XML | #170C34 |

## 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.44:1
- Contrast with black: 1.14:1

## Tints

#170c34, #292147, #3d375a, #524d6d, #686481, #7f7c95, #9895aa, #b0afbf, #cac9d4, #e4e4e9

## Shades

#170c34, #12092c, #0e0624, #0a041c, #060315, #04020e, #020107, #010003, #000001, #000000

## Tones

#170c34, #170e31, #160f2e, #16102b, #161128, #161225, #161322, #16141f, #15151c, #161519

## Harmonies

- Complementary: #170c34, #181700
- Split: #170c34, #231100, #001d00
- Analogous: #170c34, #021337, #24062a
- Triadic: #170c34, #2e0600, #001e12
- Tetradic: #170c34, #2c031a, #181700, #001e12
- Square: #170c34, #300206, #181700, #001c1f
- Monochromatic: #170c34, #08001f, #08001f, #332a55, #524a78

## Questions about #170c34

### What color is #170c34?

#170c34 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(23, 12, 52), in HSL hsl(256.5, 62.5%, 12.55%) and in OKLCH oklch(19.837% 0.07456 290.634).

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

The complementary color of #170c34 is #181700. For a calmer combination use the analogous colors #021337 and #24062a. The triadic partners are #2e0600 and #001e12.

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

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

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

#170c34 is a cool color. In OKLCH its hue is 291 degrees, its lightness 19.8% and its chroma 0.075.
