# #1f1f50 color: Fly-by-Night

#1f1f50 is rgb(31, 31, 80) in RGB and oklch(27.111% 0.08759 278.822) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1f50 |
| RGB | rgb(31, 31, 80) |
| HSL | hsl(240, 44.14%, 21.76%) |
| HSB / HSV | hsv(240 61.25% 31.37%) |
| HWB | hwb(240 12.16% 68.63%) |
| CMYK | cmyk(61% 61% 0% 69%) |
| Lab | lab(14.25 12.97 -30.77) |
| LCH | lch(14.25 33.39 292.86) |
| OKLab | oklab(27.111% 0.01343 -0.08655) |
| OKLCH | oklch(27.111% 0.08759 278.822) |
| Display P3 | color(display-p3 0.12157 0.12157 0.30207) |
| Rec. 2020 | color(rec2020 0.07462 0.06506 0.23982) |
| Adobe RGB | color(a98-rgb 0.14216 0.14216 0.31254) |
| ProPhoto RGB | color(prophoto-rgb 0.12314 0.09904 0.23053) |
| Linear sRGB | color(srgb-linear 0.0137 0.0137 0.08022) |
| XYZ D65 | color(xyz-d65 0.02503 0.0185 0.07815) |
| XYZ D50 | color(xyz-d50 0.02273 0.01773 0.05881) |
| SwiftUI | Color(red: 0.122, green: 0.122, blue: 0.314) |
| UIKit | UIColor(red: 0.122, green: 0.122, blue: 0.314, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1F50) |
| Android XML | #1F1F50 |

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

## Tints

#1f1f50, #313361, #444872, #585d83, #6e7294, #8589a6, #9c9fb7, #b4b6c9, #cccedb, #e5e6ed

## Shades

#1f1f50, #191944, #141439, #0f0f2e, #0a0a24, #06061a, #030310, #010107, #000002, #000000

## Tones

#1f1f50, #1f204c, #202248, #212344, #212340, #22243c, #232538, #242534, #25262f, #26262b

## Harmonies

- Complementary: #1f1f50, #302600
- Split: #1f1f50, #3f1d00, #192e00
- Analogous: #1f1f50, #00274f, #331746
- Triadic: #1f1f50, #481100, #003316
- Tetradic: #1f1f50, #401135, #302600, #003316
- Square: #1f1f50, #480d1e, #302600, #00302d
- Monochromatic: #1f1f50, #050026, #08012f, #3c3f73, #5c6198

## Questions about #1f1f50

### What color is #1f1f50?

#1f1f50 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 31, 80), in HSL hsl(240, 44.14%, 21.76%) and in OKLCH oklch(27.111% 0.08759 278.822).

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

The complementary color of #1f1f50 is #302600. For a calmer combination use the analogous colors #00274f and #331746. The triadic partners are #481100 and #003316.

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

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

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

#1f1f50 is a cool color. In OKLCH its hue is 279 degrees, its lightness 27.1% and its chroma 0.088.
