# #040c2a color: Mysterious Depths

#040c2a is rgb(4, 12, 42) in RGB and oklch(16.932% 0.06275 266.183) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #040c2a |
| RGB | rgb(4, 12, 42) |
| HSL | hsl(227.37, 82.61%, 9.02%) |
| HSB / HSV | hsv(227.37 90.48% 16.47%) |
| HWB | hwb(227.37 1.57% 83.53%) |
| CMYK | cmyk(90% 71% 0% 84%) |
| Lab | lab(3.89 4.45 -20.43) |
| LCH | lch(3.89 20.91 282.29) |
| OKLab | oklab(16.932% -0.00418 -0.06261) |
| OKLCH | oklch(16.932% 0.06275 266.183) |
| Display P3 | color(display-p3 0.02133 0.04611 0.15748) |
| Rec. 2020 | color(rec2020 0.01339 0.01677 0.09428) |
| Adobe RGB | color(a98-rgb 0.05811 0.07816 0.17759) |
| ProPhoto RGB | color(prophoto-rgb 0.05333 0.04643 0.11534) |
| Linear sRGB | color(srgb-linear 0.00121 0.00368 0.02315) |
| XYZ D65 | color(xyz-d65 0.00599 0.00456 0.02247) |
| XYZ D50 | color(xyz-d50 0.00526 0.00431 0.01691) |
| SwiftUI | Color(red: 0.016, green: 0.047, blue: 0.165) |
| UIKit | UIColor(red: 0.016, green: 0.047, blue: 0.165, alpha: 1) |
| Flutter / Compose | Color(0xFF040C2A) |
| Android XML | #040C2A |

## Facts

- Closest name: Mysterious Depths
- 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.25:1
- Contrast with black: 1.09:1

## Tints

#040c2a, #15213d, #2b3651, #414c65, #5a647a, #737c8f, #8d95a5, #a9aebb, #c5c9d1, #e1e3e8

## Shades

#040c2a, #030923, #02061c, #010416, #010310, #01020a, #000105, #000002, #000001, #000000

## Tones

#040c2a, #050d27, #060d25, #070e22, #080e20, #090f1d, #0a0f1a, #0b0f18, #0d0f15, #0e0f12

## Harmonies

- Complementary: #040c2a, #190c00
- Split: #040c2a, #220500, #0e1200
- Analogous: #040c2a, #001126, #130727
- Triadic: #040c2a, #240202, #001600
- Tetradic: #040c2a, #1c041d, #190c00, #001600
- Square: #040c2a, #220210, #190c00, #00160e
- Monochromatic: #040c2a, #01031d, #01031d, #1c294a, #3a496d

## Questions about #040c2a

### What color is #040c2a?

#040c2a is soft very dark blue. The closest named color is Mysterious Depths. In RGB it is rgb(4, 12, 42), in HSL hsl(227.37, 82.61%, 9.02%) and in OKLCH oklch(16.932% 0.06275 266.183).

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

The complementary color of #040c2a is #190c00. For a calmer combination use the analogous colors #001126 and #130727. The triadic partners are #240202 and #001600.

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

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

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

#040c2a is a cool color. In OKLCH its hue is 266 degrees, its lightness 16.9% and its chroma 0.063.
