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

#1f2c7d is rgb(31, 44, 125) in RGB and oklch(33.91% 0.13712 270.209) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2c7d |
| RGB | rgb(31, 44, 125) |
| HSL | hsl(231.7, 60.26%, 30.59%) |
| HSB / HSV | hsv(231.7 75.2% 49.02%) |
| HWB | hwb(231.7 12.16% 50.98%) |
| CMYK | cmyk(75% 65% 0% 51%) |
| Lab | lab(21.41 18.8 -48.57) |
| LCH | lch(21.41 52.08 291.16) |
| OKLab | oklab(33.91% 0.0005 -0.13712) |
| OKLCH | oklch(33.91% 0.13712 270.209) |
| Display P3 | color(display-p3 0.13208 0.17111 0.47171) |
| Rec. 2020 | color(rec2020 0.11261 0.11505 0.41654) |
| Adobe RGB | color(a98-rgb 0.1567 0.1875 0.47848) |
| ProPhoto RGB | color(prophoto-rgb 0.17722 0.14022 0.38652) |
| Linear sRGB | color(srgb-linear 0.0137 0.02519 0.20508) |
| XYZ D65 | color(xyz-d65 0.05167 0.03573 0.1982) |
| XYZ D50 | color(xyz-d50 0.04502 0.03354 0.14908) |
| SwiftUI | Color(red: 0.122, green: 0.173, blue: 0.49) |
| UIKit | UIColor(red: 0.122, green: 0.173, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2C7D) |
| Android XML | #1F2C7D |

## 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.25:1
- Contrast with black: 1.71:1

## Tints

#1f2c7d, #30418b, #445698, #586aa6, #6e7fb3, #8593c0, #9ca8cd, #b4beda, #ccd3e6, #e5e9f3

## Shades

#1f2c7d, #19256c, #141e5b, #0f174b, #0a113b, #060a2c, #03051e, #010211, #000105, #000001

## Tones

#1f2c7d, #212f76, #23316f, #253269, #283462, #2a355b, #2d3654, #2f374d, #323746, #35373f

## Harmonies

- Complementary: #1f2c7d, #493400
- Split: #1f2c7d, #5b2700, #313e00
- Analogous: #1f2c7d, #003c68, #451d72
- Triadic: #1f2c7d, #6e0300, #00480c
- Tetradic: #1f2c7d, #5c0f58, #493400, #00480c
- Square: #1f2c7d, #6a0034, #493400, #004539
- Monochromatic: #1f2c7d, #03002c, #0a0358, #3b4fa3, #5b73cb

## Questions about #1f2c7d

### What color is #1f2c7d?

#1f2c7d is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 44, 125), in HSL hsl(231.7, 60.26%, 30.59%) and in OKLCH oklch(33.91% 0.13712 270.209).

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

The complementary color of #1f2c7d is #493400. For a calmer combination use the analogous colors #003c68 and #451d72. The triadic partners are #6e0300 and #00480c.

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

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

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

#1f2c7d is a cool color. In OKLCH its hue is 270 degrees, its lightness 33.9% and its chroma 0.137.
