#020F07

Closest named color: Almost Black (#070D0D). oklch(15.1% 0.029 158.3), rgb(2, 15, 7).

Aa

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

About this color

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

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

Values

HEX#020F07
RGBrgb(2, 15, 7)
HSLhsl(143, 76%, 3%)
OKLCHoklch(15.1% 0.029 158.3)

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 #020F07 19.55:1 AAA Lc -107.6 Preferred for body text
Black text on #020F07 1.07:1 Fails Lc 0.0 Not readable
#020F07 text on white 19.55:1 AAA Lc 105.7 Preferred for body text
#020F07 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD4

    oklch(88.4% 0.019 157.8)

  4. Step 300

    300

    #AFC8B8

    oklch(80.9% 0.035 157.5)

  5. Step 400

    400

    #84AB94

    oklch(70.6% 0.054 158.8)

  6. Step 500

    500

    #64977A

    oklch(63.2% 0.07 158.7)

  7. Step 600

    600

    #4A8163

    oklch(55.6% 0.076 158.8)

  8. Step 700

    700

    #3B6D52

    oklch(49.1% 0.07 158.8)

  9. Step 800

    800

    #315943

    oklch(42.7% 0.059 158.5)

  10. Step 900

    900

    #2C4938

    oklch(37.7% 0.046 157.6)

  11. Step 950

    950 (this color)

    #020F07

    oklch(15.1% 0.029 158.3)

Export this scale for Tailwind in the Tailwind colors tool

#020F07 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)#0F0D070.027
Deuteranopia (no green cones)#0D0B070.027
Tritanopia (no blue cones)#000F0D0.013
Achromatopsia (no color)#0C0C0C0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F07

    #020F07

    oklch(15.1% 0.029 158.3)

  • #130710

    #130710

    oklch(15.2% 0.028 336.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F07

    #020F07

    oklch(15.1% 0.029 158.3)

  • #080E03

    #080E03

    oklch(15.3% 0.028 129.4)

  • #000F0D

    #000F0D

    oklch(15.1% 0.027 185.5)

Open the analogous palette in the generator

Split complementary

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

  • #020F07

    #020F07

    oklch(15.1% 0.029 158.3)

  • #0F0815

    #0F0815

    oklch(15.2% 0.029 308.2)

  • #150609

    #150609

    oklch(14.9% 0.029 6.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F07

    #020F07

    oklch(15.1% 0.029 158.3)

  • #090A17

    #090A17

    oklch(15.1% 0.028 279.1)

  • #160704

    #160704

    oklch(15.2% 0.029 36.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F07

    #020F07

    oklch(15.1% 0.029 158.3)

  • #030C17

    #030C17

    oklch(15.1% 0.029 249.5)

  • #130710

    #130710

    oklch(15.2% 0.028 336.5)

  • #130901

    #130901

    oklch(15.1% 0.029 70.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #020F07 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.