# #040f31 color: Squid’s Ink

#040f31 is rgb(4, 15, 49) in RGB and oklch(18.44% 0.07002 264.774) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #040f31 |
| RGB | rgb(4, 15, 49) |
| HSL | hsl(225.33, 84.91%, 10.39%) |
| HSB / HSV | hsv(225.33 91.84% 19.22%) |
| HWB | hwb(225.33 1.57% 80.78%) |
| CMYK | cmyk(92% 69% 0% 81%) |
| Lab | lab(5.02 5.68 -23.88) |
| LCH | lch(5.02 24.55 283.37) |
| OKLab | oklab(18.44% -0.00638 -0.06973) |
| OKLCH | oklch(18.44% 0.07002 264.774) |
| Display P3 | color(display-p3 0.02386 0.05764 0.18398) |
| Rec. 2020 | color(rec2020 0.01649 0.02171 0.12047) |
| Adobe RGB | color(a98-rgb 0.06225 0.08804 0.20193) |
| ProPhoto RGB | color(prophoto-rgb 0.06114 0.05359 0.1349) |
| Linear sRGB | color(srgb-linear 0.00121 0.00478 0.03071) |
| XYZ D65 | color(xyz-d65 0.00775 0.00589 0.02979) |
| XYZ D50 | color(xyz-d50 0.00676 0.00556 0.02241) |
| SwiftUI | Color(red: 0.016, green: 0.059, blue: 0.192) |
| UIKit | UIColor(red: 0.016, green: 0.059, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF040F31) |
| Android XML | #040F31 |

## Facts

- Closest name: Squid’s Ink
- 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.79:1
- Contrast with black: 1.12:1

## Tints

#040f31, #162444, #2b3957, #424f6b, #5a667f, #747e93, #8e97a8, #a9b0bd, #c5cad3, #e2e4e9

## Shades

#040f31, #030b29, #020822, #01051a, #010313, #00020c, #000106, #000003, #000001, #000000

## Tones

#040f31, #05102e, #06112b, #081128, #091225, #0b1222, #0c121f, #0e121c, #0f1319, #111316

## Harmonies

- Complementary: #040f31, #1e0f00
- Split: #040f31, #280600, #121500
- Analogous: #040f31, #00152a, #16092e
- Triadic: #040f31, #2b0203, #001a00
- Tetradic: #040f31, #210423, #1e0f00, #001a00
- Square: #040f31, #280214, #1e0f00, #001a11
- Monochromatic: #040f31, #000220, #000220, #1d2d52, #3b4d75

## Questions about #040f31

### What color is #040f31?

#040f31 is soft very dark blue. The closest named color is Squid’s Ink. In RGB it is rgb(4, 15, 49), in HSL hsl(225.33, 84.91%, 10.39%) and in OKLCH oklch(18.44% 0.07002 264.774).

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

The complementary color of #040f31 is #1e0f00. For a calmer combination use the analogous colors #00152a and #16092e. The triadic partners are #2b0203 and #001a00.

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

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

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

#040f31 is a cool color. In OKLCH its hue is 265 degrees, its lightness 18.4% and its chroma 0.07.
