# #1f2c62 color: Mythical Night

#1f2c62 is rgb(31, 44, 98) in RGB and oklch(31.508% 0.0968 269.87) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2c62 |
| RGB | rgb(31, 44, 98) |
| HSL | hsl(228.36, 51.94%, 25.29%) |
| HSB / HSV | hsv(228.36 68.37% 38.43%) |
| HWB | hwb(228.36 12.16% 61.57%) |
| CMYK | cmyk(68% 55% 0% 62%) |
| Lab | lab(19.44 9.84 -34.41) |
| LCH | lch(19.44 35.79 285.95) |
| OKLab | oklab(31.508% -0.00022 -0.0968) |
| OKLCH | oklch(31.508% 0.0968 269.87) |
| Display P3 | color(display-p3 0.13208 0.17111 0.37073) |
| Rec. 2020 | color(rec2020 0.09877 0.11158 0.31087) |
| Adobe RGB | color(a98-rgb 0.1567 0.1875 0.37864) |
| ProPhoto RGB | color(prophoto-rgb 0.14963 0.13385 0.29176) |
| Linear sRGB | color(srgb-linear 0.0137 0.02519 0.12214) |
| XYZ D65 | color(xyz-d65 0.0367 0.02974 0.11936) |
| XYZ D50 | color(xyz-d50 0.03315 0.02851 0.08986) |
| SwiftUI | Color(red: 0.122, green: 0.173, blue: 0.384) |
| UIKit | UIColor(red: 0.122, green: 0.173, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2C62) |
| Android XML | #1F2C62 |

## 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.17:1
- Contrast with black: 1.59:1

## Tints

#1f2c62, #314072, #455381, #5a6791, #6f7ca0, #8691b0, #9da6c0, #b4bccf, #cdd2df, #e6e8ef

## Shades

#1f2c62, #192554, #141e47, #0f173a, #0a112d, #060a21, #030516, #01020b, #000103, #000000

## Tones

#1f2c62, #212d5d, #222e59, #242f54, #26304f, #28304a, #2a3146, #2c3141, #2e313c, #303137

## Harmonies

- Complementary: #1f2c62, #422e00
- Split: #1f2c62, #532200, #2c3800
- Analogous: #1f2c62, #00355d, #3a235b
- Triadic: #1f2c62, #591811, #003e13
- Tetradic: #1f2c62, #4b1b49, #422e00, #003e13
- Square: #1f2c62, #561630, #422e00, #003e33
- Monochromatic: #1f2c62, #02002b, #070b3f, #3c4d86, #5d70ac

## Questions about #1f2c62

### What color is #1f2c62?

#1f2c62 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 44, 98), in HSL hsl(228.36, 51.94%, 25.29%) and in OKLCH oklch(31.508% 0.0968 269.87).

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

The complementary color of #1f2c62 is #422e00. For a calmer combination use the analogous colors #00355d and #3a235b. The triadic partners are #591811 and #003e13.

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

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

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

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