# #1f2e7f color: Bavarian Blue

#1f2e7f is rgb(31, 46, 127) in RGB and oklch(34.494% 0.13738 269.567) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e7f |
| RGB | rgb(31, 46, 127) |
| HSL | hsl(230.63, 60.76%, 30.98%) |
| HSB / HSV | hsv(230.63 75.59% 49.8%) |
| HWB | hwb(230.63 12.16% 50.2%) |
| CMYK | cmyk(76% 64% 0% 50%) |
| Lab | lab(22.12 18.14 -48.66) |
| LCH | lch(22.12 51.93 290.44) |
| OKLab | oklab(34.494% -0.00104 -0.13738) |
| OKLCH | oklch(34.494% 0.13738 269.567) |
| Display P3 | color(display-p3 0.13394 0.17876 0.47938) |
| Rec. 2020 | color(rec2020 0.11631 0.12235 0.42468) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.48605) |
| ProPhoto RGB | color(prophoto-rgb 0.18098 0.14566 0.39412) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.21223) |
| XYZ D65 | color(xyz-d65 0.05372 0.03777 0.20525) |
| XYZ D50 | color(xyz-d50 0.04686 0.0355 0.1544) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.498) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.498, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E7F) |
| Android XML | #1F2E7F |

## 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.96:1
- Contrast with black: 1.76:1

## Tints

#1f2e7f, #31438d, #44589a, #596ca7, #6e80b4, #8595c1, #9ca9ce, #b4beda, #ccd4e7, #e5e9f3

## Shades

#1f2e7f, #19276e, #141f5d, #0f184c, #0a123c, #060b2d, #03061f, #010211, #000106, #000001

## Tones

#1f2e7f, #213078, #233371, #26346b, #283664, #2b375d, #2e3856, #31384f, #333948, #363941

## Harmonies

- Complementary: #1f2e7f, #4b3600
- Split: #1f2e7f, #5e2800, #344000
- Analogous: #1f2e7f, #003e69, #451f74
- Triadic: #1f2e7f, #700502, #004a0a
- Tetradic: #1f2e7f, #5d115a, #4b3600, #004a0a
- Square: #1f2e7f, #6b0337, #4b3600, #00463a
- Monochromatic: #1f2e7f, #02002c, #0a065a, #3c51a5, #5c75cd

## Questions about #1f2e7f

### What color is #1f2e7f?

#1f2e7f is soft dark blue. The closest named color is Bavarian Blue. In RGB it is rgb(31, 46, 127), in HSL hsl(230.63, 60.76%, 30.98%) and in OKLCH oklch(34.494% 0.13738 269.567).

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

The complementary color of #1f2e7f is #4b3600. For a calmer combination use the analogous colors #003e69 and #451f74. The triadic partners are #700502 and #004a0a.

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

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

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

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