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

#1f2d7d is rgb(31, 45, 125) in RGB and oklch(34.107% 0.13583 269.896) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d7d |
| RGB | rgb(31, 45, 125) |
| HSL | hsl(231.06, 60.26%, 30.59%) |
| HSB / HSV | hsv(231.06 75.2% 49.02%) |
| HWB | hwb(231.06 12.16% 50.98%) |
| CMYK | cmyk(75% 64% 0% 51%) |
| Lab | lab(21.69 18.13 -48.12) |
| LCH | lch(21.69 51.42 290.65) |
| OKLab | oklab(34.107% -0.00025 -0.13583) |
| OKLCH | oklch(34.107% 0.13583 269.896) |
| Display P3 | color(display-p3 0.133 0.17493 0.4718) |
| Rec. 2020 | color(rec2020 0.11389 0.11855 0.41665) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.47853) |
| ProPhoto RGB | color(prophoto-rgb 0.17799 0.14266 0.38667) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.20508) |
| XYZ D65 | color(xyz-d65 0.05205 0.03649 0.19833) |
| XYZ D50 | color(xyz-d50 0.04542 0.03429 0.14918) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.49) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D7D) |
| Android XML | #1F2D7D |

## 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.14:1
- Contrast with black: 1.73:1

## Tints

#1f2d7d, #31428b, #445798, #596ba6, #6e7fb3, #8594c0, #9ca9cd, #b4beda, #ccd3e6, #e5e9f3

## Shades

#1f2d7d, #19266c, #141f5b, #0f184b, #0a113b, #060b2c, #03061e, #010211, #000105, #000001

## Tones

#1f2d7d, #212f76, #233270, #253369, #283562, #2a365b, #2d3755, #30374e, #333847, #35383f

## Harmonies

- Complementary: #1f2d7d, #4a3500
- Split: #1f2d7d, #5c2700, #323f00
- Analogous: #1f2d7d, #003c68, #451f72
- Triadic: #1f2d7d, #6e0501, #00480b
- Tetradic: #1f2d7d, #5c1159, #4a3500, #00480b
- Square: #1f2d7d, #6a0335, #4a3500, #00453a
- Monochromatic: #1f2d7d, #03002c, #0a0558, #3c50a3, #5c74cb

## Questions about #1f2d7d

### What color is #1f2d7d?

#1f2d7d is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 45, 125), in HSL hsl(231.06, 60.26%, 30.59%) and in OKLCH oklch(34.107% 0.13583 269.896).

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

The complementary color of #1f2d7d is #4a3500. For a calmer combination use the analogous colors #003c68 and #451f72. The triadic partners are #6e0501 and #00480b.

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

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

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

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