# #1f4c84 color: Night Mode

#1f4c84 is rgb(31, 76, 132) in RGB and oklch(41.586% 0.10588 255.482) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4c84 |
| RGB | rgb(31, 76, 132) |
| HSL | hsl(213.27, 61.96%, 31.96%) |
| HSB / HSV | hsv(213.27 76.52% 51.76%) |
| HWB | hwb(213.27 12.16% 48.24%) |
| CMYK | cmyk(77% 42% 0% 48%) |
| Lab | lab(31.54 0.45 -36.61) |
| LCH | lch(31.54 36.61 270.7) |
| OKLab | oklab(41.586% -0.02654 -0.1025) |
| OKLCH | oklch(41.586% 0.10588 255.482) |
| Display P3 | color(display-p3 0.16841 0.29405 0.50164) |
| Rec. 2020 | color(rec2020 0.16578 0.23296 0.44911) |
| Adobe RGB | color(a98-rgb 0.20421 0.30281 0.50669) |
| ProPhoto RGB | color(prophoto-rgb 0.2163 0.23 0.41845) |
| Linear sRGB | color(srgb-linear 0.0137 0.07227 0.23074) |
| XYZ D65 | color(xyz-d65 0.07314 0.07126 0.22821) |
| XYZ D50 | color(xyz-d50 0.06682 0.06885 0.17198) |
| SwiftUI | Color(red: 0.122, green: 0.298, blue: 0.518) |
| UIKit | UIColor(red: 0.122, green: 0.298, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4C84) |
| Android XML | #1F4C84 |

## Facts

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

## Tints

#1f4c84, #355d91, #4a6e9d, #6080a9, #7591b6, #8ba3c2, #a2b5ce, #b8c7db, #d0d9e7, #e7ecf3

## Shades

#1f4c84, #194172, #143660, #0f2c4f, #0a223f, #06182f, #030f20, #010612, #000206, #000001

## Tones

#1f4c84, #254c7f, #2a4d79, #2f4d74, #344d6e, #384d69, #3d4d63, #414d5d, #444d58, #484c52

## Harmonies

- Complementary: #1f4c84, #6c4100
- Split: #1f4c84, #793510, #554e00
- Analogous: #1f4c84, #005675, #484182
- Triadic: #1f4c84, #7b2f38, #305815
- Tetradic: #1f4c84, #623773, #6c4100, #305815
- Square: #1f4c84, #733158, #6c4100, #005d3e
- Monochromatic: #1f4c84, #00093d, #002b60, #416faa, #6493d1

## Questions about #1f4c84

### What color is #1f4c84?

#1f4c84 is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(31, 76, 132), in HSL hsl(213.27, 61.96%, 31.96%) and in OKLCH oklch(41.586% 0.10588 255.482).

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

The complementary color of #1f4c84 is #6c4100. For a calmer combination use the analogous colors #005675 and #484182. The triadic partners are #7b2f38 and #305815.

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

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

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

#1f4c84 is a cool color. In OKLCH its hue is 255 degrees, its lightness 41.6% and its chroma 0.106.
