#140F18

Closest named color: Almost Black (#070D0D). oklch(17.9% 0.02 309.6), rgb(20, 15, 24).

Aa

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

About this color

#140F18 is a very dark close to neutral grey. In OKLCH its lightness is 18%, its chroma 0.020. 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 18.89:1.

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.11:1
White text18.89:1

Values

HEX#140F18
RGBrgb(20, 15, 24)
HSLhsl(273, 23%, 8%)
OKLCHoklch(17.9% 0.02 309.6)

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 #140F18 18.89:1 AAA Lc -107.4 Preferred for body text
Black text on #140F18 1.11:1 Fails Lc 0.0 Not readable
#140F18 text on white 18.89:1 AAA Lc 105.4 Preferred for body text
#140F18 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DCD7E0

    oklch(88.6% 0.013 310.5)

  4. Step 300

    300

    #C5BDCC

    oklch(80.9% 0.023 309.5)

  5. Step 400

    400

    #A89BB3

    oklch(70.8% 0.037 309.6)

  6. Step 500

    500

    #9282A0

    oklch(63.1% 0.048 309)

  7. Step 600

    600

    #7C6B8B

    oklch(55.5% 0.053 308.8)

  8. Step 700

    700

    #695976

    oklch(49.1% 0.049 309.6)

  9. Step 800

    800

    #564960

    oklch(42.7% 0.041 310.2)

  10. Step 900

    900

    #473D4E

    oklch(37.7% 0.031 311.3)

  11. Step 950

    950 (this color)

    #140F18

    oklch(17.9% 0.02 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#140F18 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)#0E11180.014
Deuteranopia (no green cones)#0F11180.012
Tritanopia (no blue cones)#1410120.014
Achromatopsia (no color)#1111110.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #140F18

    #140F18

    oklch(17.9% 0.02 309.6)

  • #0F130A

    #0F130A

    oklch(17.9% 0.019 127.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140F18

    #140F18

    oklch(17.9% 0.02 309.6)

  • #10101A

    #10101A

    oklch(17.8% 0.021 284.1)

  • #170E14

    #170E14

    oklch(17.9% 0.019 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #140F18

    #140F18

    oklch(17.9% 0.02 309.6)

  • #131207

    #131207

    oklch(18% 0.021 103.9)

  • #0A140E

    #0A140E

    oklch(17.9% 0.019 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140F18

    #140F18

    oklch(17.9% 0.02 309.6)

  • #171008

    #171008

    oklch(17.9% 0.019 70.3)

  • #071413

    #071413

    oklch(17.9% 0.019 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140F18

    #140F18

    oklch(17.9% 0.02 309.6)

  • #190E0B

    #190E0B

    oklch(17.8% 0.02 35.9)

  • #0F130A

    #0F130A

    oklch(17.9% 0.019 127.7)

  • #071317

    #071317

    oklch(17.7% 0.019 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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