# #1f2c6b color: Mythical Night

#1f2c6b is rgb(31, 44, 107) in RGB and oklch(32.268% 0.11069 270.227) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2c6b |
| RGB | rgb(31, 44, 107) |
| HSL | hsl(229.74, 55.07%, 27.06%) |
| HSB / HSV | hsv(229.74 71.03% 41.96%) |
| HWB | hwb(229.74 12.16% 58.04%) |
| CMYK | cmyk(71% 59% 0% 58%) |
| Lab | lab(20.05 12.81 -39.27) |
| LCH | lch(20.05 41.31 288.07) |
| OKLab | oklab(32.268% 0.00044 -0.11069) |
| OKLCH | oklch(32.268% 0.11069 270.227) |
| Display P3 | color(display-p3 0.13208 0.17111 0.40434) |
| Rec. 2020 | color(rec2020 0.10304 0.11262 0.34583) |
| Adobe RGB | color(a98-rgb 0.1567 0.1875 0.41168) |
| ProPhoto RGB | color(prophoto-rgb 0.15831 0.13579 0.32253) |
| Linear sRGB | color(srgb-linear 0.0137 0.02519 0.14703) |
| XYZ D65 | color(xyz-d65 0.04119 0.03154 0.14302) |
| XYZ D50 | color(xyz-d50 0.03671 0.03002 0.10763) |
| SwiftUI | Color(red: 0.122, green: 0.173, blue: 0.42) |
| UIKit | UIColor(red: 0.122, green: 0.173, blue: 0.42, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2C6B) |
| Android XML | #1F2C6B |

## 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: 12.88:1
- Contrast with black: 1.63:1

## Tints

#1f2c6b, #31407a, #455489, #596898, #6f7da7, #8591b5, #9ca7c4, #b4bcd3, #cdd2e2, #e6e8f0

## Shades

#1f2c6b, #19255c, #141e4e, #0f173f, #0a1132, #060a25, #030518, #01020d, #000104, #000000

## Tones

#1f2c6b, #212e66, #232f60, #24305b, #263155, #293250, #2b324a, #2d3345, #2f333f, #313339

## Harmonies

- Complementary: #1f2c6b, #443000
- Split: #1f2c6b, #552300, #2e3a00
- Analogous: #1f2c6b, #003761, #3d2162
- Triadic: #1f2c6b, #60130b, #00420f
- Tetradic: #1f2c6b, #51184d, #443000, #00420f
- Square: #1f2c6b, #5d1131, #443000, #004035
- Monochromatic: #1f2c6b, #03002c, #080948, #3c4e90, #5c71b6

## Questions about #1f2c6b

### What color is #1f2c6b?

#1f2c6b is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 44, 107), in HSL hsl(229.74, 55.07%, 27.06%) and in OKLCH oklch(32.268% 0.11069 270.227).

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

The complementary color of #1f2c6b is #443000. For a calmer combination use the analogous colors #003761 and #3d2162. The triadic partners are #60130b and #00420f.

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

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

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

#1f2c6b is a cool color. In OKLCH its hue is 270 degrees, its lightness 32.3% and its chroma 0.111.
