#140D21

Closest named color: Rich Navy (#001219). oklch(18% 0.041 298.4), rgb(20, 13, 33).

Aa

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

About this color

#140D21 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.041 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.046 away. White text reads best on it, at 18.93:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.041)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.10:1
White text18.93:1

Values

HEX#140D21
RGBrgb(20, 13, 33)
HSLhsl(261, 43%, 9%)
OKLCHoklch(18% 0.041 298.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 #140D21 18.93:1 AAA Lc -107.4 Preferred for body text
Black text on #140D21 1.10:1 Fails Lc 0.0 Not readable
#140D21 text on white 18.93:1 AAA Lc 105.3 Preferred for body text
#140D21 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E9

    oklch(88.6% 0.026 297.9)

  4. Step 300

    300

    #C4BADC

    oklch(80.8% 0.048 298.8)

  5. Step 400

    400

    #A696CB

    oklch(70.6% 0.078 298.2)

  6. Step 500

    500

    #917CBD

    oklch(63.1% 0.098 298.4)

  7. Step 600

    600

    #7C64AA

    oklch(55.6% 0.108 298.6)

  8. Step 700

    700

    #685391

    oklch(49.1% 0.099 298.3)

  9. Step 800

    800

    #554476

    oklch(42.7% 0.083 298.5)

  10. Step 900

    900

    #463A5F

    oklch(37.8% 0.063 298.2)

  11. Step 950

    950 (this color)

    #140D21

    oklch(18% 0.041 298.4)

Export this scale for Tailwind in the Tailwind colors tool

#140D21 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)#0711220.026
Deuteranopia (no green cones)#0810210.024
Tritanopia (no blue cones)#1111150.033
Achromatopsia (no color)#1111110.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #140D21

    #140D21

    oklch(18% 0.041 298.4)

  • #101400

    #101400

    oklch(18.1% 0.042 118.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140D21

    #140D21

    oklch(18% 0.041 298.4)

  • #0A1023

    #0A1023

    oklch(17.9% 0.04 268.9)

  • #1B0A1A

    #1B0A1A

    oklch(17.9% 0.041 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #140D21

    #140D21

    oklch(18% 0.041 298.4)

  • #181000

    #181000

    oklch(17.9% 0.037 87.7)

  • #041607

    #041607

    oklch(17.9% 0.04 148.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140D21

    #140D21

    oklch(18% 0.041 298.4)

  • #1F0C01

    #1F0C01

    oklch(18% 0.041 55.8)

  • #001612

    #001612

    oklch(17.9% 0.033 180.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140D21

    #140D21

    oklch(18% 0.041 298.4)

  • #210907

    #210907

    oklch(18% 0.042 27.6)

  • #101400

    #101400

    oklch(18.1% 0.042 118.4)

  • #001519

    #001519

    oklch(17.9% 0.031 210.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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