# #1f1f51 color: Fly-by-Night

#1f1f51 is rgb(31, 31, 81) in RGB and oklch(27.198% 0.08919 278.677) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f1f51 |
| RGB | rgb(31, 31, 81) |
| HSL | hsl(240, 44.64%, 21.96%) |
| HSB / HSV | hsv(240 61.73% 31.76%) |
| HWB | hwb(240 12.16% 68.24%) |
| CMYK | cmyk(62% 62% 0% 68%) |
| Lab | lab(14.32 13.28 -31.33) |
| LCH | lch(14.32 34.03 292.98) |
| OKLab | oklab(27.198% 0.01345 -0.08817) |
| OKLCH | oklch(27.198% 0.08919 278.677) |
| Display P3 | color(display-p3 0.12157 0.12157 0.3058) |
| Rec. 2020 | color(rec2020 0.07503 0.06517 0.24364) |
| Adobe RGB | color(a98-rgb 0.14216 0.14216 0.31615) |
| ProPhoto RGB | color(prophoto-rgb 0.124 0.09924 0.23372) |
| Linear sRGB | color(srgb-linear 0.0137 0.0137 0.08228) |
| XYZ D65 | color(xyz-d65 0.0254 0.01865 0.08011) |
| XYZ D50 | color(xyz-d50 0.02303 0.01786 0.06028) |
| SwiftUI | Color(red: 0.122, green: 0.122, blue: 0.318) |
| UIKit | UIColor(red: 0.122, green: 0.122, blue: 0.318, alpha: 1) |
| Flutter / Compose | Color(0xFF1F1F51) |
| Android XML | #1F1F51 |

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

## Tints

#1f1f51, #313362, #444873, #585d84, #6e7395, #8489a6, #9c9fb8, #b4b7c9, #cccedb, #e5e6ed

## Shades

#1f1f51, #191945, #14143a, #0f0f2f, #0a0a24, #06061a, #030310, #010107, #000002, #000000

## Tones

#1f1f51, #1f204d, #202249, #212345, #212441, #22243c, #232538, #242634, #252630, #26272b

## Harmonies

- Complementary: #1f1f51, #312600
- Split: #1f1f51, #3f1d00, #192e00
- Analogous: #1f1f51, #002850, #331747
- Triadic: #1f1f51, #491100, #003315
- Tetradic: #1f1f51, #411035, #312600, #003315
- Square: #1f1f51, #480d1e, #312600, #00312d
- Monochromatic: #1f1f51, #050027, #08012f, #3c3f74, #5b6199

## Questions about #1f1f51

### What color is #1f1f51?

#1f1f51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 31, 81), in HSL hsl(240, 44.64%, 21.96%) and in OKLCH oklch(27.198% 0.08919 278.677).

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

The complementary color of #1f1f51 is #312600. For a calmer combination use the analogous colors #002850 and #331747. The triadic partners are #491100 and #003315.

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

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

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

#1f1f51 is a cool color. In OKLCH its hue is 279 degrees, its lightness 27.2% and its chroma 0.089.
