# #1f2d5f color: Mythical Night

#1f2d5f is rgb(31, 45, 95) in RGB and oklch(31.497% 0.09061 268.944) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d5f |
| RGB | rgb(31, 45, 95) |
| HSL | hsl(226.88, 50.79%, 24.71%) |
| HSB / HSV | hsv(226.88 67.37% 37.25%) |
| HWB | hwb(226.88 12.16% 62.75%) |
| CMYK | cmyk(67% 53% 0% 63%) |
| Lab | lab(19.56 8.18 -32.25) |
| LCH | lch(19.56 33.27 284.22) |
| OKLab | oklab(31.497% -0.00167 -0.0906) |
| OKLCH | oklch(31.497% 0.09061 268.944) |
| Display P3 | color(display-p3 0.133 0.17493 0.35966) |
| Rec. 2020 | color(rec2020 0.09882 0.11483 0.29944) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.36775) |
| ProPhoto RGB | color(prophoto-rgb 0.14775 0.1358 0.28188) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.11444) |
| XYZ D65 | color(xyz-d65 0.03569 0.02994 0.11217) |
| XYZ D50 | color(xyz-d50 0.03246 0.0288 0.08446) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.373) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D5F) |
| Android XML | #1F2D5F |

## 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.13:1
- Contrast with black: 1.6:1

## Tints

#1f2d5f, #31406f, #45547e, #5a688e, #707c9e, #8691ae, #9da6be, #b5bcce, #cdd2de, #e6e8ef

## Shades

#1f2d5f, #192652, #141f44, #0f1838, #0a112c, #060b20, #030615, #01020a, #000103, #000000

## Tones

#1f2d5f, #212e5b, #232f56, #242f52, #26304d, #283149, #2a3144, #2c3140, #2e313b, #303136

## Harmonies

- Complementary: #1f2d5f, #422e00
- Split: #1f2d5f, #522300, #2d3700
- Analogous: #1f2d5f, #00365a, #392458
- Triadic: #1f2d5f, #571a14, #003d15
- Tetradic: #1f2d5f, #491d48, #422e00, #003d15
- Square: #1f2d5f, #541931, #422e00, #003e32
- Monochromatic: #1f2d5f, #020028, #060d3d, #3d4e83, #5d70a8

## Questions about #1f2d5f

### What color is #1f2d5f?

#1f2d5f is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 45, 95), in HSL hsl(226.88, 50.79%, 24.71%) and in OKLCH oklch(31.497% 0.09061 268.944).

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

The complementary color of #1f2d5f is #422e00. For a calmer combination use the analogous colors #00365a and #392458. The triadic partners are #571a14 and #003d15.

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

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

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

#1f2d5f is a cool color. In OKLCH its hue is 269 degrees, its lightness 31.5% and its chroma 0.091.
