# #1b123a color: Midnight Monarch

#1b123a is rgb(27, 18, 58) in RGB and oklch(22.041% 0.07394 289.251) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b123a |
| RGB | rgb(27, 18, 58) |
| HSL | hsl(253.5, 52.63%, 14.9%) |
| HSB / HSV | hsv(253.5 68.97% 22.75%) |
| HWB | hwb(253.5 7.06% 77.25%) |
| CMYK | cmyk(53% 69% 0% 77%) |
| Lab | lab(8.43 14.2 -24.83) |
| LCH | lch(8.43 28.61 299.76) |
| OKLab | oklab(22.041% 0.02438 -0.06981) |
| OKLCH | oklch(22.041% 0.07394 289.251) |
| Display P3 | color(display-p3 0.10042 0.07199 0.21846) |
| Rec. 2020 | color(rec2020 0.04815 0.0306 0.15486) |
| Adobe RGB | color(a98-rgb 0.1207 0.09802 0.23353) |
| ProPhoto RGB | color(prophoto-rgb 0.09239 0.06625 0.1614) |
| Linear sRGB | color(srgb-linear 0.01096 0.00605 0.04231) |
| XYZ D65 | color(xyz-d65 0.01432 0.00971 0.04115) |
| XYZ D50 | color(xyz-d50 0.01316 0.00934 0.03095) |
| SwiftUI | Color(red: 0.106, green: 0.071, blue: 0.227) |
| UIKit | UIColor(red: 0.106, green: 0.071, blue: 0.227, alpha: 1) |
| Flutter / Compose | Color(0xFF1B123A) |
| Android XML | #1B123A |

## 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: 17.58:1
- Contrast with black: 1.19:1

## Tints

#1b123a, #2d274c, #403c5f, #555272, #6b6985, #828099, #9a98ac, #b2b1c1, #cbcad5, #e5e4ea

## Shades

#1b123a, #160e31, #110a28, #0c0720, #080418, #050210, #020109, #010104, #000001, #000000

## Tones

#1b123a, #1b1337, #1b1534, #1a1631, #1a172e, #1a182b, #1a1828, #1a1924, #1a1a21, #1a1a1e

## Harmonies

- Complementary: #1b123a, #1e1c00
- Split: #1b123a, #2a1600, #042200
- Analogous: #1b123a, #04193c, #290c30
- Triadic: #1b123a, #340c00, #002415
- Tetradic: #1b123a, #320720, #1e1c00, #002415
- Square: #1b123a, #36070c, #1e1c00, #002225
- Monochromatic: #1b123a, #070020, #070020, #37315c, #57517f

## Questions about #1b123a

### What color is #1b123a?

#1b123a is soft very dark violet. The closest named color is Midnight Monarch. In RGB it is rgb(27, 18, 58), in HSL hsl(253.5, 52.63%, 14.9%) and in OKLCH oklch(22.041% 0.07394 289.251).

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

The complementary color of #1b123a is #1e1c00. For a calmer combination use the analogous colors #04193c and #290c30. The triadic partners are #340c00 and #002415.

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

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

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

#1b123a is a cool color. In OKLCH its hue is 289 degrees, its lightness 22% and its chroma 0.074.
