# #040d33 color: Infinite Night

#040d33 is rgb(4, 13, 51) in RGB and oklch(18.175% 0.07637 266.385) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/040d33

## Formats

| Format | Value |
| --- | --- |
| HEX | #040d33 |
| RGB | rgb(4, 13, 51) |
| HSL | hsl(228.51, 85.45%, 10.78%) |
| HSB / HSV | hsv(228.51 92.16% 20%) |
| HWB | hwb(228.51 1.57% 80%) |
| CMYK | cmyk(92% 75% 0% 80%) |
| Lab | lab(4.66 7.42 -25.92) |
| LCH | lch(4.66 26.96 285.98) |
| OKLab | oklab(18.175% -0.00481 -0.07622) |
| OKLCH | oklch(18.175% 0.07637 266.385) |
| Display P3 | color(display-p3 0.02213 0.04995 0.19129) |
| Rec. 2020 | color(rec2020 0.01584 0.01872 0.12767) |
| Adobe RGB | color(a98-rgb 0.05946 0.08144 0.20879) |
| ProPhoto RGB | color(prophoto-rgb 0.06159 0.0501 0.14028) |
| Linear sRGB | color(srgb-linear 0.00121 0.00402 0.0331) |
| XYZ D65 | color(xyz-d65 0.00791 0.00553 0.03197) |
| XYZ D50 | color(xyz-d50 0.00682 0.00516 0.02405) |
| SwiftUI | Color(red: 0.016, green: 0.051, blue: 0.2) |
| UIKit | UIColor(red: 0.016, green: 0.051, blue: 0.2, alpha: 1) |
| Flutter / Compose | Color(0xFF040D33) |
| Android XML | #040D33 |

## Facts

- Closest name: Infinite Night
- Hue family: Blue, soft very dark blue
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.91:1
- Contrast with black: 1.11:1

## Tints

#040d33, #152246, #2b3859, #414e6d, #5a6581, #737d95, #8d96aa, #a9afbe, #c5c9d4, #e1e4e9

## Shades

#040d33, #030a2b, #020723, #01051c, #010314, #00020d, #000107, #000003, #000001, #000000

## Tones

#040d33, #050e30, #060f2d, #071029, #091126, #0a1123, #0c1120, #0d121c, #0f1219, #101215

## Harmonies

- Complementary: #040d33, #1d0f00
- Split: #040d33, #260600, #111500
- Analogous: #040d33, #00142a, #16062f
- Triadic: #040d33, #2c0001, #001a00
- Tetradic: #040d33, #220223, #1d0f00, #001a00
- Square: #040d33, #290013, #1d0f00, #001911
- Monochromatic: #040d33, #010123, #010123, #1c2c54, #3a4c77

## Questions about #040d33

### What color is #040d33?

#040d33 is soft very dark blue. The closest named color is Infinite Night. In RGB it is rgb(4, 13, 51), in HSL hsl(228.51, 85.45%, 10.78%) and in OKLCH oklch(18.175% 0.07637 266.385).

### What colors go well with #040d33?

The complementary color of #040d33 is #1d0f00. For a calmer combination use the analogous colors #00142a and #16062f. The triadic partners are #2c0001 and #001a00.

### Is white or black text more readable on #040d33?

White text reads better on #040d33: white gives a contrast ratio of 18.91:1 and black gives 1.11:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #040d33 a warm or cool color?

#040d33 is a cool color. In OKLCH its hue is 266 degrees, its lightness 18.2% and its chroma 0.076.
