# #02216e color: Midnight Melancholia

#02216e is rgb(2, 33, 110) in RGB and oklch(29.035% 0.1375 262.96) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/02216e

## Formats

| Format | Value |
| --- | --- |
| HEX | #02216e |
| RGB | rgb(2, 33, 110) |
| HSL | hsl(222.78, 96.43%, 21.96%) |
| HSB / HSV | hsv(222.78 98.18% 43.14%) |
| HWB | hwb(222.78 0.78% 56.86%) |
| CMYK | cmyk(98% 70% 0% 57%) |
| Lab | lab(15.74 17.65 -48.31) |
| LCH | lch(15.74 51.43 290.07) |
| OKLab | oklab(29.035% -0.01685 -0.13647) |
| OKLCH | oklch(29.035% 0.1375 262.96) |
| Display P3 | color(display-p3 0.04132 0.12694 0.41426) |
| Rec. 2020 | color(rec2020 0.05464 0.07109 0.35596) |
| Adobe RGB | color(a98-rgb 0.08796 0.14907 0.42222) |
| ProPhoto RGB | color(prophoto-rgb 0.13516 0.10645 0.3311) |
| Linear sRGB | color(srgb-linear 0.00061 0.01521 0.15593) |
| XYZ D65 | color(xyz-d65 0.03383 0.02226 0.15004) |
| XYZ D50 | color(xyz-d50 0.02843 0.02049 0.11283) |
| SwiftUI | Color(red: 0.008, green: 0.129, blue: 0.431) |
| UIKit | UIColor(red: 0.008, green: 0.129, blue: 0.431, alpha: 1) |
| Flutter / Compose | Color(0xFF02216E) |
| Android XML | #02216E |

## 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: 14.53:1
- Contrast with black: 1.45:1

## Tints

#02216e, #18387d, #2f4e8c, #46639b, #5f78aa, #788eb8, #91a4c7, #acbad5, #c7d1e3, #e3e8f1

## Shades

#02216e, #011b5f, #011650, #011041, #000b33, #000626, #000319, #00010e, #000004, #000001

## Tones

#02216e, #062467, #0b2661, #10285a, #142954, #192a4d, #1d2b47, #202b40, #242c39, #282c32

## Harmonies

- Complementary: #02216e, #3e2600
- Split: #02216e, #4e1800, #2c2f00
- Analogous: #02216e, #00314e, #321167
- Triadic: #02216e, #5e0004, #003800
- Tetradic: #02216e, #490051, #3e2600, #003800
- Square: #02216e, #580031, #3e2600, #003728
- Monochromatic: #02216e, #00002e, #00004a, #204494, #4068bb

## Questions about #02216e

### What color is #02216e?

#02216e is deep very dark blue. The closest named color is Midnight Melancholia. In RGB it is rgb(2, 33, 110), in HSL hsl(222.78, 96.43%, 21.96%) and in OKLCH oklch(29.035% 0.1375 262.96).

### What colors go well with #02216e?

The complementary color of #02216e is #3e2600. For a calmer combination use the analogous colors #00314e and #321167. The triadic partners are #5e0004 and #003800.

### Is white or black text more readable on #02216e?

White text reads better on #02216e: white gives a contrast ratio of 14.53:1 and black gives 1.45:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #02216e a warm or cool color?

#02216e is a cool color. In OKLCH its hue is 263 degrees, its lightness 29% and its chroma 0.138.
