# #1f1f4f color: Fly-by-Night

#1f1f4f is rgb(31, 31, 79) in RGB and oklch(27.024% 0.08599 278.969) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1f4f |
| RGB | rgb(31, 31, 79) |
| HSL | hsl(240, 43.64%, 21.57%) |
| HSB / HSV | hsv(240 60.76% 30.98%) |
| HWB | hwb(240 12.16% 69.02%) |
| CMYK | cmyk(61% 61% 0% 69%) |
| Lab | lab(14.18 12.66 -30.2) |
| LCH | lch(14.18 32.75 292.75) |
| OKLab | oklab(27.024% 0.0134 -0.08494) |
| OKLCH | oklch(27.024% 0.08599 278.969) |
| Display P3 | color(display-p3 0.12157 0.12157 0.29834) |
| Rec. 2020 | color(rec2020 0.07423 0.06496 0.236) |
| Adobe RGB | color(a98-rgb 0.14216 0.14216 0.30895) |
| ProPhoto RGB | color(prophoto-rgb 0.12229 0.09884 0.22735) |
| Linear sRGB | color(srgb-linear 0.0137 0.0137 0.07819) |
| XYZ D65 | color(xyz-d65 0.02466 0.01836 0.07622) |
| XYZ D50 | color(xyz-d50 0.02244 0.01761 0.05735) |
| SwiftUI | Color(red: 0.122, green: 0.122, blue: 0.31) |
| UIKit | UIColor(red: 0.122, green: 0.122, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1F4F) |
| Android XML | #1F1F4F |

## 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.36:1
- Contrast with black: 1.37:1

## Tints

#1f1f4f, #313360, #444871, #595d82, #6e7294, #8588a5, #9c9fb7, #b4b6c9, #cccedb, #e5e6ed

## Shades

#1f1f4f, #191944, #141438, #0f0f2e, #0a0a23, #060619, #030310, #010107, #000002, #000000

## Tones

#1f1f4f, #1f204b, #202147, #212243, #21233f, #22243b, #232537, #242533, #24262f, #25262b

## Harmonies

- Complementary: #1f1f4f, #302600
- Split: #1f1f4f, #3e1d00, #192e00
- Analogous: #1f1f4f, #00274e, #331746
- Triadic: #1f1f4f, #471200, #003216
- Tetradic: #1f1f4f, #401134, #302600, #003216
- Square: #1f1f4f, #470e1e, #302600, #00302d
- Monochromatic: #1f1f4f, #050026, #08012e, #3c3f72, #5c6097

## Questions about #1f1f4f

### What color is #1f1f4f?

#1f1f4f is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 31, 79), in HSL hsl(240, 43.64%, 21.57%) and in OKLCH oklch(27.024% 0.08599 278.969).

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

The complementary color of #1f1f4f is #302600. For a calmer combination use the analogous colors #00274e and #331746. The triadic partners are #471200 and #003216.

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

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

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

#1f1f4f is a cool color. In OKLCH its hue is 279 degrees, its lightness 27% and its chroma 0.086.
