# #1b0c34 color: Midnight Monarch

#1b0c34 is rgb(27, 12, 52) in RGB and oklch(20.341% 0.07479 296.362) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1b0c34

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b0c34 |
| RGB | rgb(27, 12, 52) |
| HSL | hsl(262.5, 62.5%, 12.55%) |
| HSB / HSV | hsv(262.5 76.92% 20.39%) |
| HWB | hwb(262.5 4.71% 79.61%) |
| CMYK | cmyk(48% 77% 0% 80%) |
| Lab | lab(6.46 16.1 -23.65) |
| LCH | lch(6.46 28.61 304.25) |
| OKLab | oklab(20.341% 0.03321 -0.06701) |
| OKLCH | oklch(20.341% 0.07479 296.362) |
| Display P3 | color(display-p3 0.09768 0.0498 0.1955) |
| Rec. 2020 | color(rec2020 0.04308 0.02038 0.13183) |
| Adobe RGB | color(a98-rgb 0.11675 0.07816 0.21224) |
| ProPhoto RGB | color(prophoto-rgb 0.08505 0.05417 0.14343) |
| Linear sRGB | color(srgb-linear 0.01096 0.00368 0.03434) |
| XYZ D65 | color(xyz-d65 0.01203 0.00744 0.03329) |
| XYZ D50 | color(xyz-d50 0.01111 0.00716 0.02503) |
| SwiftUI | Color(red: 0.106, green: 0.047, blue: 0.204) |
| UIKit | UIColor(red: 0.106, green: 0.047, blue: 0.204, alpha: 1) |
| Flutter / Compose | Color(0xFF1B0C34) |
| Android XML | #1B0C34 |

## 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.28:1
- Contrast with black: 1.15:1

## Tints

#1b0c34, #2d2147, #41375a, #564d6d, #6c6481, #827c95, #9a95aa, #b2afbe, #cbc9d4, #e5e4e9

## Shades

#1b0c34, #16092c, #110624, #0c041c, #080315, #05020e, #020107, #010003, #000001, #000000

## Tones

#1b0c34, #1a0e31, #1a0f2e, #19112c, #191229, #181326, #181423, #181520, #17151d, #17161a

## Harmonies

- Complementary: #1b0c34, #161a00
- Split: #1b0c34, #231400, #001f00
- Analogous: #1b0c34, #071338, #270628
- Triadic: #1b0c34, #2d0a00, #001f16
- Tetradic: #1b0c34, #2f0318, #161a00, #001f16
- Square: #1b0c34, #310304, #161a00, #001d23
- Monochromatic: #1b0c34, #0a001e, #0a001e, #382a55, #574a78

## Questions about #1b0c34

### What color is #1b0c34?

#1b0c34 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(27, 12, 52), in HSL hsl(262.5, 62.5%, 12.55%) and in OKLCH oklch(20.341% 0.07479 296.362).

### What colors go well with #1b0c34?

The complementary color of #1b0c34 is #161a00. For a calmer combination use the analogous colors #071338 and #270628. The triadic partners are #2d0a00 and #001f16.

### Is white or black text more readable on #1b0c34?

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

### Is #1b0c34 a warm or cool color?

#1b0c34 is a cool color. In OKLCH its hue is 296 degrees, its lightness 20.3% and its chroma 0.075.
