# #1f2e81 color: Bavarian Blue

#1f2e81 is rgb(31, 46, 129) in RGB and oklch(34.682% 0.14022 269.556) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e81 |
| RGB | rgb(31, 46, 129) |
| HSL | hsl(230.82, 61.25%, 31.37%) |
| HSB / HSV | hsv(230.82 75.97% 50.59%) |
| HWB | hwb(230.82 12.16% 49.41%) |
| CMYK | cmyk(76% 64% 0% 49%) |
| Lab | lab(22.28 18.8 -49.66) |
| LCH | lch(22.28 53.1 290.73) |
| OKLab | oklab(34.682% -0.00109 -0.14021) |
| OKLCH | oklch(34.682% 0.14022 269.556) |
| Display P3 | color(display-p3 0.13394 0.17876 0.48688) |
| Rec. 2020 | color(rec2020 0.11745 0.12264 0.4326) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.49354) |
| ProPhoto RGB | color(prophoto-rgb 0.18321 0.14619 0.40145) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.21953) |
| XYZ D65 | color(xyz-d65 0.05504 0.0383 0.21219) |
| XYZ D50 | color(xyz-d50 0.04791 0.03594 0.15961) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.506) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E81) |
| Android XML | #1F2E81 |

## Facts

- Closest name: Bavarian Blue
- Hue family: Blue, soft dark blue
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 11.89:1
- Contrast with black: 1.77:1

## Tints

#1f2e81, #31438e, #44589c, #596ca9, #6e80b6, #8595c2, #9ca9cf, #b4bedb, #ccd4e7, #e5e9f3

## Shades

#1f2e81, #19276f, #141f5e, #0f184e, #0a123e, #060b2e, #03061f, #010212, #000106, #000001

## Tones

#1f2e81, #21317a, #233373, #26356c, #283665, #2b375e, #2e3857, #313950, #343949, #373a41

## Harmonies

- Complementary: #1f2e81, #4c3600
- Split: #1f2e81, #5f2800, #344000
- Analogous: #1f2e81, #003e6a, #461f76
- Triadic: #1f2e81, #710300, #004a0b
- Tetradic: #1f2e81, #5e105c, #4c3600, #004a0b
- Square: #1f2e81, #6d0137, #4c3600, #00473b
- Monochromatic: #1f2e81, #02002c, #0a055c, #3c51a7, #5c75cf

## Questions about #1f2e81

### What color is #1f2e81?

#1f2e81 is soft dark blue. The closest named color is Bavarian Blue. In RGB it is rgb(31, 46, 129), in HSL hsl(230.82, 61.25%, 31.37%) and in OKLCH oklch(34.682% 0.14022 269.556).

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

The complementary color of #1f2e81 is #4c3600. For a calmer combination use the analogous colors #003e6a and #461f76. The triadic partners are #710300 and #004a0b.

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

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

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

#1f2e81 is a cool color. In OKLCH its hue is 270 degrees, its lightness 34.7% and its chroma 0.14.
