#42404C

Closest named color: Charcoal Grey (#3C4142). oklch(37.8% 0.02 293), rgb(66, 64, 76).

Aa

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

About this color

#42404C is a dark close to neutral grey. In OKLCH its lightness is 38%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.022 away. White text reads best on it, at 10.14:1.

Hue familyNeutrals
Lightnessdark (38%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.06:1
White text10.14:1

Values

HEX#42404C
RGBrgb(66, 64, 76)
HSLhsl(250, 9%, 27%)
OKLCHoklch(37.8% 0.02 293)

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 #42404C 10.14:1 AAA Lc -97.7 Preferred for body text
Black text on #42404C 2.06:1 Fails Lc 10.3 Not readable
#42404C text on white 10.14:1 AAA Lc 93.6 Preferred for body text
#42404C text on black 2.06:1 Fails Lc -8.9 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 900.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #D9D8DE

    oklch(88.5% 0.008 293.9)

  4. Step 300

    300

    #C1BFCA

    oklch(81% 0.015 294.4)

  5. Step 400

    400

    #A19EAF

    oklch(70.7% 0.025 293.9)

  6. Step 500

    500

    #8A869B

    oklch(63.1% 0.031 294.2)

  7. Step 600

    600

    #747086

    oklch(55.7% 0.034 293.6)

  8. Step 700

    700

    #615E71

    oklch(49.2% 0.03 292.5)

  9. Step 800

    800

    #4F4D5C

    oklch(42.8% 0.025 291.4)

  10. Step 900

    900 (this color)

    #42404C

    oklch(37.8% 0.02 293)

  11. Step 950

    950

    #26252C

    oklch(26.8% 0.013 292.1)

Export this scale for Tailwind in the Tailwind colors tool

#42404C 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)#3E424D0.008
Deuteranopia (no green cones)#3E414C0.007
Tritanopia (no blue cones)#4042440.018
Achromatopsia (no color)#4141410.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #42404C

    #42404C

    oklch(37.8% 0.02 293)

  • #424337

    #424337

    oklch(37.8% 0.02 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42404C

    #42404C

    oklch(37.8% 0.02 293)

  • #3C424D

    #3C424D

    oklch(37.8% 0.02 262.6)

  • #473E48

    #473E48

    oklch(37.7% 0.021 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #42404C

    #42404C

    oklch(37.8% 0.02 293)

  • #474136

    #474136

    oklch(37.8% 0.02 82.7)

  • #3C453B

    #3C453B

    oklch(37.9% 0.02 142.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42404C

    #42404C

    oklch(37.8% 0.02 293)

  • #4B3F38

    #4B3F38

    oklch(37.8% 0.02 52.1)

  • #374641

    #374641

    oklch(37.9% 0.021 172.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42404C

    #42404C

    oklch(37.8% 0.02 293)

  • #4C3E3D

    #4C3E3D

    oklch(37.8% 0.02 22.9)

  • #424337

    #424337

    oklch(37.8% 0.02 111.2)

  • #354547

    #354547

    oklch(37.7% 0.021 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42404C 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.