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

#1f2d7e is rgb(31, 45, 126) in RGB and oklch(34.202% 0.13725 269.887) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d7e |
| RGB | rgb(31, 45, 126) |
| HSL | hsl(231.16, 60.51%, 30.78%) |
| HSB / HSV | hsv(231.16 75.4% 49.41%) |
| HWB | hwb(231.16 12.16% 50.59%) |
| CMYK | cmyk(75% 64% 0% 51%) |
| Lab | lab(21.77 18.47 -48.62) |
| LCH | lch(21.77 52.01 290.8) |
| OKLab | oklab(34.202% -0.00027 -0.13725) |
| OKLCH | oklch(34.202% 0.13725 269.887) |
| Display P3 | color(display-p3 0.133 0.17493 0.47555) |
| Rec. 2020 | color(rec2020 0.11445 0.11869 0.42061) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.48226) |
| ProPhoto RGB | color(prophoto-rgb 0.1791 0.14293 0.39032) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.20864) |
| XYZ D65 | color(xyz-d65 0.05269 0.03674 0.20171) |
| XYZ D50 | color(xyz-d50 0.04593 0.03451 0.15173) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.494) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D7E) |
| Android XML | #1F2D7E |

## 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.73:1

## Tints

#1f2d7e, #30428c, #445799, #596ba7, #6e7fb4, #8594c1, #9ca9cd, #b4beda, #ccd3e6, #e5e9f3

## Shades

#1f2d7e, #19266d, #141f5c, #0f184c, #0a113c, #060b2d, #03061f, #010211, #000105, #000001

## Tones

#1f2d7e, #213077, #233270, #25336a, #283563, #2b365c, #2d3755, #30384e, #333847, #363840

## Harmonies

- Complementary: #1f2d7e, #4a3500
- Split: #1f2d7e, #5d2700, #323f00
- Analogous: #1f2d7e, #003d69, #451e73
- Triadic: #1f2d7e, #6f0400, #00490b
- Tetradic: #1f2d7e, #5c1059, #4a3500, #00490b
- Square: #1f2d7e, #6b0136, #4a3500, #00463a
- Monochromatic: #1f2d7e, #03002c, #0a0459, #3c50a4, #5b74cc

## Questions about #1f2d7e

### What color is #1f2d7e?

#1f2d7e is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 45, 126), in HSL hsl(231.16, 60.51%, 30.78%) and in OKLCH oklch(34.202% 0.13725 269.887).

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

The complementary color of #1f2d7e is #4a3500. For a calmer combination use the analogous colors #003d69 and #451e73. The triadic partners are #6f0400 and #00490b.

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

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

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

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