#140E1B

Closest named color: Rich Navy (#001219). oklch(17.8% 0.028 304.9), rgb(20, 14, 27).

Aa

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

About this color

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

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

Values

HEX#140E1B
RGBrgb(20, 14, 27)
HSLhsl(268, 32%, 8%)
OKLCHoklch(17.8% 0.028 304.9)

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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E3

    oklch(88.5% 0.019 306.6)

  4. Step 300

    300

    #C5BCD2

    oklch(80.9% 0.032 304.2)

  5. Step 400

    400

    #A899BB

    oklch(70.7% 0.052 305.1)

  6. Step 500

    500

    #937FAA

    oklch(63% 0.067 305.7)

  7. Step 600

    600

    #7D6896

    oklch(55.5% 0.074 305)

  8. Step 700

    700

    #6A5780

    oklch(49.2% 0.068 305.2)

  9. Step 800

    800

    #564768

    oklch(42.7% 0.057 304.9)

  10. Step 900

    900

    #473C54

    oklch(37.7% 0.043 305.3)

  11. Step 950

    950 (this color)

    #140E1B

    oklch(17.8% 0.028 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#140E1B 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)#0B101C0.018
Deuteranopia (no green cones)#0D111B0.017
Tritanopia (no blue cones)#1310130.021
Achromatopsia (no color)#1111110.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #140E1B

    #140E1B

    oklch(17.8% 0.028 304.9)

  • #0E1306

    #0E1306

    oklch(17.7% 0.027 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140E1B

    #140E1B

    oklch(17.8% 0.028 304.9)

  • #0E101D

    #0E101D

    oklch(17.8% 0.027 276.6)

  • #190C16

    #190C16

    oklch(17.8% 0.029 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #140E1B

    #140E1B

    oklch(17.8% 0.028 304.9)

  • #151104

    #151104

    oklch(17.8% 0.027 94.3)

  • #07150C

    #07150C

    oklch(17.9% 0.027 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140E1B

    #140E1B

    oklch(17.8% 0.028 304.9)

  • #1A0F05

    #1A0F05

    oklch(18% 0.027 64.6)

  • #021513

    #021513

    oklch(17.8% 0.028 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140E1B

    #140E1B

    oklch(17.8% 0.028 304.9)

  • #1C0D09

    #1C0D09

    oklch(18% 0.027 35.8)

  • #0E1306

    #0E1306

    oklch(17.7% 0.027 125.6)

  • #021419

    #021419

    oklch(17.8% 0.028 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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