# #212d5f color: Mythical Night

#212d5f is rgb(33, 45, 95) in RGB and oklch(31.629% 0.08993 270.389) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #212d5f |
| RGB | rgb(33, 45, 95) |
| HSL | hsl(228.39, 48.44%, 25.1%) |
| HSB / HSV | hsv(228.39 65.26% 37.25%) |
| HWB | hwb(228.39 12.94% 62.75%) |
| CMYK | cmyk(65% 53% 0% 63%) |
| Lab | lab(19.69 8.67 -32.02) |
| LCH | lch(19.69 33.18 285.14) |
| OKLab | oklab(31.629% 0.00061 -0.08992) |
| OKLCH | oklch(31.629% 0.08993 270.389) |
| Display P3 | color(display-p3 0.13896 0.17512 0.3597) |
| Rec. 2020 | color(rec2020 0.10257 0.11521 0.29949) |
| Adobe RGB | color(a98-rgb 0.16236 0.19103 0.36775) |
| ProPhoto RGB | color(prophoto-rgb 0.14979 0.1362 0.28192) |
| Linear sRGB | color(srgb-linear 0.01521 0.02624 0.11444) |
| XYZ D65 | color(xyz-d65 0.03631 0.03026 0.1122) |
| XYZ D50 | color(xyz-d50 0.03311 0.02913 0.08448) |
| SwiftUI | Color(red: 0.129, green: 0.176, blue: 0.373) |
| UIKit | UIColor(red: 0.129, green: 0.176, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF212D5F) |
| Android XML | #212D5F |

## 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: 13.08:1
- Contrast with black: 1.61:1

## Tints

#212d5f, #33406f, #47547e, #5b688e, #717c9e, #8791ae, #9ea6be, #b5bcce, #cdd2de, #e6e8ef

## Shades

#212d5f, #1b2652, #161f44, #101838, #0b112c, #060b20, #030615, #01020a, #000103, #000000

## Tones

#212d5f, #232e5b, #242f56, #263052, #27304d, #293149, #2b3144, #2d3140, #2e323b, #303237

## Harmonies

- Complementary: #212d5f, #422f00
- Split: #212d5f, #512400, #2c3800
- Analogous: #212d5f, #00365a, #3a2558
- Triadic: #212d5f, #571b13, #003e17
- Tetradic: #212d5f, #4a1e47, #422f00, #003e17
- Square: #212d5f, #541a30, #422f00, #003e34
- Monochromatic: #212d5f, #020028, #080d3d, #3f4e83, #5f70a8

## Questions about #212d5f

### What color is #212d5f?

#212d5f is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(33, 45, 95), in HSL hsl(228.39, 48.44%, 25.1%) and in OKLCH oklch(31.629% 0.08993 270.389).

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

The complementary color of #212d5f is #422f00. For a calmer combination use the analogous colors #00365a and #3a2558. The triadic partners are #571b13 and #003e17.

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

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

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

#212d5f is a cool color. In OKLCH its hue is 270 degrees, its lightness 31.6% and its chroma 0.09.
