# #1f2a75 color: St. Patrick’s Blue

#1f2a75 is rgb(31, 42, 117) in RGB and oklch(32.757% 0.12825 271.024) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2a75 |
| RGB | rgb(31, 42, 117) |
| HSL | hsl(232.33, 58.11%, 29.02%) |
| HSB / HSV | hsv(232.33 73.5% 45.88%) |
| HWB | hwb(232.33 12.16% 54.12%) |
| CMYK | cmyk(74% 64% 0% 54%) |
| Lab | lab(20.22 17.48 -45.43) |
| LCH | lch(20.22 48.68 291.04) |
| OKLab | oklab(32.757% 0.00229 -0.12823) |
| OKLCH | oklch(32.757% 0.12825 271.024) |
| Display P3 | color(display-p3 0.13028 0.16346 0.44156) |
| Rec. 2020 | color(rec2020 0.10563 0.10691 0.38475) |
| Adobe RGB | color(a98-rgb 0.15424 0.18046 0.44858) |
| ProPhoto RGB | color(prophoto-rgb 0.16702 0.13328 0.35739) |
| Linear sRGB | color(srgb-linear 0.0137 0.02315 0.17789) |
| XYZ D65 | color(xyz-d65 0.04604 0.03231 0.17211) |
| XYZ D50 | color(xyz-d50 0.04034 0.03043 0.12947) |
| SwiftUI | Color(red: 0.122, green: 0.165, blue: 0.459) |
| UIKit | UIColor(red: 0.122, green: 0.165, blue: 0.459, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2A75) |
| Android XML | #1F2A75 |

## Facts

- Closest name: St. Patrick’s Blue
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.76:1
- Contrast with black: 1.65:1

## Tints

#1f2a75, #303f83, #445492, #5868a0, #6e7dae, #8592bb, #9ca7c9, #b4bcd7, #ccd2e4, #e5e8f2

## Shades

#1f2a75, #192365, #141c55, #0f1646, #0a1037, #060a29, #03051c, #01020f, #000105, #000001

## Tones

#1f2a75, #212c6f, #222e68, #243062, #26315c, #293256, #2b334f, #2d3449, #303442, #32353c

## Harmonies

- Complementary: #1f2a75, #453200
- Split: #1f2a75, #572500, #2e3b00
- Analogous: #1f2a75, #003864, #411d6a
- Triadic: #1f2a75, #670700, #00440e
- Tetradic: #1f2a75, #571052, #453200, #00440e
- Square: #1f2a75, #640431, #453200, #004137
- Monochromatic: #1f2a75, #03002c, #0a0351, #3b4d9b, #5b70c2

## Questions about #1f2a75

### What color is #1f2a75?

#1f2a75 is soft dark indigo. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 42, 117), in HSL hsl(232.33, 58.11%, 29.02%) and in OKLCH oklch(32.757% 0.12825 271.024).

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

The complementary color of #1f2a75 is #453200. For a calmer combination use the analogous colors #003864 and #411d6a. The triadic partners are #670700 and #00440e.

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

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

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

#1f2a75 is a cool color. In OKLCH its hue is 271 degrees, its lightness 32.8% and its chroma 0.128.
