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

#1f2d7f is rgb(31, 45, 127) in RGB and oklch(34.296% 0.13867 269.876) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d7f |
| RGB | rgb(31, 45, 127) |
| HSL | hsl(231.25, 60.76%, 30.98%) |
| HSB / HSV | hsv(231.25 75.59% 49.8%) |
| HWB | hwb(231.25 12.16% 50.2%) |
| CMYK | cmyk(76% 65% 0% 50%) |
| Lab | lab(21.85 18.8 -49.12) |
| LCH | lch(21.85 52.59 290.94) |
| OKLab | oklab(34.296% -0.0003 -0.13867) |
| OKLCH | oklch(34.296% 0.13867 269.876) |
| Display P3 | color(display-p3 0.133 0.17493 0.47929) |
| Rec. 2020 | color(rec2020 0.11502 0.11884 0.42457) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.486) |
| ProPhoto RGB | color(prophoto-rgb 0.1802 0.14319 0.39397) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.21223) |
| XYZ D65 | color(xyz-d65 0.05334 0.037 0.20512) |
| XYZ D50 | color(xyz-d50 0.04645 0.03473 0.15429) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.498) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D7F) |
| Android XML | #1F2D7F |

## 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

#1f2d7f, #30428d, #44579a, #596ba7, #6e80b4, #8594c1, #9ca9ce, #b4beda, #ccd3e7, #e5e9f3

## Shades

#1f2d7f, #19266e, #141f5d, #0f184c, #0a113c, #060b2d, #03061f, #010211, #000106, #000001

## Tones

#1f2d7f, #213078, #233271, #25346a, #283564, #2b365d, #2d3756, #30384f, #333847, #363840

## Harmonies

- Complementary: #1f2d7f, #4b3500
- Split: #1f2d7f, #5d2700, #333f00
- Analogous: #1f2d7f, #003d69, #451e74
- Triadic: #1f2d7f, #700300, #00490c
- Tetradic: #1f2d7f, #5d105a, #4b3500, #00490c
- Square: #1f2d7f, #6b0036, #4b3500, #00463a
- Monochromatic: #1f2d7f, #03002c, #0a045a, #3b50a5, #5b74cd

## Questions about #1f2d7f

### What color is #1f2d7f?

#1f2d7f is soft dark blue. The closest named color is St. Patrick’s Blue. In RGB it is rgb(31, 45, 127), in HSL hsl(231.25, 60.76%, 30.98%) and in OKLCH oklch(34.296% 0.13867 269.876).

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

The complementary color of #1f2d7f is #4b3500. For a calmer combination use the analogous colors #003d69 and #451e74. The triadic partners are #700300 and #00490c.

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

White text reads better on #1f2d7f: 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 #1f2d7f a warm or cool color?

#1f2d7f is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.3% and its chroma 0.139.
