# #1f2f76 color: Twilight Express

#1f2f76 is rgb(31, 47, 118) in RGB and oklch(33.875% 0.12303 269.131) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2f76 |
| RGB | rgb(31, 47, 118) |
| HSL | hsl(228.97, 58.39%, 29.22%) |
| HSB / HSV | hsv(228.97 73.73% 46.27%) |
| HWB | hwb(228.97 12.16% 53.73%) |
| CMYK | cmyk(74% 60% 0% 54%) |
| Lab | lab(21.73 14.46 -43.61) |
| LCH | lch(21.73 45.94 288.35) |
| OKLab | oklab(33.875% -0.00187 -0.12302) |
| OKLCH | oklch(33.875% 0.12303 269.131) |
| Display P3 | color(display-p3 0.13489 0.18259 0.44578) |
| Rec. 2020 | color(rec2020 0.11272 0.12466 0.3893) |
| Adobe RGB | color(a98-rgb 0.16052 0.1981 0.45255) |
| ProPhoto RGB | color(prophoto-rgb 0.17208 0.14589 0.36174) |
| Linear sRGB | color(srgb-linear 0.0137 0.02843 0.18116) |
| XYZ D65 | color(xyz-d65 0.04851 0.03632 0.17586) |
| XYZ D50 | color(xyz-d50 0.04284 0.03441 0.13232) |
| SwiftUI | Color(red: 0.122, green: 0.184, blue: 0.463) |
| UIKit | UIColor(red: 0.122, green: 0.184, blue: 0.463, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2F76) |
| Android XML | #1F2F76 |

## Facts

- Closest name: Twilight Express
- Hue family: Blue, soft dark blue
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.16:1
- Contrast with black: 1.73:1

## Tints

#1f2f76, #314384, #455792, #596ba0, #6f7fae, #8594bc, #9da9c9, #b4bed7, #cdd3e4, #e6e9f2

## Shades

#1f2f76, #192766, #142056, #0f1947, #0a1238, #060c29, #03061c, #01030f, #000105, #000001

## Tones

#1f2f76, #213170, #23326a, #263464, #28355e, #2b3658, #2d3651, #30374b, #323745, #35373e

## Harmonies

- Complementary: #1f2f76, #4a3400
- Split: #1f2f76, #5c2600, #333e00
- Analogous: #1f2f76, #003c66, #42236d
- Triadic: #1f2f76, #69100a, #00470a
- Tetradic: #1f2f76, #581756, #4a3400, #00470a
- Square: #1f2f76, #650e36, #4a3400, #004538
- Monochromatic: #1f2f76, #02002c, #080a52, #3c519c, #5c75c3

## Questions about #1f2f76

### What color is #1f2f76?

#1f2f76 is soft dark blue. The closest named color is Twilight Express. In RGB it is rgb(31, 47, 118), in HSL hsl(228.97, 58.39%, 29.22%) and in OKLCH oklch(33.875% 0.12303 269.131).

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

The complementary color of #1f2f76 is #4a3400. For a calmer combination use the analogous colors #003c66 and #42236d. The triadic partners are #69100a and #00470a.

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

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

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

#1f2f76 is a cool color. In OKLCH its hue is 269 degrees, its lightness 33.9% and its chroma 0.123.
