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

#1f2e7b is rgb(31, 46, 123) in RGB and oklch(34.121% 0.13165 269.571) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e7b |
| RGB | rgb(31, 46, 123) |
| HSL | hsl(230.22, 59.74%, 30.2%) |
| HSB / HSV | hsv(230.22 74.8% 48.24%) |
| HWB | hwb(230.22 12.16% 51.76%) |
| CMYK | cmyk(75% 63% 0% 52%) |
| Lab | lab(21.81 16.8 -46.64) |
| LCH | lch(21.81 49.58 289.81) |
| OKLab | oklab(34.121% -0.00099 -0.13165) |
| OKLCH | oklch(34.121% 0.13165 269.571) |
| Display P3 | color(display-p3 0.13394 0.17876 0.4644) |
| Rec. 2020 | color(rec2020 0.11408 0.12179 0.40887) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.47111) |
| ProPhoto RGB | color(prophoto-rgb 0.1766 0.14462 0.37956) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.19807) |
| XYZ D65 | color(xyz-d65 0.05117 0.03675 0.19179) |
| XYZ D50 | color(xyz-d50 0.04484 0.03464 0.14428) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.482) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.482, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E7B) |
| Android XML | #1F2E7B |

## Facts

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

## Tints

#1f2e7b, #314389, #445797, #596ba4, #6f80b2, #8594bf, #9ca9cc, #b4bed9, #cdd3e6, #e6e9f2

## Shades

#1f2e7b, #19276a, #141f5a, #0f184a, #0a123a, #060b2c, #03061e, #010210, #000105, #000001

## Tones

#1f2e7b, #213074, #23326e, #263467, #283561, #2b365a, #2d3754, #30374d, #333846, #35383f

## Harmonies

- Complementary: #1f2e7b, #4a3500
- Split: #1f2e7b, #5d2700, #333f00
- Analogous: #1f2e7b, #003d68, #442071
- Triadic: #1f2e7b, #6d0904, #00480a
- Tetradic: #1f2e7b, #5b1458, #4a3500, #00480a
- Square: #1f2e7b, #690736, #4a3500, #004539
- Monochromatic: #1f2e7b, #02002c, #090756, #3c51a1, #5c75c8

## Questions about #1f2e7b

### What color is #1f2e7b?

#1f2e7b is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 46, 123), in HSL hsl(230.22, 59.74%, 30.2%) and in OKLCH oklch(34.121% 0.13165 269.571).

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

The complementary color of #1f2e7b is #4a3500. For a calmer combination use the analogous colors #003d68 and #442071. The triadic partners are #6d0904 and #00480a.

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

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

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

#1f2e7b is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.1% and its chroma 0.132.
