#020F18

Closest named color: Rich Navy (#001219). oklch(16% 0.029 236.4), rgb(2, 15, 24).

Aa

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

About this color

#020F18 is a very dark close to neutral grey. In OKLCH its lightness is 16%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.012 away. White text reads best on it, at 19.37:1.

Hue familyNeutrals
Lightnessvery dark (16%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.08:1
White text19.37:1

Values

HEX#020F18
RGBrgb(2, 15, 24)
HSLhsl(205, 85%, 5%)
OKLCHoklch(16% 0.029 236.4)

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 #020F18 19.37:1 AAA Lc -107.5 Preferred for body text
Black text on #020F18 1.08:1 Fails Lc 0.0 Not readable
#020F18 text on white 19.37:1 AAA Lc 105.6 Preferred for body text
#020F18 text on black 1.08: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #ADC5D4

    oklch(81% 0.034 235.3)

  5. Step 400

    400

    #80A6BF

    oklch(70.6% 0.055 237.4)

  6. Step 500

    500

    #5F90AF

    oklch(63.1% 0.071 237.2)

  7. Step 600

    600

    #447A9A

    oklch(55.6% 0.076 236.4)

  8. Step 700

    700

    #356784

    oklch(49.2% 0.071 236.2)

  9. Step 800

    800

    #2D546B

    oklch(42.7% 0.059 236.2)

  10. Step 900

    900

    #294557

    oklch(37.6% 0.046 237.9)

  11. Step 950

    950 (this color)

    #020F18

    oklch(16% 0.029 236.4)

Export this scale for Tailwind in the Tailwind colors tool

#020F18 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)#0B0F180.017
Deuteranopia (no green cones)#070C180.015
Tritanopia (no blue cones)#0011120.018
Achromatopsia (no color)#0D0D0D0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F18

    #020F18

    oklch(16% 0.029 236.4)

  • #170A03

    #170A03

    oklch(16.2% 0.029 55.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F18

    #020F18

    oklch(16% 0.029 236.4)

  • #001013

    #001013

    oklch(15.8% 0.027 208.4)

  • #080D1A

    #080D1A

    oklch(16.1% 0.029 266.8)

Open the analogous palette in the generator

Split complementary

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

  • #020F18

    #020F18

    oklch(16% 0.029 236.4)

  • #180807

    #180807

    oklch(16% 0.029 25.2)

  • #130C01

    #130C01

    oklch(16% 0.029 84.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F18

    #020F18

    oklch(16% 0.029 236.4)

  • #17080E

    #17080E

    oklch(16.1% 0.029 355.1)

  • #0D0F02

    #0D0F02

    oklch(16.1% 0.03 115.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F18

    #020F18

    oklch(16% 0.029 236.4)

  • #140914

    #140914

    oklch(16.1% 0.029 326.8)

  • #170A03

    #170A03

    oklch(16.2% 0.029 55.1)

  • #051106

    #051106

    oklch(16.1% 0.03 146.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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