# #1f2b62 color: Mythical Night

#1f2b62 is rgb(31, 43, 98) in RGB and oklch(31.283% 0.09823 270.495) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2b62 |
| RGB | rgb(31, 43, 98) |
| HSL | hsl(229.25, 51.94%, 25.29%) |
| HSB / HSV | hsv(229.25 68.37% 38.43%) |
| HWB | hwb(229.25 12.16% 61.57%) |
| CMYK | cmyk(68% 56% 0% 62%) |
| Lab | lab(19.13 10.51 -34.91) |
| LCH | lch(19.13 36.46 286.76) |
| OKLab | oklab(31.283% 0.00085 -0.09823) |
| OKLCH | oklch(31.283% 0.09823 270.495) |
| Display P3 | color(display-p3 0.13117 0.16728 0.37061) |
| Rec. 2020 | color(rec2020 0.0974 0.10802 0.31072) |
| Adobe RGB | color(a98-rgb 0.15546 0.18398 0.37858) |
| ProPhoto RGB | color(prophoto-rgb 0.14877 0.13134 0.29158) |
| Linear sRGB | color(srgb-linear 0.0137 0.02416 0.12214) |
| XYZ D65 | color(xyz-d65 0.03633 0.02901 0.11924) |
| XYZ D50 | color(xyz-d50 0.03275 0.02777 0.08976) |
| SwiftUI | Color(red: 0.122, green: 0.169, blue: 0.384) |
| UIKit | UIColor(red: 0.122, green: 0.169, blue: 0.384, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2B62) |
| Android XML | #1F2B62 |

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

## Tints

#1f2b62, #313f72, #455381, #596791, #6f7ba0, #8590b0, #9da5c0, #b4bbcf, #cdd1df, #e6e8ef

## Shades

#1f2b62, #192454, #141d47, #0f163a, #0a102d, #060a21, #030516, #01020b, #000103, #000000

## Tones

#1f2b62, #212c5d, #222d58, #242e54, #262f4f, #27304a, #293045, #2b3040, #2d313b, #2f3136

## Harmonies

- Complementary: #1f2b62, #412e00
- Split: #1f2b62, #522200, #2b3700
- Analogous: #1f2b62, #00355d, #3a225a
- Triadic: #1f2b62, #59170e, #003e13
- Tetradic: #1f2b62, #4b1a48, #412e00, #003e13
- Square: #1f2b62, #56152e, #412e00, #003d33
- Monochromatic: #1f2b62, #03002b, #070a3f, #3c4c86, #5d6fac

## Questions about #1f2b62

### What color is #1f2b62?

#1f2b62 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 43, 98), in HSL hsl(229.25, 51.94%, 25.29%) and in OKLCH oklch(31.283% 0.09823 270.495).

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

The complementary color of #1f2b62 is #412e00. For a calmer combination use the analogous colors #00355d and #3a225a. The triadic partners are #59170e and #003e13.

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

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

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

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