# #151f5f color: Pure Midnight

#151f5f is rgb(21, 31, 95) in RGB and oklch(27.803% 0.11362 270.233) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/151f5f

## Formats

| Format | Value |
| --- | --- |
| HEX | #151f5f |
| RGB | rgb(21, 31, 95) |
| HSL | hsl(231.89, 63.79%, 22.75%) |
| HSB / HSV | hsv(231.89 77.89% 37.25%) |
| HWB | hwb(231.89 8.24% 62.75%) |
| CMYK | cmyk(78% 67% 0% 63%) |
| Lab | lab(14.64 15.76 -40.24) |
| LCH | lch(14.64 43.22 291.38) |
| OKLab | oklab(27.803% 0.00046 -0.11362) |
| OKLCH | oklch(27.803% 0.11362 270.233) |
| Display P3 | color(display-p3 0.09042 0.12046 0.35801) |
| Rec. 2020 | color(rec2020 0.06378 0.06488 0.29738) |
| Adobe RGB | color(a98-rgb 0.119 0.14216 0.36697) |
| ProPhoto RGB | color(prophoto-rgb 0.12761 0.10028 0.27946) |
| Linear sRGB | color(srgb-linear 0.0075 0.0137 0.11444) |
| XYZ D65 | color(xyz-d65 0.02865 0.01966 0.11055) |
| XYZ D50 | color(xyz-d50 0.02492 0.01843 0.08315) |
| SwiftUI | Color(red: 0.082, green: 0.122, blue: 0.373) |
| UIKit | UIColor(red: 0.082, green: 0.122, blue: 0.373, alpha: 1) |
| Flutter / Compose | Color(0xFF151F5F) |
| Android XML | #151F5F |

## Facts

- Closest name: Pure Midnight
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: blue-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 15.07:1
- Contrast with black: 1.39:1

## Tints

#151f5f, #27356f, #3b4a7f, #505f8f, #67759f, #7e8baf, #97a1bf, #b0b8cf, #cacfdf, #e4e7ef

## Shades

#151f5f, #111952, #0c1444, #080f38, #050a2c, #030620, #020315, #01010a, #000003, #000000

## Tones

#151f5f, #16215a, #182354, #1a244f, #1c254a, #1e2644, #20273f, #222839, #242834, #26282e

## Harmonies

- Complementary: #151f5f, #372500
- Split: #151f5f, #451a00, #232e00
- Analogous: #151f5f, #002b50, #331356
- Triadic: #151f5f, #530100, #003504
- Tetradic: #151f5f, #450842, #372500, #003504
- Square: #151f5f, #500026, #372500, #00332a
- Monochromatic: #151f5f, #03002c, #04003c, #304184, #4f63a9

## Questions about #151f5f

### What color is #151f5f?

#151f5f is soft very dark blue. The closest named color is Pure Midnight. In RGB it is rgb(21, 31, 95), in HSL hsl(231.89, 63.79%, 22.75%) and in OKLCH oklch(27.803% 0.11362 270.233).

### What colors go well with #151f5f?

The complementary color of #151f5f is #372500. For a calmer combination use the analogous colors #002b50 and #331356. The triadic partners are #530100 and #003504.

### Is white or black text more readable on #151f5f?

White text reads better on #151f5f: white gives a contrast ratio of 15.07:1 and black gives 1.39:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #151f5f a warm or cool color?

#151f5f is a cool color. In OKLCH its hue is 270 degrees, its lightness 27.8% and its chroma 0.114.
