#040A10

Closest named color: Almost Black (#070D0D). oklch(14% 0.018 243.2), rgb(4, 10, 16).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (14%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.05:1
White text19.88:1

Values

HEX#040A10
RGBrgb(4, 10, 16)
HSLhsl(210, 60%, 4%)
OKLCHoklch(14% 0.018 243.2)

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 #040A10 19.88:1 AAA Lc -107.7 Preferred for body text
Black text on #040A10 1.05:1 Fails Lc 0.0 Not readable
#040A10 text on white 19.88:1 AAA Lc 105.9 Preferred for body text
#040A10 text on black 1.05: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D3DAE0

    oklch(88.5% 0.011 243.7)

  4. Step 300

    300

    #B5C3CD

    oklch(80.9% 0.021 238.7)

  5. Step 400

    400

    #8FA4B4

    oklch(70.8% 0.033 240.9)

  6. Step 500

    500

    #738DA2

    oklch(63.1% 0.043 242.8)

  7. Step 600

    600

    #5C778D

    oklch(55.6% 0.047 243.3)

  8. Step 700

    700

    #4B6478

    oklch(49.1% 0.044 242.9)

  9. Step 800

    800

    #3E5262

    oklch(42.8% 0.036 242.8)

  10. Step 900

    900

    #354450

    oklch(37.8% 0.028 242.6)

  11. Step 950

    950 (this color)

    #040A10

    oklch(14% 0.018 243.2)

Export this scale for Tailwind in the Tailwind colors tool

#040A10 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)#080A100.010
Deuteranopia (no green cones)#0609100.006
Tritanopia (no blue cones)#010B0C0.014
Achromatopsia (no color)#0909090.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #040A10

    #040A10

    oklch(14% 0.018 243.2)

  • #0E0803

    #0E0803

    oklch(14.1% 0.018 70.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040A10

    #040A10

    oklch(14% 0.018 243.2)

  • #020B0E

    #020B0E

    oklch(14% 0.019 215.6)

  • #070911

    #070911

    oklch(14.2% 0.018 271.7)

Open the analogous palette in the generator

Split complementary

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

  • #040A10

    #040A10

    oklch(14% 0.018 243.2)

  • #100705

    #100705

    oklch(14.2% 0.018 36.9)

  • #0C0903

    #0C0903

    oklch(14.1% 0.017 90.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040A10

    #040A10

    oklch(14% 0.018 243.2)

  • #0F0608

    #0F0608

    oklch(13.8% 0.018 3)

  • #080A04

    #080A04

    oklch(13.9% 0.016 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040A10

    #040A10

    oklch(14% 0.018 243.2)

  • #0E070C

    #0E070C

    oklch(14.2% 0.017 336.8)

  • #0E0803

    #0E0803

    oklch(14.1% 0.018 70.5)

  • #040B06

    #040B06

    oklch(13.9% 0.018 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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