# #1f2d61 color: Mythical Night

#1f2d61 is rgb(31, 45, 97) in RGB and oklch(31.656% 0.09378 269.134) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d61 |
| RGB | rgb(31, 45, 97) |
| HSL | hsl(227.27, 51.56%, 25.1%) |
| HSB / HSV | hsv(227.27 68.04% 38.04%) |
| HWB | hwb(227.27 12.16% 61.96%) |
| CMYK | cmyk(68% 54% 0% 62%) |
| Lab | lab(19.68 8.83 -33.36) |
| LCH | lch(19.68 34.51 284.83) |
| OKLab | oklab(31.656% -0.00142 -0.09377) |
| OKLCH | oklch(31.656% 0.09378 269.134) |
| Display P3 | color(display-p3 0.133 0.17493 0.36712) |
| Rec. 2020 | color(rec2020 0.09971 0.11504 0.30716) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.37505) |
| ProPhoto RGB | color(prophoto-rgb 0.14959 0.13619 0.28858) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.11954) |
| XYZ D65 | color(xyz-d65 0.03661 0.03031 0.11702) |
| XYZ D50 | color(xyz-d50 0.03319 0.02911 0.0881) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.38) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.38, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D61) |
| Android XML | #1F2D61 |

## 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.07:1
- Contrast with black: 1.61:1

## Tints

#1f2d61, #314071, #455480, #5a6890, #6f7c9f, #8691af, #9da6bf, #b5bccf, #cdd2df, #e6e8ef

## Shades

#1f2d61, #192653, #141f46, #0f1839, #0a112d, #060b21, #030615, #01020b, #000103, #000000

## Tones

#1f2d61, #212e5c, #232f58, #243053, #26304f, #28314a, #2a3145, #2c3241, #2e323c, #303237

## Harmonies

- Complementary: #1f2d61, #432e00
- Split: #1f2d61, #532200, #2d3800
- Analogous: #1f2d61, #00365c, #39245a
- Triadic: #1f2d61, #581a13, #003e14
- Tetradic: #1f2d61, #4b1d49, #432e00, #003e14
- Square: #1f2d61, #551831, #432e00, #003e33
- Monochromatic: #1f2d61, #020029, #070d3e, #3d4e85, #5d71ab

## Questions about #1f2d61

### What color is #1f2d61?

#1f2d61 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 45, 97), in HSL hsl(227.27, 51.56%, 25.1%) and in OKLCH oklch(31.656% 0.09378 269.134).

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

The complementary color of #1f2d61 is #432e00. For a calmer combination use the analogous colors #00365c and #39245a. The triadic partners are #581a13 and #003e14.

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

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

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

#1f2d61 is a cool color. In OKLCH its hue is 269 degrees, its lightness 31.7% and its chroma 0.094.
