# #1f2c5f color: Mythical Night

#1f2c5f is rgb(31, 44, 95) in RGB and oklch(31.266% 0.09206 269.657) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2c5f |
| RGB | rgb(31, 44, 95) |
| HSL | hsl(227.81, 50.79%, 24.71%) |
| HSB / HSV | hsv(227.81 67.37% 37.25%) |
| HWB | hwb(227.81 12.16% 62.75%) |
| CMYK | cmyk(67% 54% 0% 63%) |
| Lab | lab(19.24 8.85 -32.76) |
| LCH | lch(19.24 33.93 285.12) |
| OKLab | oklab(31.266% -0.00055 -0.09206) |
| OKLCH | oklch(31.266% 0.09206 269.657) |
| Display P3 | color(display-p3 0.13208 0.17111 0.35954) |
| Rec. 2020 | color(rec2020 0.09742 0.11125 0.29929) |
| Adobe RGB | color(a98-rgb 0.1567 0.1875 0.36769) |
| ProPhoto RGB | color(prophoto-rgb 0.14686 0.13325 0.28169) |
| Linear sRGB | color(srgb-linear 0.0137 0.02519 0.11444) |
| XYZ D65 | color(xyz-d65 0.03531 0.02919 0.11204) |
| XYZ D50 | color(xyz-d50 0.03205 0.02804 0.08435) |
| SwiftUI | Color(red: 0.122, green: 0.173, blue: 0.373) |
| UIKit | UIColor(red: 0.122, green: 0.173, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2C5F) |
| Android XML | #1F2C5F |

## 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.26:1
- Contrast with black: 1.58:1

## Tints

#1f2c5f, #313f6f, #45537e, #5a678e, #6f7b9e, #8690ae, #9da6be, #b4bbce, #cdd2de, #e6e8ef

## Shades

#1f2c5f, #192552, #141e44, #0f1738, #0a112c, #060a20, #030515, #01020a, #000103, #000000

## Tones

#1f2c5f, #212d5b, #222e56, #242f52, #262f4d, #283049, #293044, #2b313f, #2d313b, #2f3136

## Harmonies

- Complementary: #1f2c5f, #412e00
- Split: #1f2c5f, #512200, #2c3700
- Analogous: #1f2c5f, #00355a, #392358
- Triadic: #1f2c5f, #561912, #003d14
- Tetradic: #1f2c5f, #491c47, #412e00, #003d14
- Square: #1f2c5f, #54182f, #412e00, #003d32
- Monochromatic: #1f2c5f, #020029, #070c3d, #3d4d83, #5d6fa8

## Questions about #1f2c5f

### What color is #1f2c5f?

#1f2c5f is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 44, 95), in HSL hsl(227.81, 50.79%, 24.71%) and in OKLCH oklch(31.266% 0.09206 269.657).

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

The complementary color of #1f2c5f is #412e00. For a calmer combination use the analogous colors #00355a and #392358. The triadic partners are #561912 and #003d14.

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

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

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

#1f2c5f is a cool color. In OKLCH its hue is 270 degrees, its lightness 31.3% and its chroma 0.092.
