#010402

Closest named color: Almost Black (#070D0D). oklch(9.7% 0.015 156.9), rgb(1, 4, 2).

Aa

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

About this color

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

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

Values

HEX#010402
RGBrgb(1, 4, 2)
HSLhsl(140, 60%, 1%)
OKLCHoklch(9.7% 0.015 156.9)

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 #010402 20.59:1 AAA Lc -107.9 Preferred for body text
Black text on #010402 1.01:1 Fails Lc 0.0 Not readable
#010402 text on white 20.59:1 AAA Lc 106.0 Preferred for body text
#010402 text on black 1.01: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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E7EBE8

    oklch(93.6% 0.006 153.8)

  3. Step 200

    200

    #D4DBD6

    oklch(88.5% 0.01 155.1)

  4. Step 300

    300

    #B8C4BC

    oklch(80.9% 0.017 156.8)

  5. Step 400

    400

    #93A699

    oklch(70.6% 0.028 155.7)

  6. Step 500

    500

    #789181

    oklch(63.2% 0.037 157.1)

  7. Step 600

    600

    #607B6A

    oklch(55.6% 0.041 157.2)

  8. Step 700

    700

    #4F6758

    oklch(49% 0.037 157.3)

  9. Step 800

    800

    #415448

    oklch(42.6% 0.031 157.1)

  10. Step 900

    900

    #37463C

    oklch(37.8% 0.026 155.8)

  11. Step 950

    950 (this color)

    #010402

    oklch(9.7% 0.015 156.9)

Export this scale for Tailwind in the Tailwind colors tool

#010402 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)#0403020.016
Deuteranopia (no green cones)#0303020.013
Tritanopia (no blue cones)#0104030.005
Achromatopsia (no color)#0303030.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #010402

    #010402

    oklch(9.7% 0.015 156.9)

  • #050204

    #050204

    oklch(9.6% 0.014 337.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #010402

    #010402

    oklch(9.7% 0.015 156.9)

  • #020401

    #020401

    oklch(9.9% 0.017 133.1)

  • #000404

    #000404

    oklch(9.7% 0.016 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #010402

    #010402

    oklch(9.7% 0.015 156.9)

  • #040206

    #040206

    oklch(9.6% 0.018 309.8)

  • #060203

    #060203

    oklch(9.8% 0.015 359.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #010402

    #010402

    oklch(9.7% 0.015 156.9)

  • #020307

    #020307

    oklch(9.8% 0.015 268.1)

  • #060201

    #060201

    oklch(9.6% 0.016 43.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #010402

    #010402

    oklch(9.7% 0.015 156.9)

  • #010307

    #010307

    oklch(9.5% 0.018 253.1)

  • #050204

    #050204

    oklch(9.6% 0.014 337.6)

  • #050201

    #050201

    oklch(9.3% 0.014 48.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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