# #1f4f8a color: Clear Night Sky

#1f4f8a is rgb(31, 79, 138) in RGB and oklch(42.714% 0.1108 255.365) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4f8a |
| RGB | rgb(31, 79, 138) |
| HSL | hsl(213.08, 63.31%, 33.14%) |
| HSB / HSV | hsv(213.08 77.54% 54.12%) |
| HWB | hwb(213.08 12.16% 45.88%) |
| CMYK | cmyk(78% 43% 0% 46%) |
| Lab | lab(32.81 0.59 -38.27) |
| LCH | lch(32.81 38.28 270.88) |
| OKLab | oklab(42.714% -0.02799 -0.1072) |
| OKLCH | oklch(42.714% 0.1108 255.365) |
| Display P3 | color(display-p3 0.17241 0.30561 0.52438) |
| Rec. 2020 | color(rec2020 0.17396 0.24489 0.47332) |
| Adobe RGB | color(a98-rgb 0.20928 0.31384 0.5294) |
| ProPhoto RGB | color(prophoto-rgb 0.22604 0.2403 0.44133) |
| Linear sRGB | color(srgb-linear 0.0137 0.07819 0.25415) |
| XYZ D65 | color(xyz-d65 0.07948 0.07718 0.25116) |
| XYZ D50 | color(xyz-d50 0.07245 0.07451 0.18927) |
| SwiftUI | Color(red: 0.122, green: 0.31, blue: 0.541) |
| UIKit | UIColor(red: 0.122, green: 0.31, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4F8A) |
| Android XML | #1F4F8A |

## Facts

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

## Tints

#1f4f8a, #366096, #4b71a2, #6082ae, #7693ba, #8ca5c5, #a2b6d1, #b9c8dd, #d0dae8, #e7edf4

## Shades

#1f4f8a, #194477, #143865, #0f2e53, #0a2342, #061932, #031022, #010714, #000207, #000001

## Tones

#1f4f8a, #265084, #2b507f, #315079, #365073, #3a506d, #3f5067, #435061, #47505b, #4b4f55

## Harmonies

- Complementary: #1f4f8a, #714400
- Split: #1f4f8a, #7e370f, #585100
- Analogous: #1f4f8a, #005979, #4b4388
- Triadic: #1f4f8a, #80303b, #315c14
- Tetradic: #1f4f8a, #663978, #714400, #315c14
- Square: #1f4f8a, #78325c, #714400, #006140
- Monochromatic: #1f4f8a, #000b42, #002d65, #4272b0, #6597d7

## Questions about #1f4f8a

### What color is #1f4f8a?

#1f4f8a is deep dark blue. The closest named color is Clear Night Sky. In RGB it is rgb(31, 79, 138), in HSL hsl(213.08, 63.31%, 33.14%) and in OKLCH oklch(42.714% 0.1108 255.365).

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

The complementary color of #1f4f8a is #714400. For a calmer combination use the analogous colors #005979 and #4b4388. The triadic partners are #80303b and #315c14.

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

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

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

#1f4f8a is a cool color. In OKLCH its hue is 255 degrees, its lightness 42.7% and its chroma 0.111.
