# #1f224c color: Fly-by-Night

#1f224c is rgb(31, 34, 76) in RGB and oklch(27.445% 0.07632 277.043) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f224c |
| RGB | rgb(31, 34, 76) |
| HSL | hsl(236, 42.06%, 20.98%) |
| HSB / HSV | hsv(236 59.21% 29.8%) |
| HWB | hwb(236 12.16% 70.2%) |
| CMYK | cmyk(59% 55% 0% 70%) |
| Lab | lab(14.9 9.65 -27) |
| LCH | lch(14.9 28.67 289.66) |
| OKLab | oklab(27.445% 0.00936 -0.07575) |
| OKLCH | oklch(27.445% 0.07632 277.043) |
| Display P3 | color(display-p3 0.12374 0.13296 0.28749) |
| Rec. 2020 | color(rec2020 0.07647 0.07415 0.22502) |
| Adobe RGB | color(a98-rgb 0.14521 0.15253 0.29835) |
| ProPhoto RGB | color(prophoto-rgb 0.12207 0.10517 0.2184) |
| Linear sRGB | color(srgb-linear 0.0137 0.016 0.07227) |
| XYZ D65 | color(xyz-d65 0.02441 0.01957 0.07087) |
| XYZ D50 | color(xyz-d50 0.02248 0.0189 0.05335) |
| SwiftUI | Color(red: 0.122, green: 0.133, blue: 0.298) |
| UIKit | UIColor(red: 0.122, green: 0.133, blue: 0.298, alpha: 1) |
| Flutter / Compose | Color(0xFF1F224C) |
| Android XML | #1F224C |

## 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.09:1
- Contrast with black: 1.39:1

## Tints

#1f224c, #31365d, #444a6e, #595e80, #6f7491, #858aa3, #9ca0b5, #b4b7c7, #cccfda, #e5e7ec

## Shades

#1f224c, #191c41, #141636, #0f112c, #0a0b22, #060718, #03030f, #010106, #000002, #000000

## Tones

#1f224c, #202348, #202445, #212541, #22253e, #23263a, #242637, #242733, #25272f, #26272b

## Harmonies

- Complementary: #1f224c, #322600
- Split: #1f224c, #3f1e00, #1d2e00
- Analogous: #1f224c, #00294a, #311b44
- Triadic: #1f224c, #451608, #003217
- Tetradic: #1f224c, #3e1635, #322600, #003217
- Square: #1f224c, #451421, #322600, #00312d
- Monochromatic: #1f224c, #040022, #07042b, #3c426f, #5c6393

## Questions about #1f224c

### What color is #1f224c?

#1f224c is soft very dark indigo. The closest named color is Fly-by-Night. In RGB it is rgb(31, 34, 76), in HSL hsl(236, 42.06%, 20.98%) and in OKLCH oklch(27.445% 0.07632 277.043).

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

The complementary color of #1f224c is #322600. For a calmer combination use the analogous colors #00294a and #311b44. The triadic partners are #451608 and #003217.

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

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

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

#1f224c is a cool color. In OKLCH its hue is 277 degrees, its lightness 27.4% and its chroma 0.076.
