#142A28

Closest named color: Jet (#212529). oklch(26.6% 0.028 188.1), rgb(20, 42, 40).

Aa

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

About this color

#142A28 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.025 away. White text reads best on it, at 15.09:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.39:1
White text15.09:1

Values

HEX#142A28
RGBrgb(20, 42, 40)
HSLhsl(175, 35%, 12%)
OKLCHoklch(26.6% 0.028 188.1)

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 #142A28 15.09:1 AAA Lc -104.7 Preferred for body text
Black text on #142A28 1.39:1 Fails Lc 0.0 Not readable
#142A28 text on white 15.09:1 AAA Lc 101.9 Preferred for body text
#142A28 text on black 1.39: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEB

    oklch(93.6% 0.01 189.1)

  3. Step 200

    200

    #CCDDDB

    oklch(88.4% 0.018 188.3)

  4. Step 300

    300

    #A9C8C4

    oklch(80.9% 0.034 187)

  5. Step 400

    400

    #7AACA7

    oklch(70.8% 0.054 188.3)

  6. Step 500

    500

    #559791

    oklch(63.1% 0.068 188)

  7. Step 600

    600

    #36817B

    oklch(55.5% 0.075 188.1)

  8. Step 700

    700

    #286D68

    oklch(49% 0.069 188.5)

  9. Step 800

    800

    #235955

    oklch(42.7% 0.057 188.6)

  10. Step 900

    900

    #224946

    oklch(37.6% 0.045 188.9)

  11. Step 950

    950 (this color)

    #142A28

    oklch(26.6% 0.028 188.1)

Export this scale for Tailwind in the Tailwind colors tool

#142A28 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)#2828280.030
Deuteranopia (no green cones)#2425280.028
Tritanopia (no blue cones)#0B2B290.009
Achromatopsia (no color)#2626260.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #142A28

    #142A28

    oklch(26.6% 0.028 188.1)

  • #322023

    #322023

    oklch(26.7% 0.028 8.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #142A28

    #142A28

    oklch(26.6% 0.028 188.1)

  • #192A20

    #192A20

    oklch(26.6% 0.029 157.8)

  • #15292F

    #15292F

    oklch(26.7% 0.028 219.1)

Open the analogous palette in the generator

Split complementary

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

  • #142A28

    #142A28

    oklch(26.6% 0.028 188.1)

  • #2F202A

    #2F202A

    oklch(26.6% 0.029 339.3)

  • #32211B

    #32211B

    oklch(26.7% 0.029 40.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #142A28

    #142A28

    oklch(26.6% 0.028 188.1)

  • #292230

    #292230

    oklch(26.6% 0.027 307.3)

  • #2F2316

    #2F2316

    oklch(26.6% 0.029 68.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #142A28

    #142A28

    oklch(26.6% 0.028 188.1)

  • #222433

    #222433

    oklch(26.5% 0.028 278.4)

  • #322023

    #322023

    oklch(26.7% 0.028 8.2)

  • #292615

    #292615

    oklch(26.7% 0.029 99.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #142A28 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.