#01040C

Closest named color: Almost Black (#070D0D). oklch(10.7% 0.025 256.5), rgb(1, 4, 12).

Aa

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

About this color

#01040C 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.051 away. White text reads best on it, at 20.50:1.

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

Values

HEX#01040C
RGBrgb(1, 4, 12)
HSLhsl(224, 85%, 3%)
OKLCHoklch(10.7% 0.025 256.5)

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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D2DAE4

    oklch(88.5% 0.016 253.9)

  4. Step 300

    300

    #B4C2D4

    oklch(80.9% 0.03 254.7)

  5. Step 400

    400

    #8EA2BF

    oklch(70.7% 0.048 257.6)

  6. Step 500

    500

    #718BAF

    oklch(63% 0.062 256.6)

  7. Step 600

    600

    #5A759A

    oklch(55.6% 0.066 256.4)

  8. Step 700

    700

    #496284

    oklch(49.1% 0.063 256.2)

  9. Step 800

    800

    #3C506B

    oklch(42.6% 0.052 256.1)

  10. Step 900

    900

    #344357

    oklch(37.8% 0.04 255.8)

  11. Step 950

    950 (this color)

    #01040C

    oklch(10.7% 0.025 256.5)

Export this scale for Tailwind in the Tailwind colors tool

#01040C 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)#02040C0.005
Deuteranopia (no green cones)#01040C0.000
Tritanopia (no blue cones)#0005060.020
Achromatopsia (no color)#0404040.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #01040C

    #01040C

    oklch(10.7% 0.025 256.5)

  • #070300

    #070300

    oklch(10.4% 0.022 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #01040C

    #01040C

    oklch(10.7% 0.025 256.5)

  • #000509

    #000509

    oklch(10.7% 0.021 228.6)

  • #04030C

    #04030C

    oklch(10.8% 0.026 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #01040C

    #01040C

    oklch(10.7% 0.025 256.5)

  • #0A0200

    #0A0200

    oklch(10.5% 0.027 51.2)

  • #050400

    #050400

    oklch(10.6% 0.022 101.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #01040C

    #01040C

    oklch(10.7% 0.025 256.5)

  • #0A0202

    #0A0202

    oklch(10.7% 0.023 21.8)

  • #020501

    #020501

    oklch(10.5% 0.021 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #01040C

    #01040C

    oklch(10.7% 0.025 256.5)

  • #090205

    #090205

    oklch(10.7% 0.024 348.6)

  • #070300

    #070300

    oklch(10.4% 0.022 75.9)

  • #000603

    #000603

    oklch(10.8% 0.023 165.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #01040C 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.