# #1f4e88 color: Night Mode

#1f4e88 is rgb(31, 78, 136) in RGB and oklch(42.339% 0.10917 255.401) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4e88 |
| RGB | rgb(31, 78, 136) |
| HSL | hsl(213.14, 62.87%, 32.75%) |
| HSB / HSV | hsv(213.14 77.21% 53.33%) |
| HWB | hwb(213.14 12.16% 46.67%) |
| CMYK | cmyk(77% 43% 0% 47%) |
| Lab | lab(32.39 0.54 -37.72) |
| LCH | lch(32.39 37.72 270.82) |
| OKLab | oklab(42.339% -0.02752 -0.10564) |
| OKLCH | oklch(42.339% 0.10917 255.401) |
| Display P3 | color(display-p3 0.17107 0.30176 0.5168) |
| Rec. 2020 | color(rec2020 0.17123 0.24091 0.46524) |
| Adobe RGB | color(a98-rgb 0.20758 0.31016 0.52182) |
| ProPhoto RGB | color(prophoto-rgb 0.22278 0.23685 0.43367) |
| Linear sRGB | color(srgb-linear 0.0137 0.07619 0.2462) |
| XYZ D65 | color(xyz-d65 0.07733 0.07517 0.24337) |
| XYZ D50 | color(xyz-d50 0.07054 0.07259 0.1834) |
| SwiftUI | Color(red: 0.122, green: 0.306, blue: 0.533) |
| UIKit | UIColor(red: 0.122, green: 0.306, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4E88) |
| Android XML | #1F4E88 |

## 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.39:1
- Contrast with black: 2.5:1

## Tints

#1f4e88, #355f94, #4b70a0, #6081ac, #7693b8, #8ca4c4, #a2b6d0, #b9c8dc, #d0dae8, #e7ecf3

## Shades

#1f4e88, #194375, #143863, #0f2d52, #0a2341, #061931, #030f22, #010713, #000206, #000001

## Tones

#1f4e88, #254f82, #2b4f7d, #304f77, #354f71, #3a4f6c, #3e4f66, #424f60, #464f5a, #4a4e54

## Harmonies

- Complementary: #1f4e88, #6f4300
- Split: #1f4e88, #7d360f, #575000
- Analogous: #1f4e88, #005878, #4a4386
- Triadic: #1f4e88, #7f303a, #315b14
- Tetradic: #1f4e88, #643976, #6f4300, #315b14
- Square: #1f4e88, #76315b, #6f4300, #00603f
- Monochromatic: #1f4e88, #000a41, #002c63, #4171ae, #6495d5

## Questions about #1f4e88

### What color is #1f4e88?

#1f4e88 is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(31, 78, 136), in HSL hsl(213.14, 62.87%, 32.75%) and in OKLCH oklch(42.339% 0.10917 255.401).

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

The complementary color of #1f4e88 is #6f4300. For a calmer combination use the analogous colors #005878 and #4a4386. The triadic partners are #7f303a and #315b14.

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

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

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

#1f4e88 is a cool color. In OKLCH its hue is 255 degrees, its lightness 42.3% and its chroma 0.109.
