#42404F

Closest named color: Charcoal Grey (#3C4142). oklch(37.9% 0.025 291.2), rgb(66, 64, 79).

Aa

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

About this color

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

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

Values

HEX#42404F
RGBrgb(66, 64, 79)
HSLhsl(248, 10%, 28%)
OKLCHoklch(37.9% 0.025 291.2)

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 #42404F 10.10:1 AAA Lc -97.6 Preferred for body text
Black text on #42404F 2.07:1 Fails Lc 10.5 Not readable
#42404F text on white 10.10:1 AAA Lc 93.5 Preferred for body text
#42404F text on black 2.07:1 Fails Lc -9.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 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

    #D9D8E0

    oklch(88.5% 0.011 291.9)

  4. Step 300

    300

    #C0BFCC

    oklch(80.9% 0.018 289.5)

  5. Step 400

    400

    #A09EB3

    oklch(70.8% 0.03 290)

  6. Step 500

    500

    #8986A0

    oklch(63.2% 0.039 290.5)

  7. Step 600

    600

    #736F8B

    oklch(55.6% 0.043 291.5)

  8. Step 700

    700

    #605D76

    oklch(49.1% 0.04 290.4)

  9. Step 800

    800

    #4F4C60

    oklch(42.7% 0.033 291.8)

  10. Step 900

    900 (this color)

    #42404F

    oklch(37.9% 0.025 291.2)

  11. Step 950

    950

    #26252E

    oklch(26.9% 0.017 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#42404F 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)#3D42500.009
Deuteranopia (no green cones)#3D414F0.008
Tritanopia (no blue cones)#4042450.021
Achromatopsia (no color)#4242420.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #42404F

    #42404F

    oklch(37.9% 0.025 291.2)

  • #424434

    #424434

    oklch(38% 0.026 113.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42404F

    #42404F

    oklch(37.9% 0.025 291.2)

  • #3B4350

    #3B4350

    oklch(38.1% 0.025 260.1)

  • #493E4B

    #493E4B

    oklch(38% 0.026 321.1)

Open the analogous palette in the generator

Split complementary

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

  • #42404F

    #42404F

    oklch(37.9% 0.025 291.2)

  • #494133

    #494133

    oklch(37.9% 0.025 81.6)

  • #3B4639

    #3B4639

    oklch(38% 0.026 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42404F

    #42404F

    oklch(37.9% 0.025 291.2)

  • #4E3F36

    #4E3F36

    oklch(38.1% 0.026 52.7)

  • #354740

    #354740

    oklch(38% 0.026 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42404F

    #42404F

    oklch(37.9% 0.025 291.2)

  • #4F3D3C

    #4F3D3C

    oklch(37.9% 0.025 22)

  • #424434

    #424434

    oklch(38% 0.026 113.4)

  • #324648

    #324648

    oklch(37.8% 0.025 203.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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