#304542

Closest named color: Charcoal Grey (#3C4142). oklch(37.2% 0.027 185.2), rgb(48, 69, 66).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (37%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.05:1
White text10.21:1

Values

HEX#304542
RGBrgb(48, 69, 66)
HSLhsl(171, 18%, 23%)
OKLCHoklch(37.2% 0.027 185.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 #304542 10.21:1 AAA Lc -97.8 Preferred for body text
Black text on #304542 2.05:1 Fails Lc 10.2 Not readable
#304542 text on white 10.21:1 AAA Lc 93.7 Preferred for body text
#304542 text on black 2.05:1 Fails Lc -8.8 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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E6EBEA

    oklch(93.6% 0.006 183)

  3. Step 200

    200

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B3C5C2

    oklch(80.9% 0.02 184.8)

  5. Step 400

    400

    #8BA7A3

    oklch(70.6% 0.032 185.9)

  6. Step 500

    500

    #6E928D

    oklch(63.2% 0.041 185.7)

  7. Step 600

    600

    #557C77

    oklch(55.6% 0.044 186)

  8. Step 700

    700

    #456964

    oklch(49.2% 0.042 185)

  9. Step 800

    800

    #395551

    oklch(42.6% 0.034 184.9)

  10. Step 900

    900 (this color)

    #304542

    oklch(37.2% 0.027 185.2)

  11. Step 950

    950

    #1D2927

    oklch(26.9% 0.017 183.7)

Export this scale for Tailwind in the Tailwind colors tool

#304542 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)#4343420.029
Deuteranopia (no green cones)#3F40420.026
Tritanopia (no blue cones)#2A46440.008
Achromatopsia (no color)#4141410.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #304542

    #304542

    oklch(37.2% 0.027 185.2)

  • #4D3A3E

    #4D3A3E

    oklch(37.1% 0.028 4.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304542

    #304542

    oklch(37.2% 0.027 185.2)

  • #35453A

    #35453A

    oklch(37.3% 0.028 154.8)

  • #304449

    #304449

    oklch(37.2% 0.027 214.9)

Open the analogous palette in the generator

Split complementary

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

  • #304542

    #304542

    oklch(37.2% 0.027 185.2)

  • #4A3B46

    #4A3B46

    oklch(37.2% 0.027 335.8)

  • #4D3B37

    #4D3B37

    oklch(37.1% 0.027 32.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304542

    #304542

    oklch(37.2% 0.027 185.2)

  • #433D4C

    #433D4C

    oklch(37.2% 0.026 303.3)

  • #4A3D31

    #4A3D31

    oklch(37% 0.027 64.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304542

    #304542

    oklch(37.2% 0.027 185.2)

  • #3C3F4F

    #3C3F4F

    oklch(37.1% 0.028 276.6)

  • #4D3A3E

    #4D3A3E

    oklch(37.1% 0.028 4.5)

  • #444030

    #444030

    oklch(37.1% 0.027 95.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304542 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.