# #1f2e66 color: Mythical Night

#1f2e66 is rgb(31, 46, 102) in RGB and oklch(32.289% 0.10019 268.895) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e66 |
| RGB | rgb(31, 46, 102) |
| HSL | hsl(227.32, 53.38%, 26.08%) |
| HSB / HSV | hsv(227.32 69.61% 40%) |
| HWB | hwb(227.32 12.16% 60%) |
| CMYK | cmyk(70% 55% 0% 60%) |
| Lab | lab(20.32 9.8 -35.6) |
| LCH | lch(20.32 36.93 285.39) |
| OKLab | oklab(32.289% -0.00193 -0.10017) |
| OKLCH | oklch(32.289% 0.10019 268.895) |
| Display P3 | color(display-p3 0.13394 0.17876 0.38589) |
| Rec. 2020 | color(rec2020 0.10339 0.11917 0.32667) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.39341) |
| ProPhoto RGB | color(prophoto-rgb 0.15517 0.13976 0.30569) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.13287) |
| XYZ D65 | color(xyz-d65 0.0394 0.03204 0.12982) |
| XYZ D50 | color(xyz-d50 0.03551 0.03069 0.09772) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.4) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.4, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E66) |
| Android XML | #1F2E66 |

## 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

#1f2e66, #314275, #455584, #5a6994, #6f7da3, #8692b2, #9da7c1, #b5bcd1, #cdd2e0, #e6e8f0

## Shades

#1f2e66, #192758, #141f4a, #0f183c, #0a122f, #060b23, #030617, #01020c, #000104, #000000

## Tones

#1f2e66, #212f61, #23305c, #253157, #273252, #29324d, #2b3348, #2d3343, #2f333e, #313339

## Harmonies

- Complementary: #1f2e66, #453000
- Split: #1f2e66, #562300, #2f3900
- Analogous: #1f2e66, #003860, #3b245f
- Triadic: #1f2e66, #5c1812, #004112
- Tetradic: #1f2e66, #4e1c4c, #453000, #004112
- Square: #1f2e66, #591732, #453000, #004034
- Monochromatic: #1f2e66, #02002c, #070d43, #3d4f8a, #5d72b0

## Questions about #1f2e66

### What color is #1f2e66?

#1f2e66 is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 46, 102), in HSL hsl(227.32, 53.38%, 26.08%) and in OKLCH oklch(32.289% 0.10019 268.895).

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

The complementary color of #1f2e66 is #453000. For a calmer combination use the analogous colors #003860 and #3b245f. The triadic partners are #5c1812 and #004112.

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

White text reads better on #1f2e66: 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 #1f2e66 a warm or cool color?

#1f2e66 is a cool color. In OKLCH its hue is 269 degrees, its lightness 32.3% and its chroma 0.1.
