# #1f508a color: Clear Night Sky

#1f508a is rgb(31, 80, 138) in RGB and oklch(42.954% 0.10963 254.697) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f508a |
| RGB | rgb(31, 80, 138) |
| HSL | hsl(212.52, 63.31%, 33.14%) |
| HSB / HSV | hsv(212.52 77.54% 54.12%) |
| HWB | hwb(212.52 12.16% 45.88%) |
| CMYK | cmyk(78% 42% 0% 46%) |
| Lab | lab(33.13 -0.02 -37.77) |
| LCH | lch(33.13 37.77 269.98) |
| OKLab | oklab(42.954% -0.02893 -0.10574) |
| OKLCH | oklch(42.954% 0.10963 254.697) |
| Display P3 | color(display-p3 0.17377 0.30946 0.52453) |
| Rec. 2020 | color(rec2020 0.17577 0.24868 0.47352) |
| Adobe RGB | color(a98-rgb 0.21099 0.31752 0.52948) |
| ProPhoto RGB | color(prophoto-rgb 0.22726 0.24337 0.44159) |
| Linear sRGB | color(srgb-linear 0.0137 0.08022 0.25415) |
| XYZ D65 | color(xyz-d65 0.08021 0.07863 0.25141) |
| XYZ D50 | color(xyz-d50 0.07324 0.07596 0.18947) |
| SwiftUI | Color(red: 0.122, green: 0.314, blue: 0.541) |
| UIKit | UIColor(red: 0.122, green: 0.314, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF1F508A) |
| Android XML | #1F508A |

## 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.16:1
- Contrast with black: 2.57:1

## Tints

#1f508a, #366196, #4b72a2, #6183ae, #7694ba, #8ca5c5, #a2b7d1, #b9c9dd, #d0dae8, #e7edf4

## Shades

#1f508a, #194477, #143965, #0f2e53, #0a2442, #061a32, #031022, #010714, #000207, #000001

## Tones

#1f508a, #265084, #2c517f, #315179, #365173, #3b516d, #3f5168, #445162, #48505c, #4c5056

## Harmonies

- Complementary: #1f508a, #724400
- Split: #1f508a, #7f3813, #5a5200
- Analogous: #1f508a, #005a79, #4a4589
- Triadic: #1f508a, #81313c, #345c15
- Tetradic: #1f508a, #663a79, #724400, #345c15
- Square: #1f508a, #78335e, #724400, #006240
- Monochromatic: #1f508a, #000c42, #002e65, #4273b0, #6598d7

## Questions about #1f508a

### What color is #1f508a?

#1f508a is deep dark blue. The closest named color is Clear Night Sky. In RGB it is rgb(31, 80, 138), in HSL hsl(212.52, 63.31%, 33.14%) and in OKLCH oklch(42.954% 0.10963 254.697).

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

The complementary color of #1f508a is #724400. For a calmer combination use the analogous colors #005a79 and #4a4589. The triadic partners are #81313c and #345c15.

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

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

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

#1f508a is a cool color. In OKLCH its hue is 255 degrees, its lightness 43% and its chroma 0.11.
