# #1b1731 color: Dark Knight

#1b1731 is rgb(27, 23, 49) in RGB and oklch(22.41% 0.04957 288.811) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b1731 |
| RGB | rgb(27, 23, 49) |
| HSL | hsl(249.23, 36.11%, 14.12%) |
| HSB / HSV | hsv(249.23 53.06% 19.22%) |
| HWB | hwb(249.23 9.02% 80.78%) |
| CMYK | cmyk(45% 53% 0% 81%) |
| Lab | lab(9.35 8.08 -16.85) |
| LCH | lch(9.35 18.69 295.63) |
| OKLab | oklab(22.41% 0.01598 -0.04692) |
| OKLCH | oklch(22.41% 0.04957 288.811) |
| Display P3 | color(display-p3 0.10326 0.09076 0.18553) |
| Rec. 2020 | color(rec2020 0.04963 0.04043 0.12221) |
| Adobe RGB | color(a98-rgb 0.12474 0.11483 0.20241) |
| ProPhoto RGB | color(prophoto-rgb 0.08937 0.07493 0.13657) |
| Linear sRGB | color(srgb-linear 0.01096 0.00857 0.03071) |
| XYZ D65 | color(xyz-d65 0.01313 0.01068 0.03043) |
| XYZ D50 | color(xyz-d50 0.01247 0.01044 0.02292) |
| SwiftUI | Color(red: 0.106, green: 0.09, blue: 0.192) |
| UIKit | UIColor(red: 0.106, green: 0.09, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF1B1731) |
| Android XML | #1B1731 |

## Facts

- Closest name: Dark Knight
- 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.31:1
- Contrast with black: 1.21:1

## Tints

#1b1731, #2d2a43, #413f56, #56546a, #6c6b7e, #838292, #9a99a7, #b3b2bd, #cbcbd2, #e5e5e8

## Shades

#1b1731, #161229, #110e22, #0c0a1a, #080613, #05040c, #020206, #010103, #000001, #000000

## Tones

#1b1731, #1b182f, #1b182d, #1b192b, #1b1929, #1b1a27, #1b1a24, #1b1a22, #1b1b20, #1b1b1e

## Harmonies

- Complementary: #1b1731, #1e1d00
- Split: #1b1731, #281800, #0f2109
- Analogous: #1b1731, #0c1b32, #25132a
- Triadic: #1b1731, #2e1305, #002317
- Tetradic: #1b1731, #2c111f, #1e1d00, #002317
- Square: #1b1731, #2f1112, #1e1d00, #002224
- Monochromatic: #1b1731, #060217, #060217, #383551, #585574

## Questions about #1b1731

### What color is #1b1731?

#1b1731 is soft very dark violet. The closest named color is Dark Knight. In RGB it is rgb(27, 23, 49), in HSL hsl(249.23, 36.11%, 14.12%) and in OKLCH oklch(22.41% 0.04957 288.811).

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

The complementary color of #1b1731 is #1e1d00. For a calmer combination use the analogous colors #0c1b32 and #25132a. The triadic partners are #2e1305 and #002317.

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

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

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

#1b1731 is a cool color. In OKLCH its hue is 289 degrees, its lightness 22.4% and its chroma 0.05.
