#040E06

Closest named color: Almost Black (#070D0D). oklch(14.9% 0.025 150.8), rgb(4, 14, 6).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (15%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.07:1
White text19.61:1

Values

HEX#040E06
RGBrgb(4, 14, 6)
HSLhsl(132, 56%, 4%)
OKLCHoklch(14.9% 0.025 150.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 #040E06 19.61:1 AAA Lc -107.6 Preferred for body text
Black text on #040E06 1.07:1 Fails Lc 0.0 Not readable
#040E06 text on white 19.61:1 AAA Lc 105.7 Preferred for body text
#040E06 text on black 1.07: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E6EBE7

    oklch(93.5% 0.008 151.9)

  3. Step 200

    200

    #D2DCD4

    oklch(88.5% 0.015 151.7)

  4. Step 300

    300

    #B3C6B7

    oklch(80.8% 0.029 151.8)

  5. Step 400

    400

    #8CA992

    oklch(70.6% 0.046 151.2)

  6. Step 500

    500

    #6F9477

    oklch(63.1% 0.06 151)

  7. Step 600

    600

    #567F5F

    oklch(55.7% 0.067 150.6)

  8. Step 700

    700

    #466B4F

    oklch(49.1% 0.062 151.3)

  9. Step 800

    800

    #3A5741

    oklch(42.7% 0.05 151.4)

  10. Step 900

    900

    #324837

    oklch(37.8% 0.04 151.2)

  11. Step 950

    950 (this color)

    #040E06

    oklch(14.9% 0.025 150.8)

Export this scale for Tailwind in the Tailwind colors tool

#040E06 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)#0E0C060.022
Deuteranopia (no green cones)#0C0B060.020
Tritanopia (no blue cones)#030E0C0.013
Achromatopsia (no color)#0C0C0C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #040E06

    #040E06

    oklch(14.9% 0.025 150.8)

  • #110710

    #110710

    oklch(14.9% 0.026 330.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040E06

    #040E06

    oklch(14.9% 0.025 150.8)

  • #090D03

    #090D03

    oklch(15% 0.025 124.1)

  • #010E0C

    #010E0C

    oklch(14.8% 0.024 184.5)

Open the analogous palette in the generator

Split complementary

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

  • #040E06

    #040E06

    oklch(14.9% 0.025 150.8)

  • #0D0814

    #0D0814

    oklch(14.8% 0.027 302.8)

  • #14070A

    #14070A

    oklch(15.1% 0.025 4.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040E06

    #040E06

    oklch(14.9% 0.025 150.8)

  • #070A16

    #070A16

    oklch(14.8% 0.027 271.1)

  • #140705

    #140705

    oklch(14.9% 0.025 32.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040E06

    #040E06

    oklch(14.9% 0.025 150.8)

  • #030C15

    #030C15

    oklch(14.9% 0.026 244.4)

  • #110710

    #110710

    oklch(14.9% 0.026 330.3)

  • #130802

    #130802

    oklch(14.9% 0.027 59.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #040E06 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.