# #1f214f color: Fly-by-Night

#1f214f is rgb(31, 33, 79) in RGB and oklch(27.463% 0.08285 277.571) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f214f |
| RGB | rgb(31, 33, 79) |
| HSL | hsl(237.5, 43.64%, 21.57%) |
| HSB / HSV | hsv(237.5 60.76% 30.98%) |
| HWB | hwb(237.5 12.16% 69.02%) |
| CMYK | cmyk(61% 58% 0% 69%) |
| Lab | lab(14.78 11.27 -29.23) |
| LCH | lch(14.78 31.33 291.1) |
| OKLab | oklab(27.463% 0.01092 -0.08213) |
| OKLCH | oklch(27.463% 0.08285 277.571) |
| Display P3 | color(display-p3 0.123 0.12916 0.29856) |
| Rec. 2020 | color(rec2020 0.07646 0.07119 0.23628) |
| Adobe RGB | color(a98-rgb 0.14417 0.14907 0.30906) |
| ProPhoto RGB | color(prophoto-rgb 0.12377 0.10341 0.22767) |
| Linear sRGB | color(srgb-linear 0.0137 0.01521 0.07819) |
| XYZ D65 | color(xyz-d65 0.0252 0.01943 0.0764) |
| XYZ D50 | color(xyz-d50 0.02302 0.01869 0.0575) |
| SwiftUI | Color(red: 0.122, green: 0.129, blue: 0.31) |
| UIKit | UIColor(red: 0.122, green: 0.129, blue: 0.31, alpha: 1) |
| Flutter / Compose | Color(0xFF1F214F) |
| Android XML | #1F214F |

## Facts

- Closest name: Fly-by-Night
- Hue family: Indigo, soft very dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.12:1
- Contrast with black: 1.39:1

## Tints

#1f214f, #313560, #444971, #595e82, #6e7393, #8589a5, #9ca0b7, #b4b7c8, #cccfda, #e5e7ed

## Shades

#1f214f, #191b44, #141638, #0f102e, #0a0b23, #060619, #030310, #010107, #000002, #000000

## Tones

#1f214f, #20224b, #202347, #212444, #222540, #23253c, #232638, #242734, #252730, #26272c

## Harmonies

- Complementary: #1f214f, #322700
- Split: #1f214f, #401d00, #1c2e00
- Analogous: #1f214f, #00294d, #331a46
- Triadic: #1f214f, #481404, #003316
- Tetradic: #1f214f, #401436, #322700, #003316
- Square: #1f214f, #471120, #322700, #00312d
- Monochromatic: #1f214f, #040025, #08032e, #3c4172, #5c6297

## Questions about #1f214f

### What color is #1f214f?

#1f214f is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 33, 79), in HSL hsl(237.5, 43.64%, 21.57%) and in OKLCH oklch(27.463% 0.08285 277.571).

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

The complementary color of #1f214f is #322700. For a calmer combination use the analogous colors #00294d and #331a46. The triadic partners are #481404 and #003316.

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

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

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

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