#304945

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.4% 0.031 183.6), rgb(48, 73, 69).

Aa

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

About this color

#304945 is a dark, muted teal or cyan. In OKLCH its lightness is 38%, its chroma 0.031 and its hue 184°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.022 away. White text reads best on it, at 9.70:1.

Hue familyTeals and cyans
Lightnessdark (38%)
Chromamuted (0.031)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.16:1
White text9.70:1

Values

HEX#304945
RGBrgb(48, 73, 69)
HSLhsl(170, 21%, 24%)
OKLCHoklch(38.4% 0.031 183.6)

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 #304945 9.70:1 AAA Lc -96.7 Preferred for body text
Black text on #304945 2.16:1 Fails Lc 11.5 Not readable
#304945 text on white 9.70:1 AAA Lc 92.5 Preferred for body text
#304945 text on black 2.16:1 Fails Lc -10.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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCDA

    oklch(88.5% 0.013 185.1)

  4. Step 300

    300

    #B1C6C2

    oklch(81% 0.024 183)

  5. Step 400

    400

    #87A9A3

    oklch(70.8% 0.038 183.3)

  6. Step 500

    500

    #68938C

    oklch(63% 0.048 183.6)

  7. Step 600

    600

    #4F7E76

    oklch(55.7% 0.053 182.4)

  8. Step 700

    700

    #3F6A64

    oklch(49.1% 0.049 184.5)

  9. Step 800

    800

    #355651

    oklch(42.6% 0.04 183.8)

  10. Step 900

    900 (this color)

    #304945

    oklch(38.4% 0.031 183.6)

  11. Step 950

    950

    #1B2A27

    oklch(27% 0.021 180.8)

Export this scale for Tailwind in the Tailwind colors tool

#304945 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)#4746450.034
Deuteranopia (no green cones)#4243450.031
Tritanopia (no blue cones)#284A480.010
Achromatopsia (no color)#4444440.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #304945

    #304945

    oklch(38.4% 0.031 183.6)

  • #523C41

    #523C41

    oklch(38.2% 0.032 3.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304945

    #304945

    oklch(38.4% 0.031 183.6)

  • #36483C

    #36483C

    oklch(38.2% 0.031 155.5)

  • #2F484E

    #2F484E

    oklch(38.4% 0.032 214.4)

Open the analogous palette in the generator

Split complementary

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

  • #304945

    #304945

    oklch(38.4% 0.031 183.6)

  • #4E3D4A

    #4E3D4A

    oklch(38.3% 0.031 334.6)

  • #533D38

    #533D38

    oklch(38.3% 0.032 33.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304945

    #304945

    oklch(38.4% 0.031 183.6)

  • #473F51

    #473F51

    oklch(38.3% 0.032 305.1)

  • #504032

    #504032

    oklch(38.4% 0.032 62.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304945

    #304945

    oklch(38.4% 0.031 183.6)

  • #3E4254

    #3E4254

    oklch(38.3% 0.031 275)

  • #523C41

    #523C41

    oklch(38.2% 0.032 3.6)

  • #494330

    #494330

    oklch(38.3% 0.031 92.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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