# #1a1f51 color: Fly-by-Night

#1a1f51 is rgb(26, 31, 81) in RGB and oklch(26.797% 0.09053 274.242) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a1f51 |
| RGB | rgb(26, 31, 81) |
| HSL | hsl(234.55, 51.4%, 20.98%) |
| HSB / HSV | hsv(234.55 67.9% 31.76%) |
| HWB | hwb(234.55 10.2% 68.24%) |
| CMYK | cmyk(68% 62% 0% 68%) |
| Lab | lab(13.89 12.01 -32.05) |
| LCH | lch(13.89 34.23 290.54) |
| OKLab | oklab(26.797% 0.0067 -0.09028) |
| OKLCH | oklch(26.797% 0.09053 274.242) |
| Display P3 | color(display-p3 0.10569 0.12097 0.30569) |
| Rec. 2020 | color(rec2020 0.06551 0.06412 0.24352) |
| Adobe RGB | color(a98-rgb 0.13018 0.14216 0.31615) |
| ProPhoto RGB | color(prophoto-rgb 0.11864 0.09807 0.23362) |
| Linear sRGB | color(srgb-linear 0.01033 0.0137 0.08228) |
| XYZ D65 | color(xyz-d65 0.02401 0.01794 0.08005) |
| XYZ D50 | color(xyz-d50 0.02155 0.01711 0.06023) |
| SwiftUI | Color(red: 0.102, green: 0.122, blue: 0.318) |
| UIKit | UIColor(red: 0.102, green: 0.122, blue: 0.318, alpha: 1) |
| Flutter / Compose | Color(0xFF1A1F51) |
| Android XML | #1A1F51 |

## 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.46:1
- Contrast with black: 1.36:1

## Tints

#1a1f51, #2c3362, #404873, #555d84, #6b7395, #8289a6, #999fb8, #b2b7c9, #cbcedb, #e5e6ed

## Shades

#1a1f51, #151945, #10143a, #0c0f2f, #070a24, #04061a, #020310, #010107, #000002, #000000

## Tones

#1a1f51, #1b204d, #1c2149, #1d2244, #1e2340, #1f243c, #202538, #222533, #23252f, #24262a

## Harmonies

- Complementary: #1a1f51, #322400
- Split: #1a1f51, #401a00, #1d2c00
- Analogous: #1a1f51, #00284e, #301749
- Triadic: #1a1f51, #480e02, #00320f
- Tetradic: #1a1f51, #3e1037, #322400, #00320f
- Square: #1a1f51, #470b21, #322400, #00302a
- Monochromatic: #1a1f51, #030028, #05012f, #363f74, #566199

## Questions about #1a1f51

### What color is #1a1f51?

#1a1f51 is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(26, 31, 81), in HSL hsl(234.55, 51.4%, 20.98%) and in OKLCH oklch(26.797% 0.09053 274.242).

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

The complementary color of #1a1f51 is #322400. For a calmer combination use the analogous colors #00284e and #301749. The triadic partners are #480e02 and #00320f.

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

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

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

#1a1f51 is a cool color. In OKLCH its hue is 274 degrees, its lightness 26.8% and its chroma 0.091.
