# #040d2a color: Void

#040d2a is rgb(4, 13, 42) in RGB and oklch(17.191% 0.06116 265.208) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #040d2a |
| RGB | rgb(4, 13, 42) |
| HSL | hsl(225.79, 82.61%, 9.02%) |
| HSB / HSV | hsv(225.79 90.48% 16.47%) |
| HWB | hwb(225.79 1.57% 83.53%) |
| CMYK | cmyk(90% 69% 0% 84%) |
| Lab | lab(4.12 4.02 -20.08) |
| LCH | lch(4.12 20.48 281.33) |
| OKLab | oklab(17.191% -0.00511 -0.06094) |
| OKLCH | oklch(17.191% 0.06116 265.208) |
| Display P3 | color(display-p3 0.02213 0.04995 0.15759) |
| Rec. 2020 | color(rec2020 0.0139 0.01822 0.09441) |
| Adobe RGB | color(a98-rgb 0.05946 0.08144 0.17764) |
| ProPhoto RGB | color(prophoto-rgb 0.05399 0.04836 0.11547) |
| Linear sRGB | color(srgb-linear 0.00121 0.00402 0.02315) |
| XYZ D65 | color(xyz-d65 0.00612 0.00481 0.02251) |
| XYZ D50 | color(xyz-d50 0.00539 0.00456 0.01694) |
| SwiftUI | Color(red: 0.016, green: 0.051, blue: 0.165) |
| UIKit | UIColor(red: 0.016, green: 0.051, blue: 0.165, alpha: 1) |
| Flutter / Compose | Color(0xFF040D2A) |
| Android XML | #040D2A |

## Facts

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

## Tints

#040d2a, #16213d, #2b3751, #424d65, #5a647a, #737c8f, #8e95a4, #a9afba, #c5c9d1, #e2e4e8

## Shades

#040d2a, #030a23, #02071c, #010516, #010310, #00020a, #000105, #000002, #000001, #000000

## Tones

#040d2a, #050e27, #060e25, #070f22, #080f20, #090f1d, #0b101b, #0c1018, #0d1015, #0e1013

## Harmonies

- Complementary: #040d2a, #1a0d00
- Split: #040d2a, #220600, #0f1200
- Analogous: #040d2a, #001226, #130827
- Triadic: #040d2a, #250203, #001600
- Tetradic: #040d2a, #1c041e, #1a0d00, #001600
- Square: #040d2a, #220211, #1a0d00, #00170f
- Monochromatic: #040d2a, #00031d, #00031d, #1d2a4a, #3b4a6c

## Questions about #040d2a

### What color is #040d2a?

#040d2a is soft very dark blue. The closest named color is Void. In RGB it is rgb(4, 13, 42), in HSL hsl(225.79, 82.61%, 9.02%) and in OKLCH oklch(17.191% 0.06116 265.208).

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

The complementary color of #040d2a is #1a0d00. For a calmer combination use the analogous colors #001226 and #130827. The triadic partners are #250203 and #001600.

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

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

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

#040d2a is a cool color. In OKLCH its hue is 265 degrees, its lightness 17.2% and its chroma 0.061.
