# #212f6a color: Mythical Night

#212f6a is rgb(33, 47, 106) in RGB and oklch(32.965% 0.1043 269.786) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/212f6a

## Formats

| Format | Value |
| --- | --- |
| HEX | #212f6a |
| RGB | rgb(33, 47, 106) |
| HSL | hsl(228.49, 52.52%, 27.25%) |
| HSB / HSV | hsv(228.49 68.87% 41.57%) |
| HWB | hwb(228.49 12.94% 58.43%) |
| CMYK | cmyk(69% 56% 0% 58%) |
| Lab | lab(21.02 10.89 -37.06) |
| LCH | lch(21.02 38.62 286.37) |
| OKLab | oklab(32.965% -0.00039 -0.1043) |
| OKLCH | oklch(32.965% 0.1043 269.786) |
| Display P3 | color(display-p3 0.14077 0.18277 0.40097) |
| Rec. 2020 | color(rec2020 0.11027 0.12356 0.3424) |
| Adobe RGB | color(a98-rgb 0.16484 0.1981 0.40817) |
| ProPhoto RGB | color(prophoto-rgb 0.16182 0.14356 0.31963) |
| Linear sRGB | color(srgb-linear 0.01521 0.02843 0.14413) |
| XYZ D65 | color(xyz-d65 0.04245 0.03397 0.14068) |
| XYZ D50 | color(xyz-d50 0.0382 0.0325 0.10589) |
| SwiftUI | Color(red: 0.129, green: 0.184, blue: 0.416) |
| UIKit | UIColor(red: 0.129, green: 0.184, blue: 0.416, alpha: 1) |
| Flutter / Compose | Color(0xFF212F6A) |
| Android XML | #212F6A |

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

## Tints

#212f6a, #334379, #475688, #5b6a97, #717ea6, #8793b5, #9ea8c3, #b5bdd2, #cdd3e1, #e6e9f0

## Shades

#212f6a, #1b275b, #16204d, #10193f, #0b1231, #060c24, #030618, #01030d, #000104, #000000

## Tones

#212f6a, #233065, #253160, #27325b, #293355, #2b3450, #2d344b, #2f3546, #313540, #33353b

## Harmonies

- Complementary: #212f6a, #463200
- Split: #212f6a, #582500, #303b00
- Analogous: #212f6a, #003964, #3e2562
- Triadic: #212f6a, #601911, #004314
- Tetradic: #212f6a, #511c4e, #463200, #004314
- Square: #212f6a, #5d1733, #463200, #004237
- Monochromatic: #212f6a, #03002c, #090d47, #3f508f, #5f73b5

## Questions about #212f6a

### What color is #212f6a?

#212f6a is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(33, 47, 106), in HSL hsl(228.49, 52.52%, 27.25%) and in OKLCH oklch(32.965% 0.1043 269.786).

### What colors go well with #212f6a?

The complementary color of #212f6a is #463200. For a calmer combination use the analogous colors #003964 and #3e2562. The triadic partners are #601911 and #004314.

### Is white or black text more readable on #212f6a?

White text reads better on #212f6a: white gives a contrast ratio of 12.5:1 and black gives 1.68:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #212f6a a warm or cool color?

#212f6a is a cool color. In OKLCH its hue is 270 degrees, its lightness 33% and its chroma 0.104.
