# #1f1d51 color: Fly-by-Night

#1f1d51 is rgb(31, 29, 81) in RGB and oklch(26.778% 0.09225 279.873) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1d51 |
| RGB | rgb(31, 29, 81) |
| HSL | hsl(242.31, 47.27%, 21.57%) |
| HSB / HSV | hsv(242.31 64.2% 31.76%) |
| HWB | hwb(242.31 11.37% 68.24%) |
| CMYK | cmyk(62% 64% 0% 68%) |
| Lab | lab(13.74 14.66 -32.28) |
| LCH | lch(13.74 35.45 294.43) |
| OKLab | oklab(26.778% 0.01582 -0.09089) |
| OKLCH | oklch(26.778% 0.09225 279.873) |
| Display P3 | color(display-p3 0.12021 0.11399 0.3056) |
| Rec. 2020 | color(rec2020 0.07293 0.05931 0.24338) |
| Adobe RGB | color(a98-rgb 0.14024 0.13528 0.31604) |
| ProPhoto RGB | color(prophoto-rgb 0.12261 0.0948 0.23343) |
| Linear sRGB | color(srgb-linear 0.0137 0.01229 0.08228) |
| XYZ D65 | color(xyz-d65 0.02489 0.01764 0.07994) |
| XYZ D50 | color(xyz-d50 0.02248 0.01684 0.06014) |
| SwiftUI | Color(red: 0.122, green: 0.114, blue: 0.318) |
| UIKit | UIColor(red: 0.122, green: 0.114, blue: 0.318, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1D51) |
| Android XML | #1F1D51 |

## 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.52:1
- Contrast with black: 1.35:1

## Tints

#1f1d51, #303262, #444673, #585c84, #6e7195, #8488a6, #9b9fb8, #b3b6c9, #cccedb, #e5e6ed

## Shades

#1f1d51, #191845, #14133a, #0f0e2f, #0a0924, #06051a, #030310, #010107, #000002, #000000

## Tones

#1f1d51, #1f1f4d, #202049, #202144, #212240, #21233c, #222438, #232533, #24252f, #25252a

## Harmonies

- Complementary: #1f1d51, #2f2600
- Split: #1f1d51, #3d1d00, #162e00
- Analogous: #1f1d51, #002650, #331547
- Triadic: #1f1d51, #480f00, #003216
- Tetradic: #1f1d51, #410e34, #2f2600, #003216
- Square: #1f1d51, #480a1c, #2f2600, #002f2d
- Monochromatic: #1f1d51, #050028, #08002f, #3b3d74, #5b5f99

## Questions about #1f1d51

### What color is #1f1d51?

#1f1d51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 29, 81), in HSL hsl(242.31, 47.27%, 21.57%) and in OKLCH oklch(26.778% 0.09225 279.873).

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

The complementary color of #1f1d51 is #2f2600. For a calmer combination use the analogous colors #002650 and #331547. The triadic partners are #480f00 and #003216.

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

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

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

#1f1d51 is a cool color. In OKLCH its hue is 280 degrees, its lightness 26.8% and its chroma 0.092.
