# #1f2e6c color: Mythical Night

#1f2e6c is rgb(31, 46, 108) in RGB and oklch(32.789% 0.10942 269.253) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2e6c |
| RGB | rgb(31, 46, 108) |
| HSL | hsl(228.31, 55.4%, 27.25%) |
| HSB / HSV | hsv(228.31 71.3% 42.35%) |
| HWB | hwb(228.31 12.16% 57.65%) |
| CMYK | cmyk(71% 57% 0% 58%) |
| Lab | lab(20.72 11.79 -38.83) |
| LCH | lch(20.72 40.59 286.89) |
| OKLab | oklab(32.789% -0.00143 -0.10941) |
| OKLCH | oklch(32.789% 0.10942 269.253) |
| Display P3 | color(display-p3 0.13394 0.17876 0.40829) |
| Rec. 2020 | color(rec2020 0.10626 0.11986 0.35001) |
| Adobe RGB | color(a98-rgb 0.15923 0.19456 0.41548) |
| ProPhoto RGB | color(prophoto-rgb 0.16101 0.14105 0.32634) |
| Linear sRGB | color(srgb-linear 0.0137 0.02732 0.14996) |
| XYZ D65 | color(xyz-d65 0.04248 0.03328 0.14606) |
| XYZ D50 | color(xyz-d50 0.03795 0.03173 0.10993) |
| SwiftUI | Color(red: 0.122, green: 0.18, blue: 0.424) |
| UIKit | UIColor(red: 0.122, green: 0.18, blue: 0.424, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2E6C) |
| Android XML | #1F2E6C |

## 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.61:1
- Contrast with black: 1.67:1

## Tints

#1f2e6c, #31427b, #45568a, #5a6a98, #6f7ea7, #8692b6, #9da7c4, #b4bdd3, #cdd3e2, #e6e9f0

## Shades

#1f2e6c, #19275d, #141f4e, #0f1840, #0a1232, #060b25, #030619, #01020d, #000104, #000000

## Tones

#1f2e6c, #212f67, #233161, #25325c, #273356, #293351, #2c344c, #2e3446, #303540, #32353b

## Harmonies

- Complementary: #1f2e6c, #463100
- Split: #1f2e6c, #582400, #303b00
- Analogous: #1f2e6c, #003962, #3e2364
- Triadic: #1f2e6c, #61150f, #004310
- Tetradic: #1f2e6c, #521a4f, #463100, #004310
- Square: #1f2e6c, #5e1433, #463100, #004136
- Monochromatic: #1f2e6c, #02002c, #070c49, #3c5091, #5d73b7

## Questions about #1f2e6c

### What color is #1f2e6c?

#1f2e6c is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 46, 108), in HSL hsl(228.31, 55.4%, 27.25%) and in OKLCH oklch(32.789% 0.10942 269.253).

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

The complementary color of #1f2e6c is #463100. For a calmer combination use the analogous colors #003962 and #3e2364. The triadic partners are #61150f and #004310.

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

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

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

#1f2e6c is a cool color. In OKLCH its hue is 269 degrees, its lightness 32.8% and its chroma 0.109.
