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

#1f2e7c is rgb(31, 46, 124) in RGB and oklch(34.214% 0.13309 269.572) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e7c |
| RGB | rgb(31, 46, 124) |
| HSL | hsl(230.32, 60%, 30.39%) |
| HSB / HSV | hsv(230.32 75% 48.63%) |
| HWB | hwb(230.32 12.16% 51.37%) |
| CMYK | cmyk(75% 63% 0% 51%) |
| Lab | lab(21.89 17.14 -47.15) |
| LCH | lch(21.89 50.17 289.97) |
| OKLab | oklab(34.214% -0.00099 -0.13309) |
| OKLCH | oklch(34.214% 0.13309 269.572) |
| Display P3 | color(display-p3 0.13394 0.17876 0.46815) |
| Rec. 2020 | color(rec2020 0.11463 0.12193 0.41282) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.47484) |
| ProPhoto RGB | color(prophoto-rgb 0.17769 0.14488 0.38319) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.20156) |
| XYZ D65 | color(xyz-d65 0.0518 0.037 0.19511) |
| XYZ D50 | color(xyz-d50 0.04534 0.03485 0.14677) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.486) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.486, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E7C) |
| Android XML | #1F2E7C |

## 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.07:1
- Contrast with black: 1.74:1

## Tints

#1f2e7c, #31438a, #445797, #596ba5, #6f80b2, #8594bf, #9ca9cc, #b4bed9, #cdd3e6, #e6e9f3

## Shades

#1f2e7c, #19276b, #141f5a, #0f184a, #0a123b, #060b2c, #03061e, #010211, #000105, #000001

## Tones

#1f2e7c, #213075, #23326f, #263468, #283562, #2b365b, #2d3754, #30384e, #333847, #363840

## Harmonies

- Complementary: #1f2e7c, #4a3500
- Split: #1f2e7c, #5d2700, #333f00
- Analogous: #1f2e7c, #003d68, #442072
- Triadic: #1f2e7c, #6d0804, #00490a
- Tetradic: #1f2e7c, #5b1359, #4a3500, #00490a
- Square: #1f2e7c, #690636, #4a3500, #00463a
- Monochromatic: #1f2e7c, #02002c, #090757, #3c51a2, #5c75c9

## Questions about #1f2e7c

### What color is #1f2e7c?

#1f2e7c is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 46, 124), in HSL hsl(230.32, 60%, 30.39%) and in OKLCH oklch(34.214% 0.13309 269.572).

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

The complementary color of #1f2e7c is #4a3500. For a calmer combination use the analogous colors #003d68 and #442072. The triadic partners are #6d0804 and #00490a.

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

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

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

#1f2e7c is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.2% and its chroma 0.133.
