# #040f30 color: Squid’s Ink

#040f30 is rgb(4, 15, 48) in RGB and oklch(18.334% 0.06833 264.592) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #040f30 |
| RGB | rgb(4, 15, 48) |
| HSL | hsl(225, 84.62%, 10.2%) |
| HSB / HSV | hsv(225 91.67% 18.82%) |
| HWB | hwb(225 1.57% 81.18%) |
| CMYK | cmyk(92% 69% 0% 81%) |
| Lab | lab(4.96 5.28 -23.24) |
| LCH | lch(4.96 23.83 282.8) |
| OKLab | oklab(18.334% -0.00644 -0.06803) |
| OKLCH | oklch(18.334% 0.06833 264.592) |
| Display P3 | color(display-p3 0.02386 0.05764 0.18024) |
| Rec. 2020 | color(rec2020 0.01627 0.02166 0.11677) |
| Adobe RGB | color(a98-rgb 0.06225 0.08804 0.19846) |
| ProPhoto RGB | color(prophoto-rgb 0.06029 0.0534 0.13211) |
| Linear sRGB | color(srgb-linear 0.00121 0.00478 0.02956) |
| XYZ D65 | color(xyz-d65 0.00754 0.00581 0.02869) |
| XYZ D50 | color(xyz-d50 0.0066 0.00549 0.02159) |
| SwiftUI | Color(red: 0.016, green: 0.059, blue: 0.188) |
| UIKit | UIColor(red: 0.016, green: 0.059, blue: 0.188, alpha: 1) |
| Flutter / Compose | Color(0xFF040F30) |
| Android XML | #040F30 |

## 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.81:1
- Contrast with black: 1.12:1

## Tints

#040f30, #162443, #2b3956, #424f6a, #5a667e, #747e93, #8e96a8, #a9b0bd, #c5cad3, #e2e4e9

## Shades

#040f30, #030b28, #020821, #01051a, #010313, #00020c, #000106, #000003, #000001, #000000

## Tones

#040f30, #05102d, #06102a, #081127, #091124, #0b1221, #0c121f, #0e121c, #0f1219, #111215

## Harmonies

- Complementary: #040f30, #1e0f00
- Split: #040f30, #270600, #121500
- Analogous: #040f30, #00152a, #15092d
- Triadic: #040f30, #2a0203, #001900
- Tetradic: #040f30, #200523, #1e0f00, #001900
- Square: #040f30, #270214, #1e0f00, #001a11
- Monochromatic: #040f30, #000220, #000220, #1d2d51, #3b4d74

## Questions about #040f30

### What color is #040f30?

#040f30 is soft very dark blue. The closest named color is Squid’s Ink. In RGB it is rgb(4, 15, 48), in HSL hsl(225, 84.62%, 10.2%) and in OKLCH oklch(18.334% 0.06833 264.592).

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

The complementary color of #040f30 is #1e0f00. For a calmer combination use the analogous colors #00152a and #15092d. The triadic partners are #2a0203 and #001900.

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

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

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

#040f30 is a cool color. In OKLCH its hue is 265 degrees, its lightness 18.3% and its chroma 0.068.
