# #1f4a87 color: Indigo Hamlet

#1f4a87 is rgb(31, 74, 135) in RGB and oklch(41.317% 0.11256 257.697) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f4a87 |
| RGB | rgb(31, 74, 135) |
| HSL | hsl(215.19, 62.65%, 32.55%) |
| HSB / HSV | hsv(215.19 77.04% 52.94%) |
| HWB | hwb(215.19 12.16% 47.06%) |
| CMYK | cmyk(77% 45% 0% 47%) |
| Lab | lab(31.07 2.67 -39.2) |
| LCH | lch(31.07 39.29 273.89) |
| OKLab | oklab(41.317% -0.02398 -0.10998) |
| OKLCH | oklch(41.317% 0.11256 257.697) |
| Display P3 | color(display-p3 0.16578 0.28635 0.5125) |
| Rec. 2020 | color(rec2020 0.16366 0.2257 0.46054) |
| Adobe RGB | color(a98-rgb 0.20087 0.29547 0.51776) |
| ProPhoto RGB | color(prophoto-rgb 0.217 0.22456 0.42899) |
| Linear sRGB | color(srgb-linear 0.0137 0.06848 0.24228) |
| XYZ D65 | color(xyz-d65 0.07386 0.06938 0.23872) |
| XYZ D50 | color(xyz-d50 0.06701 0.06683 0.17985) |
| SwiftUI | Color(red: 0.122, green: 0.29, blue: 0.529) |
| UIKit | UIColor(red: 0.122, green: 0.29, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF1F4A87) |
| Android XML | #1F4A87 |

## Facts

- Closest name: Indigo Hamlet
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.8:1
- Contrast with black: 2.39:1

## Tints

#1f4a87, #355b93, #4a6da0, #5f7eac, #7590b8, #8ba2c4, #a1b4d0, #b8c7dc, #cfd9e8, #e7ecf3

## Shades

#1f4a87, #193f75, #143563, #0f2a51, #0a2041, #061731, #030e21, #010613, #000206, #000001

## Tones

#1f4a87, #254b81, #2a4b7b, #2f4c76, #334c70, #384c6a, #3c4c64, #404c5e, #444c58, #474c51

## Harmonies

- Complementary: #1f4a87, #6a4200
- Split: #1f4a87, #7a3301, #524e00
- Analogous: #1f4a87, #005476, #493e84
- Triadic: #1f4a87, #7d2c34, #295912
- Tetradic: #1f4a87, #643472, #6a4200, #295912
- Square: #1f4a87, #752d56, #6a4200, #005d3f
- Monochromatic: #1f4a87, #00053f, #002862, #416dad, #6391d4

## Questions about #1f4a87

### What color is #1f4a87?

#1f4a87 is deep dark blue. The closest named color is Indigo Hamlet. In RGB it is rgb(31, 74, 135), in HSL hsl(215.19, 62.65%, 32.55%) and in OKLCH oklch(41.317% 0.11256 257.697).

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

The complementary color of #1f4a87 is #6a4200. For a calmer combination use the analogous colors #005476 and #493e84. The triadic partners are #7d2c34 and #295912.

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

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

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

#1f4a87 is a cool color. In OKLCH its hue is 258 degrees, its lightness 41.3% and its chroma 0.113.
