# #1f204e color: Fly-by-Night

#1f204e is rgb(31, 32, 78) in RGB and oklch(27.158% 0.0828 278.411) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f204e |
| RGB | rgb(31, 32, 78) |
| HSL | hsl(238.72, 43.12%, 21.37%) |
| HSB / HSV | hsv(238.72 60.26% 30.59%) |
| HWB | hwb(238.72 12.16% 69.41%) |
| CMYK | cmyk(60% 59% 0% 69%) |
| Lab | lab(14.41 11.66 -29.14) |
| LCH | lch(14.41 31.39 291.8) |
| OKLab | oklab(27.158% 0.01211 -0.08191) |
| OKLCH | oklch(27.158% 0.0828 278.411) |
| Display P3 | color(display-p3 0.12227 0.12536 0.29471) |
| Rec. 2020 | color(rec2020 0.07494 0.06792 0.23233) |
| Adobe RGB | color(a98-rgb 0.14315 0.14561 0.30541) |
| ProPhoto RGB | color(prophoto-rgb 0.12218 0.10091 0.22435) |
| Linear sRGB | color(srgb-linear 0.0137 0.01444 0.07619) |
| XYZ D65 | color(xyz-d65 0.02457 0.01874 0.0744) |
| XYZ D50 | color(xyz-d50 0.02244 0.01802 0.056) |
| SwiftUI | Color(red: 0.122, green: 0.125, blue: 0.306) |
| UIKit | UIColor(red: 0.122, green: 0.125, blue: 0.306, alpha: 1) |
| Flutter / Compose | Color(0xFF1F204E) |
| Android XML | #1F204E |

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

## Tints

#1f204e, #31345f, #444870, #595d81, #6e7393, #8589a4, #9c9fb6, #b4b7c8, #ccceda, #e5e6ed

## Shades

#1f204e, #191a43, #141538, #0f0f2d, #0a0a23, #060619, #03030f, #010107, #000002, #000000

## Tones

#1f204e, #1f214a, #202246, #212343, #21243f, #22253b, #232537, #242633, #25262f, #26262b

## Harmonies

- Complementary: #1f204e, #312600
- Split: #1f204e, #3f1d00, #1a2e00
- Analogous: #1f204e, #00284d, #321945
- Triadic: #1f204e, #471303, #003216
- Tetradic: #1f204e, #3f1334, #312600, #003216
- Square: #1f204e, #46101f, #312600, #00312d
- Monochromatic: #1f204e, #040024, #08022d, #3c4071, #5c6196

## Questions about #1f204e

### What color is #1f204e?

#1f204e is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 32, 78), in HSL hsl(238.72, 43.12%, 21.37%) and in OKLCH oklch(27.158% 0.0828 278.411).

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

The complementary color of #1f204e is #312600. For a calmer combination use the analogous colors #00284d and #321945. The triadic partners are #471303 and #003216.

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

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

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

#1f204e is a cool color. In OKLCH its hue is 278 degrees, its lightness 27.2% and its chroma 0.083.
