# #021d63 color: Midnight Melancholia

#021d63 is rgb(2, 29, 99) in RGB and oklch(27.005% 0.12732 263.065) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #021d63 |
| RGB | rgb(2, 29, 99) |
| HSL | hsl(223.3, 96.04%, 19.8%) |
| HSB / HSV | hsv(223.3 97.98% 38.82%) |
| HWB | hwb(223.3 0.78% 61.18%) |
| CMYK | cmyk(98% 71% 0% 61%) |
| Lab | lab(13.54 16.3 -44.74) |
| LCH | lch(13.54 47.62 290.02) |
| OKLab | oklab(27.005% -0.01537 -0.12639) |
| OKLCH | oklch(27.005% 0.12732 263.065) |
| Display P3 | color(display-p3 0.03463 0.11149 0.37266) |
| Rec. 2020 | color(rec2020 0.04424 0.05741 0.31253) |
| Adobe RGB | color(a98-rgb 0.08061 0.13528 0.38153) |
| ProPhoto RGB | color(prophoto-rgb 0.11973 0.09447 0.29256) |
| Linear sRGB | color(srgb-linear 0.00061 0.01229 0.12477) |
| XYZ D65 | color(xyz-d65 0.02716 0.01792 0.12008) |
| XYZ D50 | color(xyz-d50 0.02285 0.01651 0.0903) |
| SwiftUI | Color(red: 0.008, green: 0.114, blue: 0.388) |
| UIKit | UIColor(red: 0.008, green: 0.114, blue: 0.388, alpha: 1) |
| Flutter / Compose | Color(0xFF021D63) |
| Android XML | #021D63 |

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

## Tints

#021d63, #173473, #2e4a83, #455f93, #5d75a2, #768bb2, #90a1c1, #abb8d1, #c6cfe0, #e2e7f0

## Shades

#021d63, #011855, #011347, #010e3a, #00092e, #000521, #000316, #00010b, #000003, #000000

## Tones

#021d63, #051f5d, #092157, #0e2351, #12244b, #152545, #19263f, #1c2639, #202733, #23272d

## Harmonies

- Complementary: #021d63, #382200
- Split: #021d63, #461400, #272a00
- Analogous: #021d63, #002b47, #2c0e5d
- Triadic: #021d63, #550003, #003200
- Tetradic: #021d63, #410049, #382200, #003200
- Square: #021d63, #4f002c, #382200, #003123
- Monochromatic: #021d63, #00002e, #00003f, #1e4088, #3e63ae

## Questions about #021d63

### What color is #021d63?

#021d63 is deep very dark blue. The closest named color is Midnight Melancholia. In RGB it is rgb(2, 29, 99), in HSL hsl(223.3, 96.04%, 19.8%) and in OKLCH oklch(27.005% 0.12732 263.065).

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

The complementary color of #021d63 is #382200. For a calmer combination use the analogous colors #002b47 and #2c0e5d. The triadic partners are #550003 and #003200.

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

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

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

#021d63 is a cool color. In OKLCH its hue is 263 degrees, its lightness 27% and its chroma 0.127.
