# #1f2a68 color: Mythical Night

#1f2a68 is rgb(31, 42, 104) in RGB and oklch(31.575% 0.10893 271.178) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2a68 |
| RGB | rgb(31, 42, 104) |
| HSL | hsl(230.96, 54.07%, 26.47%) |
| HSB / HSV | hsv(230.96 70.19% 40.78%) |
| HWB | hwb(230.96 12.16% 59.22%) |
| CMYK | cmyk(70% 60% 0% 59%) |
| Lab | lab(19.24 13.17 -38.64) |
| LCH | lch(19.24 40.82 288.82) |
| OKLab | oklab(31.575% 0.00224 -0.10891) |
| OKLCH | oklch(31.575% 0.10893 271.178) |
| Display P3 | color(display-p3 0.13028 0.16346 0.39291) |
| Rec. 2020 | color(rec2020 0.09891 0.10519 0.33387) |
| Adobe RGB | color(a98-rgb 0.15424 0.18046 0.40052) |
| ProPhoto RGB | color(prophoto-rgb 0.1537 0.13016 0.31184) |
| Linear sRGB | color(srgb-linear 0.0137 0.02315 0.13843) |
| XYZ D65 | color(xyz-d65 0.03891 0.02947 0.13461) |
| XYZ D50 | color(xyz-d50 0.0347 0.02804 0.10129) |
| SwiftUI | Color(red: 0.122, green: 0.165, blue: 0.408) |
| UIKit | UIColor(red: 0.122, green: 0.165, blue: 0.408, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2A68) |
| Android XML | #1F2A68 |

## Facts

- Closest name: Mythical Night
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 13.21:1
- Contrast with black: 1.59:1

## Tints

#1f2a68, #313e77, #445286, #596796, #6f7ba5, #8590b4, #9ca6c3, #b4bbd2, #ccd2e1, #e5e8f0

## Shades

#1f2a68, #192359, #141c4b, #0f163e, #0a1030, #060a24, #030518, #01020c, #000104, #000000

## Tones

#1f2a68, #212c63, #222d5d, #242e58, #262f53, #28304e, #2a3048, #2c3143, #2e313d, #303237

## Harmonies

- Complementary: #1f2a68, #412f00
- Split: #1f2a68, #522300, #2b3800
- Analogous: #1f2a68, #003560, #3c1f5f
- Triadic: #1f2a68, #5d1208, #004010
- Tetradic: #1f2a68, #4f164a, #412f00, #004010
- Square: #1f2a68, #5a102e, #412f00, #003e34
- Monochromatic: #1f2a68, #03002c, #080745, #3c4c8d, #5c6eb3

## Questions about #1f2a68

### What color is #1f2a68?

#1f2a68 is soft dark indigo. The closest named color is Mythical Night. In RGB it is rgb(31, 42, 104), in HSL hsl(230.96, 54.07%, 26.47%) and in OKLCH oklch(31.575% 0.10893 271.178).

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

The complementary color of #1f2a68 is #412f00. For a calmer combination use the analogous colors #003560 and #3c1f5f. The triadic partners are #5d1208 and #004010.

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

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

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

#1f2a68 is a cool color. In OKLCH its hue is 271 degrees, its lightness 31.6% and its chroma 0.109.
