# #1f2b61 color: Mythical Night

#1f2b61 is rgb(31, 43, 97) in RGB and oklch(31.2% 0.09667 270.45) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2b61 |
| RGB | rgb(31, 43, 97) |
| HSL | hsl(229.09, 51.56%, 25.1%) |
| HSB / HSV | hsv(229.09 68.04% 38.04%) |
| HWB | hwb(229.09 12.16% 61.96%) |
| CMYK | cmyk(68% 56% 0% 62%) |
| Lab | lab(19.06 10.19 -34.36) |
| LCH | lch(19.06 35.84 286.51) |
| OKLab | oklab(31.2% 0.00076 -0.09666) |
| OKLCH | oklch(31.2% 0.09667 270.45) |
| Display P3 | color(display-p3 0.13117 0.16728 0.36688) |
| Rec. 2020 | color(rec2020 0.09694 0.1079 0.30686) |
| Adobe RGB | color(a98-rgb 0.15546 0.18398 0.37492) |
| ProPhoto RGB | color(prophoto-rgb 0.14783 0.13113 0.28821) |
| Linear sRGB | color(srgb-linear 0.0137 0.02416 0.11954) |
| XYZ D65 | color(xyz-d65 0.03586 0.02882 0.11677) |
| XYZ D50 | color(xyz-d50 0.03238 0.02761 0.0879) |
| SwiftUI | Color(red: 0.122, green: 0.169, blue: 0.38) |
| UIKit | UIColor(red: 0.122, green: 0.169, blue: 0.38, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2B61) |
| Android XML | #1F2B61 |

## Facts

- Closest name: Mythical Night
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.32:1
- Contrast with black: 1.58:1

## Tints

#1f2b61, #313f71, #455280, #596790, #6f7ba0, #8590af, #9da5bf, #b4bbcf, #cdd1df, #e6e8ef

## Shades

#1f2b61, #192453, #141d46, #0f1639, #0a102d, #060a21, #030515, #01020b, #000103, #000000

## Tones

#1f2b61, #212c5c, #222d58, #242e53, #262f4e, #272f49, #293045, #2b3040, #2d303b, #2f3136

## Harmonies

- Complementary: #1f2b61, #412e00
- Split: #1f2b61, #512100, #2b3700
- Analogous: #1f2b61, #00345c, #392259
- Triadic: #1f2b61, #58170f, #003d13
- Tetradic: #1f2b61, #4b1a47, #412e00, #003d13
- Square: #1f2b61, #55152e, #412e00, #003d33
- Monochromatic: #1f2b61, #03002a, #070a3e, #3c4c85, #5d6fab

## Questions about #1f2b61

### What color is #1f2b61?

#1f2b61 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 43, 97), in HSL hsl(229.09, 51.56%, 25.1%) and in OKLCH oklch(31.2% 0.09667 270.45).

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

The complementary color of #1f2b61 is #412e00. For a calmer combination use the analogous colors #00345c and #392259. The triadic partners are #58170f and #003d13.

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

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

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

#1f2b61 is a cool color. In OKLCH its hue is 270 degrees, its lightness 31.2% and its chroma 0.097.
