#040400

Closest named color: Almost Black (#070D0D). oklch(10.3% 0.023 109.8), rgb(4, 4, 0).

Aa

White text reads best on this color (20.53:1).

About this color

#040400 is a very dark close to neutral grey. In OKLCH its lightness is 10%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.055 away. White text reads best on it, at 20.53:1.

Hue familyNeutrals
Lightnessvery dark (10%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.02:1
White text20.53:1

Values

HEX#040400
RGBrgb(4, 4, 0)
HSLhsl(60, 100%, 1%)
OKLCHoklch(10.3% 0.023 109.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #040400 20.53:1 AAA Lc -107.9 Preferred for body text
Black text on #040400 1.02:1 Fails Lc 0.0 Not readable
#040400 text on white 20.53:1 AAA Lc 106.0 Preferred for body text
#040400 text on black 1.02:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C1C2AF

    oklch(80.8% 0.026 109.4)

  5. Step 400

    400

    #A2A385

    oklch(70.7% 0.042 109)

  6. Step 500

    500

    #8B8D66

    oklch(63.1% 0.055 110.3)

  7. Step 600

    600

    #75774D

    oklch(55.7% 0.06 110.5)

  8. Step 700

    700

    #62643E

    oklch(49.1% 0.056 110.9)

  9. Step 800

    800

    #505134

    oklch(42.6% 0.045 109.8)

  10. Step 900

    900

    #43432D

    oklch(37.6% 0.035 108)

  11. Step 950

    950 (this color)

    #040400

    oklch(10.3% 0.023 109.8)

Export this scale for Tailwind in the Tailwind colors tool

#040400 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0504000.004
Deuteranopia (no green cones)#0504000.004
Tritanopia (no blue cones)#0503030.024
Achromatopsia (no color)#0404040.023

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #040400

    #040400

    oklch(10.3% 0.023 109.8)

  • #04030A

    #04030A

    oklch(10.6% 0.022 291.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040400

    #040400

    oklch(10.3% 0.023 109.8)

  • #060300

    #060300

    oklch(10.2% 0.021 82.3)

  • #010501

    #010501

    oklch(10.3% 0.024 143.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #040400

    #040400

    oklch(10.3% 0.023 109.8)

  • #01040A

    #01040A

    oklch(10.5% 0.021 251.7)

  • #060207

    #060207

    oklch(10.2% 0.023 321.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040400

    #040400

    oklch(10.3% 0.023 109.8)

  • #000408

    #000408

    oklch(10% 0.021 233.5)

  • #080204

    #080204

    oklch(10.4% 0.021 354.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040400

    #040400

    oklch(10.3% 0.023 109.8)

  • #000505

    #000505

    oklch(10.4% 0.018 194.8)

  • #04030A

    #04030A

    oklch(10.6% 0.022 291.2)

  • #090202

    #090202

    oklch(10.4% 0.021 21.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #040400, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #040400 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.