# #1f2d68 color: Mythical Night

#1f2d68 is rgb(31, 45, 104) in RGB and oklch(32.23% 0.1047 269.601) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d68 |
| RGB | rgb(31, 45, 104) |
| HSL | hsl(228.49, 54.07%, 26.47%) |
| HSB / HSV | hsv(228.49 70.19% 40.78%) |
| HWB | hwb(228.49 12.16% 59.22%) |
| CMYK | cmyk(70% 57% 0% 59%) |
| Lab | lab(20.14 11.14 -37.18) |
| LCH | lch(20.14 38.81 286.68) |
| OKLab | oklab(32.23% -0.00073 -0.1047) |
| OKLCH | oklch(32.23% 0.1047 269.601) |
| Display P3 | color(display-p3 0.133 0.17493 0.39324) |
| Rec. 2020 | color(rec2020 0.10294 0.11582 0.33429) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.40069) |
| ProPhoto RGB | color(prophoto-rgb 0.15621 0.13764 0.31235) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.13843) |
| XYZ D65 | color(xyz-d65 0.04002 0.03167 0.13498) |
| XYZ D50 | color(xyz-d50 0.03589 0.03025 0.10159) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.408) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.408, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D68) |
| Android XML | #1F2D68 |

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

## Tints

#1f2d68, #314177, #455586, #5a6995, #6f7da4, #8692b3, #9da7c3, #b4bcd2, #cdd2e1, #e6e8f0

## Shades

#1f2d68, #192659, #141f4b, #0f183e, #0a1130, #060b24, #030618, #01020c, #000104, #000000

## Tones

#1f2d68, #212e63, #232f5e, #253059, #273154, #29324e, #2b3249, #2d3344, #2f333e, #313339

## Harmonies

- Complementary: #1f2d68, #443000
- Split: #1f2d68, #562300, #2e3900
- Analogous: #1f2d68, #003761, #3c2360
- Triadic: #1f2d68, #5e160f, #004111
- Tetradic: #1f2d68, #4f1a4d, #443000, #004111
- Square: #1f2d68, #5a1432, #443000, #004035
- Monochromatic: #1f2d68, #02002c, #070b45, #3c4e8d, #5d71b3

## Questions about #1f2d68

### What color is #1f2d68?

#1f2d68 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 45, 104), in HSL hsl(228.49, 54.07%, 26.47%) and in OKLCH oklch(32.23% 0.1047 269.601).

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

The complementary color of #1f2d68 is #443000. For a calmer combination use the analogous colors #003761 and #3c2360. The triadic partners are #5e160f and #004111.

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

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

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

#1f2d68 is a cool color. In OKLCH its hue is 270 degrees, its lightness 32.2% and its chroma 0.105.
