# #1f2f62 color: Mythical Night

#1f2f62 is rgb(31, 47, 98) in RGB and oklch(32.199% 0.0925 267.841) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2f62 |
| RGB | rgb(31, 47, 98) |
| HSL | hsl(225.67, 51.94%, 25.29%) |
| HSB / HSV | hsv(225.67 68.37% 38.43%) |
| HWB | hwb(225.67 12.16% 61.57%) |
| CMYK | cmyk(68% 52% 0% 62%) |
| Lab | lab(20.37 7.81 -32.91) |
| LCH | lch(20.37 33.82 283.35) |
| OKLab | oklab(32.199% -0.00349 -0.09244) |
| OKLCH | oklch(32.199% 0.0925 267.841) |
| Display P3 | color(display-p3 0.13489 0.18259 0.37109) |
| Rec. 2020 | color(rec2020 0.103 0.12233 0.31134) |
| Adobe RGB | color(a98-rgb 0.16052 0.1981 0.37883) |
| ProPhoto RGB | color(prophoto-rgb 0.15233 0.14153 0.29232) |
| Linear sRGB | color(srgb-linear 0.0137 0.02843 0.12214) |
| XYZ D65 | color(xyz-d65 0.03786 0.03206 0.11975) |
| XYZ D50 | color(xyz-d50 0.0344 0.03083 0.09017) |
| SwiftUI | Color(red: 0.122, green: 0.184, blue: 0.384) |
| UIKit | UIColor(red: 0.122, green: 0.184, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2F62) |
| Android XML | #1F2F62 |

## 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.8:1
- Contrast with black: 1.64:1

## Tints

#1f2f62, #324271, #455681, #5a6990, #707da0, #8692b0, #9da7bf, #b5bccf, #cdd2df, #e6e8ef

## Shades

#1f2f62, #192754, #142047, #0f193a, #0a122d, #060c21, #030616, #01030b, #000103, #000000

## Tones

#1f2f62, #21305d, #233159, #253154, #273250, #29324b, #2b3347, #2d3342, #2f333d, #313338

## Harmonies

- Complementary: #1f2f62, #452f00
- Split: #1f2f62, #552400, #303900
- Analogous: #1f2f62, #00385c, #3a265c
- Triadic: #1f2f62, #5a1b17, #013f14
- Tetradic: #1f2f62, #4b1f4b, #452f00, #013f14
- Square: #1f2f62, #561a33, #452f00, #004033
- Monochromatic: #1f2f62, #010029, #060f3f, #3d5086, #5d73ac

## Questions about #1f2f62

### What color is #1f2f62?

#1f2f62 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 47, 98), in HSL hsl(225.67, 51.94%, 25.29%) and in OKLCH oklch(32.199% 0.0925 267.841).

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

The complementary color of #1f2f62 is #452f00. For a calmer combination use the analogous colors #00385c and #3a265c. The triadic partners are #5a1b17 and #013f14.

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

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

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

#1f2f62 is a cool color. In OKLCH its hue is 268 degrees, its lightness 32.2% and its chroma 0.093.
