#140D18

Closest named color: Almost Black (#070D0D). oklch(17.4% 0.025 312.8), rgb(20, 13, 24).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (17%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.10:1
White text19.08:1

Values

HEX#140D18
RGBrgb(20, 13, 24)
HSLhsl(278, 30%, 7%)
OKLCHoklch(17.4% 0.025 312.8)

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 #140D18 19.08:1 AAA Lc -107.5 Preferred for body text
Black text on #140D18 1.10:1 Fails Lc 0.0 Not readable
#140D18 text on white 19.08:1 AAA Lc 105.5 Preferred for body text
#140D18 text on black 1.10: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C7BBCE

    oklch(80.8% 0.029 313.3)

  5. Step 400

    400

    #AB99B6

    oklch(70.8% 0.046 312.7)

  6. Step 500

    500

    #967FA4

    oklch(63.1% 0.06 312.5)

  7. Step 600

    600

    #81688F

    oklch(55.6% 0.066 313.2)

  8. Step 700

    700

    #6D5779

    oklch(49.2% 0.059 313.4)

  9. Step 800

    800

    #594763

    oklch(42.8% 0.051 313.3)

  10. Step 900

    900

    #493C51

    oklch(37.8% 0.039 312.4)

  11. Step 950

    950 (this color)

    #140D18

    oklch(17.4% 0.025 312.8)

Export this scale for Tailwind in the Tailwind colors tool

#140D18 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.019
Deuteranopia (no green cones)#0D10180.017
Tritanopia (no blue cones)#140E110.016
Achromatopsia (no color)#1010100.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #140D18

    #140D18

    oklch(17.4% 0.025 312.8)

  • #0C1307

    #0C1307

    oklch(17.5% 0.026 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140D18

    #140D18

    oklch(17.4% 0.025 312.8)

  • #0F0F1B

    #0F0F1B

    oklch(17.5% 0.025 283.6)

  • #180C13

    #180C13

    oklch(17.5% 0.024 344)

Open the analogous palette in the generator

Split complementary

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

  • #140D18

    #140D18

    oklch(17.4% 0.025 312.8)

  • #121104

    #121104

    oklch(17.4% 0.026 105.3)

  • #06140D

    #06140D

    oklch(17.5% 0.025 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140D18

    #140D18

    oklch(17.4% 0.025 312.8)

  • #170E05

    #170E05

    oklch(17.3% 0.024 68.1)

  • #031413

    #031413

    oklch(17.5% 0.025 190.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140D18

    #140D18

    oklch(17.4% 0.025 312.8)

  • #190D08

    #190D08

    oklch(17.4% 0.023 43.9)

  • #0C1307

    #0C1307

    oklch(17.5% 0.026 132.7)

  • #041318

    #041318

    oklch(17.5% 0.024 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #140D18 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.