# #021c60 color: Midnight Melancholia

#021c60 is rgb(2, 28, 96) in RGB and oklch(26.464% 0.12439 263.08) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/021c60

## Formats

| Format | Value |
| --- | --- |
| HEX | #021c60 |
| RGB | rgb(2, 28, 96) |
| HSL | hsl(223.4, 95.92%, 19.22%) |
| HSB / HSV | hsv(223.4 97.92% 37.65%) |
| HWB | hwb(223.4 0.78% 62.35%) |
| CMYK | cmyk(98% 71% 0% 62%) |
| Lab | lab(12.95 15.87 -43.71) |
| LCH | lch(12.95 46.5 289.95) |
| OKLab | oklab(26.464% -0.01499 -0.12348) |
| OKLCH | oklch(26.464% 0.12439 263.08) |
| Display P3 | color(display-p3 0.03309 0.10762 0.36132) |
| Rec. 2020 | color(rec2020 0.04172 0.05422 0.30075) |
| Adobe RGB | color(a98-rgb 0.07879 0.13186 0.3705) |
| ProPhoto RGB | color(prophoto-rgb 0.11567 0.09146 0.28227) |
| Linear sRGB | color(srgb-linear 0.00061 0.01161 0.11697) |
| XYZ D65 | color(xyz-d65 0.02551 0.01688 0.11258) |
| XYZ D50 | color(xyz-d50 0.02147 0.01555 0.08466) |
| SwiftUI | Color(red: 0.008, green: 0.11, blue: 0.376) |
| UIKit | UIColor(red: 0.008, green: 0.11, blue: 0.376, alpha: 1) |
| Flutter / Compose | Color(0xFF021C60) |
| Android XML | #021C60 |

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

## Tints

#021c60, #163370, #2d4980, #455e90, #5d74a0, #768ab0, #90a1c0, #abb8d0, #c6cfe0, #e2e7ef

## Shades

#021c60, #011752, #011245, #010d38, #00082c, #000520, #000215, #00010a, #000003, #000000

## Tones

#021c60, #051e5a, #092054, #0d224f, #112349, #152443, #18253d, #1b2537, #1f2531, #22252b

## Harmonies

- Complementary: #021c60, #362000
- Split: #021c60, #441300, #262800
- Analogous: #021c60, #002a45, #2b0e5a
- Triadic: #021c60, #520003, #003100
- Tetradic: #021c60, #3f0047, #362000, #003100
- Square: #021c60, #4d002a, #362000, #003022
- Monochromatic: #021c60, #00002e, #00003c, #1e3f85, #3e61ab

## Questions about #021c60

### What color is #021c60?

#021c60 is deep very dark blue. The closest named color is Midnight Melancholia. In RGB it is rgb(2, 28, 96), in HSL hsl(223.4, 95.92%, 19.22%) and in OKLCH oklch(26.464% 0.12439 263.08).

### What colors go well with #021c60?

The complementary color of #021c60 is #362000. For a calmer combination use the analogous colors #002a45 and #2b0e5a. The triadic partners are #520003 and #003100.

### Is white or black text more readable on #021c60?

White text reads better on #021c60: white gives a contrast ratio of 15.7:1 and black gives 1.34:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #021c60 a warm or cool color?

#021c60 is a cool color. In OKLCH its hue is 263 degrees, its lightness 26.5% and its chroma 0.124.
