# #1b1f51 color: Fly-by-Night

#1b1f51 is rgb(27, 31, 81) in RGB and oklch(26.873% 0.09024 275.091) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1b1f51 |
| RGB | rgb(27, 31, 81) |
| HSL | hsl(235.56, 50%, 21.18%) |
| HSB / HSV | hsv(235.56 66.67% 31.76%) |
| HWB | hwb(235.56 10.59% 68.24%) |
| CMYK | cmyk(67% 62% 0% 68%) |
| Lab | lab(13.97 12.25 -31.91) |
| LCH | lch(13.97 34.19 291) |
| OKLab | oklab(26.873% 0.00801 -0.08988) |
| OKLCH | oklch(26.873% 0.09024 275.091) |
| Display P3 | color(display-p3 0.10882 0.12108 0.30571) |
| Rec. 2020 | color(rec2020 0.06728 0.06431 0.24355) |
| Adobe RGB | color(a98-rgb 0.13252 0.14216 0.31615) |
| ProPhoto RGB | color(prophoto-rgb 0.11965 0.09829 0.23364) |
| Linear sRGB | color(srgb-linear 0.01096 0.0137 0.08228) |
| XYZ D65 | color(xyz-d65 0.02427 0.01807 0.08006) |
| XYZ D50 | color(xyz-d50 0.02183 0.01725 0.06024) |
| SwiftUI | Color(red: 0.106, green: 0.122, blue: 0.318) |
| UIKit | UIColor(red: 0.106, green: 0.122, blue: 0.318, alpha: 1) |
| Flutter / Compose | Color(0xFF1B1F51) |
| Android XML | #1B1F51 |

## Facts

- Closest name: Fly-by-Night
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.43:1
- Contrast with black: 1.36:1

## Tints

#1b1f51, #2d3362, #404873, #555d84, #6b7395, #8289a6, #9a9fb8, #b2b7c9, #cbcedb, #e5e6ed

## Shades

#1b1f51, #161945, #11143a, #0c0f2f, #080a24, #05061a, #020310, #010107, #000002, #000000

## Tones

#1b1f51, #1c204d, #1d2249, #1e2344, #1f2340, #20243c, #212538, #222533, #23262f, #25262b

## Harmonies

- Complementary: #1b1f51, #312500
- Split: #1b1f51, #401b00, #1c2d00
- Analogous: #1b1f51, #00284e, #311748
- Triadic: #1b1f51, #480f02, #003210
- Tetradic: #1b1f51, #3f1037, #312500, #003210
- Square: #1b1f51, #470b20, #312500, #00302a
- Monochromatic: #1b1f51, #040028, #06012f, #373f74, #576199

## Questions about #1b1f51

### What color is #1b1f51?

#1b1f51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(27, 31, 81), in HSL hsl(235.56, 50%, 21.18%) and in OKLCH oklch(26.873% 0.09024 275.091).

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

The complementary color of #1b1f51 is #312500. For a calmer combination use the analogous colors #00284e and #311748. The triadic partners are #480f02 and #003210.

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

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

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

#1b1f51 is a cool color. In OKLCH its hue is 275 degrees, its lightness 26.9% and its chroma 0.09.
