# #1f2b5f color: Mythical Night

#1f2b5f is rgb(31, 43, 95) in RGB and oklch(31.037% 0.09351 270.343) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1f2b5f

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f2b5f |
| RGB | rgb(31, 43, 95) |
| HSL | hsl(228.75, 50.79%, 24.71%) |
| HSB / HSV | hsv(228.75 67.37% 37.25%) |
| HWB | hwb(228.75 12.16% 62.75%) |
| CMYK | cmyk(67% 55% 0% 63%) |
| Lab | lab(18.93 9.53 -33.26) |
| LCH | lch(18.93 34.6 285.99) |
| OKLab | oklab(31.037% 0.00056 -0.09351) |
| OKLCH | oklch(31.037% 0.09351 270.343) |
| Display P3 | color(display-p3 0.13117 0.16728 0.35941) |
| Rec. 2020 | color(rec2020 0.09604 0.10768 0.29913) |
| Adobe RGB | color(a98-rgb 0.15546 0.18398 0.36762) |
| ProPhoto RGB | color(prophoto-rgb 0.14598 0.13073 0.28151) |
| Linear sRGB | color(srgb-linear 0.0137 0.02416 0.11444) |
| XYZ D65 | color(xyz-d65 0.03494 0.02845 0.11192) |
| XYZ D50 | color(xyz-d50 0.03165 0.0273 0.08425) |
| SwiftUI | Color(red: 0.122, green: 0.169, blue: 0.373) |
| UIKit | UIColor(red: 0.122, green: 0.169, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF1F2B5F) |
| Android XML | #1F2B5F |

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

## Tints

#1f2b5f, #313f6f, #45527f, #5a668e, #6f7b9e, #8690ae, #9da5be, #b4bbce, #cdd1de, #e6e8ef

## Shades

#1f2b5f, #192452, #141d44, #0f1638, #0a102c, #060a20, #030515, #01020a, #000103, #000000

## Tones

#1f2b5f, #212c5a, #222d56, #242e51, #262f4d, #272f48, #293044, #2b303f, #2d303a, #2e3035

## Harmonies

- Complementary: #1f2b5f, #402d00
- Split: #1f2b5f, #512100, #2b3600
- Analogous: #1f2b5f, #00345a, #392258
- Triadic: #1f2b5f, #561810, #003d14
- Tetradic: #1f2b5f, #491b46, #402d00, #003d14
- Square: #1f2b5f, #54162e, #402d00, #003c32
- Monochromatic: #1f2b5f, #020029, #070a3d, #3c4c83, #5d6ea9

## Questions about #1f2b5f

### What color is #1f2b5f?

#1f2b5f is soft dark blue. The closest named color is Mythical Night. In RGB it is rgb(31, 43, 95), in HSL hsl(228.75, 50.79%, 24.71%) and in OKLCH oklch(31.037% 0.09351 270.343).

### What colors go well with #1f2b5f?

The complementary color of #1f2b5f is #402d00. For a calmer combination use the analogous colors #00345a and #392258. The triadic partners are #561810 and #003d14.

### Is white or black text more readable on #1f2b5f?

White text reads better on #1f2b5f: white gives a contrast ratio of 13.38:1 and black gives 1.57:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1f2b5f a warm or cool color?

#1f2b5f is a cool color. In OKLCH its hue is 270 degrees, its lightness 31% and its chroma 0.094.
