# #1f4e89 color: Night Mode

#1f4e89 is rgb(31, 78, 137) in RGB and oklch(42.407% 0.11057 255.714) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4e89 |
| RGB | rgb(31, 78, 137) |
| HSL | hsl(213.4, 63.1%, 32.94%) |
| HSB / HSV | hsv(213.4 77.37% 53.73%) |
| HWB | hwb(213.4 12.16% 46.27%) |
| CMYK | cmyk(77% 43% 0% 46%) |
| Lab | lab(32.44 0.87 -38.25) |
| LCH | lch(32.44 38.26 271.3) |
| OKLab | oklab(42.407% -0.02729 -0.10716) |
| OKLCH | oklch(42.407% 0.11057 255.714) |
| Display P3 | color(display-p3 0.17107 0.30176 0.52052) |
| Rec. 2020 | color(rec2020 0.1717 0.241 0.46918) |
| Adobe RGB | color(a98-rgb 0.20758 0.31016 0.52557) |
| ProPhoto RGB | color(prophoto-rgb 0.2238 0.23705 0.43737) |
| Linear sRGB | color(srgb-linear 0.0137 0.07619 0.25016) |
| XYZ D65 | color(xyz-d65 0.07804 0.07546 0.24713) |
| XYZ D50 | color(xyz-d50 0.07111 0.07283 0.18622) |
| SwiftUI | Color(red: 0.122, green: 0.306, blue: 0.537) |
| UIKit | UIColor(red: 0.122, green: 0.306, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4E89) |
| Android XML | #1F4E89 |

## Facts

- Closest name: Night Mode
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.37:1
- Contrast with black: 2.51:1

## Tints

#1f4e89, #355f95, #4b70a1, #6081ad, #7693b9, #8ca4c5, #a2b6d1, #b9c8dc, #d0dae8, #e7ecf3

## Shades

#1f4e89, #194376, #143864, #0f2d53, #0a2342, #061931, #030f22, #010714, #000207, #000001

## Tones

#1f4e89, #254f83, #2b4f7e, #304f78, #354f72, #3a4f6c, #3e4f66, #424f60, #464f5a, #4a4f54

## Harmonies

- Complementary: #1f4e89, #6f4300
- Split: #1f4e89, #7d360d, #575000
- Analogous: #1f4e89, #005878, #4a4287
- Triadic: #1f4e89, #7f2f39, #305b14
- Tetradic: #1f4e89, #653877, #6f4300, #305b14
- Square: #1f4e89, #77315b, #6f4300, #00603f
- Monochromatic: #1f4e89, #000a41, #002c64, #4171af, #6496d6

## Questions about #1f4e89

### What color is #1f4e89?

#1f4e89 is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(31, 78, 137), in HSL hsl(213.4, 63.1%, 32.94%) and in OKLCH oklch(42.407% 0.11057 255.714).

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

The complementary color of #1f4e89 is #6f4300. For a calmer combination use the analogous colors #005878 and #4a4287. The triadic partners are #7f2f39 and #305b14.

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

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

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

#1f4e89 is a cool color. In OKLCH its hue is 256 degrees, its lightness 42.4% and its chroma 0.111.
