#021418

Closest named color: Rich Navy (#001219). oklch(17.7% 0.027 212.7), rgb(2, 20, 24).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.82:1

Values

HEX#021418
RGBrgb(2, 20, 24)
HSLhsl(191, 85%, 5%)
OKLCHoklch(17.7% 0.027 212.7)

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 #021418 18.82:1 AAA Lc -107.3 Preferred for body text
Black text on #021418 1.11:1 Fails Lc 0.0 Not readable
#021418 text on white 18.82:1 AAA Lc 105.2 Preferred for body text
#021418 text on black 1.11: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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECED

    oklch(93.7% 0.01 204.9)

  3. Step 200

    200

    #CCDCE0

    oklch(88.4% 0.018 214.4)

  4. Step 300

    300

    #AAC7CD

    oklch(81% 0.032 211.6)

  5. Step 400

    400

    #7BAAB4

    oklch(70.8% 0.052 212.3)

  6. Step 500

    500

    #5794A1

    oklch(63% 0.066 212.8)

  7. Step 600

    600

    #3A7E8C

    oklch(55.5% 0.072 213.1)

  8. Step 700

    700

    #2B6B77

    oklch(49.2% 0.067 211.9)

  9. Step 800

    800

    #265761

    oklch(42.7% 0.055 212.9)

  10. Step 900

    900

    #24484F

    oklch(37.8% 0.043 211.7)

  11. Step 950

    950 (this color)

    #021418

    oklch(17.7% 0.027 212.7)

Export this scale for Tailwind in the Tailwind colors tool

#021418 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)#1113180.025
Deuteranopia (no green cones)#0D10180.023
Tritanopia (no blue cones)#0016150.012
Achromatopsia (no color)#1111110.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #021418

    #021418

    oklch(17.7% 0.027 212.7)

  • #1B0C09

    #1B0C09

    oklch(17.6% 0.027 32.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021418

    #021418

    oklch(17.7% 0.027 212.7)

  • #021512

    #021512

    oklch(17.7% 0.028 182.3)

  • #06121C

    #06121C

    oklch(17.6% 0.028 244.2)

Open the analogous palette in the generator

Split complementary

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

  • #021418

    #021418

    oklch(17.7% 0.027 212.7)

  • #1B0C10

    #1B0C10

    oklch(17.8% 0.027 2.9)

  • #190E05

    #190E05

    oklch(17.6% 0.026 62.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021418

    #021418

    oklch(17.7% 0.027 212.7)

  • #180C16

    #180C16

    oklch(17.6% 0.028 332.8)

  • #151103

    #151103

    oklch(17.8% 0.029 95.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021418

    #021418

    oklch(17.7% 0.027 212.7)

  • #130E1B

    #130E1B

    oklch(17.7% 0.027 301.3)

  • #1B0C09

    #1B0C09

    oklch(17.6% 0.027 32.2)

  • #0F1306

    #0F1306

    oklch(17.8% 0.026 122.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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