#040500

Closest named color: Almost Black (#070D0D). oklch(10.9% 0.025 116.4), rgb(4, 5, 0).

Aa

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

About this color

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

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

Values

HEX#040500
RGBrgb(4, 5, 0)
HSLhsl(72, 100%, 1%)
OKLCHoklch(10.9% 0.025 116.4)

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 #040500 20.45:1 AAA Lc -107.9 Preferred for body text
Black text on #040500 1.02:1 Fails Lc 0.0 Not readable
#040500 text on white 20.45:1 AAA Lc 106.0 Preferred for body text
#040500 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

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D8DBCF

    oklch(88.6% 0.016 118.2)

  4. Step 300

    300

    #BFC3AE

    oklch(80.8% 0.029 115.8)

  5. Step 400

    400

    #9EA583

    oklch(70.7% 0.048 117.1)

  6. Step 500

    500

    #878E64

    oklch(63% 0.06 115.9)

  7. Step 600

    600

    #71784B

    oklch(55.5% 0.065 115.8)

  8. Step 700

    700

    #5E653C

    oklch(49% 0.061 116.6)

  9. Step 800

    800

    #4D5332

    oklch(42.8% 0.051 117)

  10. Step 900

    900

    #40442C

    oklch(37.6% 0.039 116)

  11. Step 950

    950 (this color)

    #040500

    oklch(10.9% 0.025 116.4)

Export this scale for Tailwind in the Tailwind colors tool

#040500 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)#0604000.009
Deuteranopia (no green cones)#0604000.009
Tritanopia (no blue cones)#0504030.022
Achromatopsia (no color)#0404040.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

  • #05030B

    #05030B

    oklch(10.9% 0.024 297.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

  • #070400

    #070400

    oklch(11% 0.022 88)

  • #010601

    #010601

    oklch(10.9% 0.027 143.4)

Open the analogous palette in the generator

Split complementary

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

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

  • #02040D

    #02040D

    oklch(11% 0.026 266.3)

  • #080208

    #080208

    oklch(10.7% 0.027 327.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

  • #00050B

    #00050B

    oklch(10.9% 0.024 237.6)

  • #0A0204

    #0A0204

    oklch(10.8% 0.024 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

  • #000607

    #000607

    oklch(11.1% 0.019 203.9)

  • #05030B

    #05030B

    oklch(10.9% 0.024 297.4)

  • #0B0202

    #0B0202

    oklch(10.9% 0.025 22.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #040500 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.