#304D41

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.3% 0.041 166.4), rgb(48, 77, 65).

Aa

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

About this color

#304D41 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.041 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.022 away. White text reads best on it, at 9.27:1.

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.041)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.26:1
White text9.27:1

Values

HEX#304D41
RGBrgb(48, 77, 65)
HSLhsl(155, 23%, 25%)
OKLCHoklch(39.3% 0.041 166.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 #304D41 9.27:1 AAA Lc -95.7 Preferred for body text
Black text on #304D41 2.26:1 Fails Lc 12.6 Not readable
#304D41 text on white 9.27:1 AAA Lc 91.4 Preferred for body text
#304D41 text on black 2.26:1 Fails Lc -11.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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #CFDDD7

    oklch(88.5% 0.017 168.4)

  4. Step 300

    300

    #AFC7BC

    oklch(80.8% 0.03 166.3)

  5. Step 400

    400

    #84AB9A

    oklch(70.8% 0.049 166.5)

  6. Step 500

    500

    #649681

    oklch(63.1% 0.063 166.3)

  7. Step 600

    600

    #4A806A

    oklch(55.5% 0.068 166)

  8. Step 700

    700

    #3B6C59

    oklch(49.1% 0.062 166.9)

  9. Step 800

    800

    #315849

    oklch(42.6% 0.051 167.3)

  10. Step 900

    900 (this color)

    #304D41

    oklch(39.3% 0.041 166.4)

  11. Step 950

    950

    #1A2B24

    oklch(27.1% 0.026 166.8)

Export this scale for Tailwind in the Tailwind colors tool

#304D41 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)#4C49400.041
Deuteranopia (no green cones)#4746420.039
Tritanopia (no blue cones)#294D490.015
Achromatopsia (no color)#4747470.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D41

    #304D41

    oklch(39.3% 0.041 166.4)

  • #563D4A

    #563D4A

    oklch(39.2% 0.04 346.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D41

    #304D41

    oklch(39.3% 0.041 166.4)

  • #3C4B35

    #3C4B35

    oklch(39.3% 0.041 135.9)

  • #2A4D4D

    #2A4D4D

    oklch(39.4% 0.041 195.6)

Open the analogous palette in the generator

Split complementary

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

  • #304D41

    #304D41

    oklch(39.3% 0.041 166.4)

  • #4F3F55

    #4F3F55

    oklch(39.3% 0.042 316.7)

  • #5A3D3E

    #5A3D3E

    oklch(39.3% 0.041 16.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D41

    #304D41

    oklch(39.3% 0.041 166.4)

  • #44435B

    #44435B

    oklch(39.4% 0.04 286.3)

  • #583F33

    #583F33

    oklch(39.2% 0.04 46.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D41

    #304D41

    oklch(39.3% 0.041 166.4)

  • #38475C

    #38475C

    oklch(39.4% 0.041 256.8)

  • #563D4A

    #563D4A

    oklch(39.2% 0.04 346.6)

  • #52432D

    #52432D

    oklch(39.3% 0.04 76.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304D41 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.