# #1b0c38 color: Midnight Monarch

#1b0c38 is rgb(27, 12, 56) in RGB and oklch(20.729% 0.08068 293.821) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b0c38 |
| RGB | rgb(27, 12, 56) |
| HSL | hsl(260.45, 64.71%, 13.33%) |
| HSB / HSV | hsv(260.45 78.57% 21.96%) |
| HWB | hwb(260.45 4.71% 78.04%) |
| CMYK | cmyk(52% 79% 0% 78%) |
| Lab | lab(6.75 17.34 -26.1) |
| LCH | lch(6.75 31.34 303.59) |
| OKLab | oklab(20.729% 0.03258 -0.0738) |
| OKLCH | oklch(20.729% 0.08068 293.821) |
| Display P3 | color(display-p3 0.09768 0.0498 0.21047) |
| Rec. 2020 | color(rec2020 0.0441 0.02064 0.14675) |
| Adobe RGB | color(a98-rgb 0.11675 0.07816 0.22625) |
| ProPhoto RGB | color(prophoto-rgb 0.08793 0.055 0.15491) |
| Linear sRGB | color(srgb-linear 0.01096 0.00368 0.03955) |
| XYZ D65 | color(xyz-d65 0.01297 0.00781 0.03824) |
| XYZ D50 | color(xyz-d50 0.01185 0.00747 0.02875) |
| SwiftUI | Color(red: 0.106, green: 0.047, blue: 0.22) |
| UIKit | UIColor(red: 0.106, green: 0.047, blue: 0.22, alpha: 1) |
| Flutter / Compose | Color(0xFF1B0C38) |
| Android XML | #1B0C38 |

## 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.16:1
- Contrast with black: 1.16:1

## Tints

#1b0c38, #2d224b, #40385d, #554e70, #6b6584, #827d98, #9a96ac, #b2afc0, #cbc9d5, #e5e4ea

## Shades

#1b0c38, #16092f, #110627, #0c041f, #080317, #05020f, #020108, #010004, #000001, #000000

## Tones

#1b0c38, #1a0e35, #1a1032, #19112f, #19132b, #191428, #181525, #181622, #18161e, #18171b

## Harmonies

- Complementary: #1b0c38, #181a00
- Split: #1b0c38, #251400, #002000
- Analogous: #1b0c38, #04143c, #28062c
- Triadic: #1b0c38, #300900, #002015
- Tetradic: #1b0c38, #31021a, #181a00, #002015
- Square: #1b0c38, #340104, #181a00, #001e23
- Monochromatic: #1b0c38, #090021, #090021, #372b5a, #574b7d

## Questions about #1b0c38

### What color is #1b0c38?

#1b0c38 is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(27, 12, 56), in HSL hsl(260.45, 64.71%, 13.33%) and in OKLCH oklch(20.729% 0.08068 293.821).

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

The complementary color of #1b0c38 is #181a00. For a calmer combination use the analogous colors #04143c and #28062c. The triadic partners are #300900 and #002015.

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

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

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

#1b0c38 is a cool color. In OKLCH its hue is 294 degrees, its lightness 20.7% and its chroma 0.081.
