# #1f2d6d color: Mythical Night

#1f2d6d is rgb(31, 45, 109) in RGB and oklch(32.657% 0.11233 269.788) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2d6d |
| RGB | rgb(31, 45, 109) |
| HSL | hsl(229.23, 55.71%, 27.45%) |
| HSB / HSV | hsv(229.23 71.56% 42.75%) |
| HWB | hwb(229.23 12.16% 57.25%) |
| CMYK | cmyk(72% 59% 0% 57%) |
| Lab | lab(20.49 12.8 -39.85) |
| LCH | lch(20.49 41.86 287.81) |
| OKLab | oklab(32.657% -0.00041 -0.11233) |
| OKLCH | oklch(32.657% 0.11233 269.788) |
| Display P3 | color(display-p3 0.133 0.17493 0.41192) |
| Rec. 2020 | color(rec2020 0.10538 0.11642 0.35377) |
| Adobe RGB | color(a98-rgb 0.15795 0.19103 0.41911) |
| ProPhoto RGB | color(prophoto-rgb 0.16115 0.13875 0.32965) |
| Linear sRGB | color(srgb-linear 0.0137 0.02624 0.15293) |
| XYZ D65 | color(xyz-d65 0.04263 0.03272 0.14875) |
| XYZ D50 | color(xyz-d50 0.03796 0.03113 0.11194) |
| SwiftUI | Color(red: 0.122, green: 0.176, blue: 0.427) |
| UIKit | UIColor(red: 0.122, green: 0.176, blue: 0.427, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2D6D) |
| Android XML | #1F2D6D |

## Facts

- Closest name: Mythical Night
- Hue family: Blue, soft dark blue
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.69:1
- Contrast with black: 1.65:1

## Tints

#1f2d6d, #31417c, #45558b, #596999, #6f7da8, #8592b6, #9da7c5, #b4bdd4, #cdd2e2, #e6e9f1

## Shades

#1f2d6d, #19265e, #141f4f, #0f1841, #0a1133, #060b26, #030619, #01020d, #000104, #000001

## Tones

#1f2d6d, #212f68, #233062, #25315d, #273257, #293351, #2b334c, #2e3446, #303440, #32343a

## Harmonies

- Complementary: #1f2d6d, #463100
- Split: #1f2d6d, #572400, #2f3b00
- Analogous: #1f2d6d, #003962, #3e2264
- Triadic: #1f2d6d, #62130c, #00430f
- Tetradic: #1f2d6d, #52184f, #463100, #00430f
- Square: #1f2d6d, #5e1132, #463100, #004136
- Monochromatic: #1f2d6d, #03002c, #080a49, #3c4f92, #5c72b8

## Questions about #1f2d6d

### What color is #1f2d6d?

#1f2d6d is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 45, 109), in HSL hsl(229.23, 55.71%, 27.45%) and in OKLCH oklch(32.657% 0.11233 269.788).

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

The complementary color of #1f2d6d is #463100. For a calmer combination use the analogous colors #003962 and #3e2264. The triadic partners are #62130c and #00430f.

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

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

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

#1f2d6d is a cool color. In OKLCH its hue is 270 degrees, its lightness 32.7% and its chroma 0.112.
