# #1f4d88 color: Night Mode

#1f4d88 is rgb(31, 77, 136) in RGB and oklch(42.099% 0.11035 256.066) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4d88 |
| RGB | rgb(31, 77, 136) |
| HSL | hsl(213.71, 62.87%, 32.75%) |
| HSB / HSV | hsv(213.71 77.21% 53.33%) |
| HWB | hwb(213.71 12.16% 46.67%) |
| CMYK | cmyk(77% 43% 0% 47%) |
| Lab | lab(32.07 1.15 -38.22) |
| LCH | lch(32.07 38.24 271.72) |
| OKLab | oklab(42.099% -0.02657 -0.10711) |
| OKLCH | oklch(42.099% 0.11035 256.066) |
| Display P3 | color(display-p3 0.16973 0.2979 0.51665) |
| Rec. 2020 | color(rec2020 0.16944 0.23712 0.46505) |
| Adobe RGB | color(a98-rgb 0.20589 0.30648 0.52174) |
| ProPhoto RGB | color(prophoto-rgb 0.22157 0.23381 0.43342) |
| Linear sRGB | color(srgb-linear 0.0137 0.07421 0.2462) |
| XYZ D65 | color(xyz-d65 0.07662 0.07376 0.24313) |
| XYZ D50 | color(xyz-d50 0.06978 0.07118 0.18321) |
| SwiftUI | Color(red: 0.122, green: 0.302, blue: 0.533) |
| UIKit | UIColor(red: 0.122, green: 0.302, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4D88) |
| Android XML | #1F4D88 |

## 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.48:1
- Contrast with black: 2.48:1

## Tints

#1f4d88, #355e94, #4b6fa0, #6081ac, #7692b8, #8ba4c4, #a2b5d0, #b9c8dc, #d0dae8, #e7ecf3

## Shades

#1f4d88, #194275, #143763, #0f2c52, #0a2241, #061831, #030f22, #010713, #000206, #000001

## Tones

#1f4d88, #254e82, #2b4e7d, #304e77, #354e71, #394f6b, #3d4e65, #424e60, #464e5a, #494e53

## Harmonies

- Complementary: #1f4d88, #6e4300
- Split: #1f4d88, #7c360b, #565000
- Analogous: #1f4d88, #005778, #4a4286
- Triadic: #1f4d88, #7e2f38, #2f5a14
- Tetradic: #1f4d88, #643775, #6e4300, #2f5a14
- Square: #1f4d88, #76305a, #6e4300, #005f3f
- Monochromatic: #1f4d88, #000940, #002b63, #4170ae, #6494d5

## Questions about #1f4d88

### What color is #1f4d88?

#1f4d88 is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(31, 77, 136), in HSL hsl(213.71, 62.87%, 32.75%) and in OKLCH oklch(42.099% 0.11035 256.066).

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

The complementary color of #1f4d88 is #6e4300. For a calmer combination use the analogous colors #005778 and #4a4286. The triadic partners are #7e2f38 and #2f5a14.

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

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

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

#1f4d88 is a cool color. In OKLCH its hue is 256 degrees, its lightness 42.1% and its chroma 0.11.
