# #1f4c87 color: Night Mode

#1f4c87 is rgb(31, 76, 135) in RGB and oklch(41.792% 0.11013 256.422) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4c87 |
| RGB | rgb(31, 76, 135) |
| HSL | hsl(214.04, 62.65%, 32.55%) |
| HSB / HSV | hsv(214.04 77.04% 52.94%) |
| HWB | hwb(214.04 12.16% 47.06%) |
| CMYK | cmyk(77% 44% 0% 47%) |
| Lab | lab(31.7 1.43 -38.2) |
| LCH | lch(31.7 38.23 272.15) |
| OKLab | oklab(41.792% -0.02586 -0.10706) |
| OKLCH | oklch(41.792% 0.11013 256.422) |
| Display P3 | color(display-p3 0.16841 0.29405 0.51279) |
| Rec. 2020 | color(rec2020 0.16719 0.23324 0.46091) |
| Adobe RGB | color(a98-rgb 0.20421 0.30281 0.51791) |
| ProPhoto RGB | color(prophoto-rgb 0.21935 0.23058 0.42948) |
| Linear sRGB | color(srgb-linear 0.0137 0.07227 0.24228) |
| XYZ D65 | color(xyz-d65 0.07522 0.07209 0.23918) |
| XYZ D50 | color(xyz-d50 0.06848 0.06955 0.18022) |
| SwiftUI | Color(red: 0.122, green: 0.298, blue: 0.529) |
| UIKit | UIColor(red: 0.122, green: 0.298, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4C87) |
| Android XML | #1F4C87 |

## 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.6:1
- Contrast with black: 2.44:1

## Tints

#1f4c87, #355d93, #4a6ea0, #6080ac, #7591b8, #8ba3c4, #a2b5d0, #b8c7dc, #d0dae7, #e7ecf3

## Shades

#1f4c87, #194175, #143663, #0f2c51, #0a2241, #061831, #030f21, #010613, #000206, #000001

## Tones

#1f4c87, #254d81, #2b4d7c, #304d76, #344e70, #394e6a, #3d4e65, #414d5f, #454d59, #494d53

## Harmonies

- Complementary: #1f4c87, #6d4200
- Split: #1f4c87, #7b3509, #554f00
- Analogous: #1f4c87, #005677, #494185
- Triadic: #1f4c87, #7d2e37, #2d5914
- Tetradic: #1f4c87, #643774, #6d4200, #2d5914
- Square: #1f4c87, #752f59, #6d4200, #005e3f
- Monochromatic: #1f4c87, #000840, #002a62, #416fad, #6493d4

## Questions about #1f4c87

### What color is #1f4c87?

#1f4c87 is deep dark blue. The closest named color is Night Mode. In RGB it is rgb(31, 76, 135), in HSL hsl(214.04, 62.65%, 32.55%) and in OKLCH oklch(41.792% 0.11013 256.422).

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

The complementary color of #1f4c87 is #6d4200. For a calmer combination use the analogous colors #005677 and #494185. The triadic partners are #7d2e37 and #2d5914.

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

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

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

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