# #011f5f color: Midnight Melancholia

#011f5f is rgb(1, 31, 95) in RGB and oklch(26.951% 0.11931 261.812) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/011f5f

## Formats

| Format | Value |
| --- | --- |
| HEX | #011f5f |
| RGB | rgb(1, 31, 95) |
| HSL | hsl(220.85, 97.92%, 18.82%) |
| HSB / HSV | hsv(220.85 98.95% 37.25%) |
| HWB | hwb(220.85 0.39% 62.75%) |
| CMYK | cmyk(99% 67% 0% 63%) |
| Lab | lab(13.73 13.21 -41.78) |
| LCH | lch(13.73 43.82 287.55) |
| OKLab | oklab(26.951% -0.01699 -0.11809) |
| OKLCH | oklch(26.951% 0.11931 261.812) |
| Display P3 | color(display-p3 0.03466 0.11916 0.35781) |
| Rec. 2020 | color(rec2020 0.04346 0.06264 0.29718) |
| Adobe RGB | color(a98-rgb 0.08232 0.14216 0.36697) |
| ProPhoto RGB | color(prophoto-rgb 0.11621 0.09778 0.27927) |
| Linear sRGB | color(srgb-linear 0.0003 0.0137 0.11444) |
| XYZ D65 | color(xyz-d65 0.02568 0.01813 0.11041) |
| XYZ D50 | color(xyz-d50 0.02178 0.01683 0.08305) |
| SwiftUI | Color(red: 0.004, green: 0.122, blue: 0.373) |
| UIKit | UIColor(red: 0.004, green: 0.122, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF011F5F) |
| Android XML | #011F5F |

## Facts

- Closest name: Midnight Melancholia
- Hue family: Blue, deep very dark blue
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.41:1
- Contrast with black: 1.36:1

## Tints

#011f5f, #17356f, #2e4a7f, #45608f, #5e759f, #778baf, #91a2bf, #abb8cf, #c7cfdf, #e2e7ef

## Shades

#011f5f, #011952, #011444, #000f38, #000a2c, #000620, #000315, #00010a, #000003, #000000

## Tones

#011f5f, #052159, #092354, #0e244e, #122549, #162643, #19263e, #1d2638, #202632, #23262c

## Harmonies

- Complementary: #011f5f, #382100
- Split: #011f5f, #471300, #282900
- Analogous: #011f5f, #002b45, #2a125a
- Triadic: #011f5f, #520008, #003200
- Tetradic: #011f5f, #3f0548, #382100, #003200
- Square: #011f5f, #4c002c, #382100, #003122
- Monochromatic: #011f5f, #00002e, #00003c, #1e4184, #3e64aa

## Questions about #011f5f

### What color is #011f5f?

#011f5f is deep very dark blue. The closest named color is Midnight Melancholia. In RGB it is rgb(1, 31, 95), in HSL hsl(220.85, 97.92%, 18.82%) and in OKLCH oklch(26.951% 0.11931 261.812).

### What colors go well with #011f5f?

The complementary color of #011f5f is #382100. For a calmer combination use the analogous colors #002b45 and #2a125a. The triadic partners are #520008 and #003200.

### Is white or black text more readable on #011f5f?

White text reads better on #011f5f: white gives a contrast ratio of 15.41:1 and black gives 1.36:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #011f5f a warm or cool color?

#011f5f is a cool color. In OKLCH its hue is 262 degrees, its lightness 27% and its chroma 0.119.
