#304D4A

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.6% 0.035 187.6), rgb(48, 77, 74).

Aa

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

About this color

#304D4A is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.035 and its hue 188°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.009 away. White text reads best on it, at 9.18:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.035)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.28:1
White text9.18:1

Values

HEX#304D4A
RGBrgb(48, 77, 74)
HSLhsl(174, 23%, 25%)
OKLCHoklch(39.6% 0.035 187.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 #304D4A 9.18:1 AAA Lc -95.5 Preferred for body text
Black text on #304D4A 2.28:1 Fails Lc 12.8 Not readable
#304D4A text on white 9.18:1 AAA Lc 91.1 Preferred for body text
#304D4A text on black 2.28:1 Fails Lc -11.2 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

    #E4ECEB

    oklch(93.7% 0.009 188.1)

  3. Step 200

    200

    #CFDCDB

    oklch(88.4% 0.014 191.4)

  4. Step 300

    300

    #AEC6C3

    oklch(80.8% 0.026 187.5)

  5. Step 400

    400

    #83AAA5

    oklch(70.8% 0.043 186.6)

  6. Step 500

    500

    #63948F

    oklch(63% 0.053 187.9)

  7. Step 600

    600

    #487F79

    oklch(55.7% 0.059 186.7)

  8. Step 700

    700

    #396B66

    oklch(49.1% 0.055 187.2)

  9. Step 800

    800

    #305753

    oklch(42.7% 0.045 187.2)

  10. Step 900

    900 (this color)

    #304D4A

    oklch(39.6% 0.035 187.6)

  11. Step 950

    950

    #1A2A28

    oklch(27% 0.022 186.2)

Export this scale for Tailwind in the Tailwind colors tool

#304D4A 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)#4A4A4A0.037
Deuteranopia (no green cones)#45464A0.036
Tritanopia (no blue cones)#264E4C0.011
Achromatopsia (no color)#4848480.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D4A

    #304D4A

    oklch(39.6% 0.035 187.6)

  • #583F43

    #583F43

    oklch(39.7% 0.035 8.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D4A

    #304D4A

    oklch(39.6% 0.035 187.6)

  • #374D3F

    #374D3F

    oklch(39.7% 0.036 156.4)

  • #304C53

    #304C53

    oklch(39.7% 0.036 215.2)

Open the analogous palette in the generator

Split complementary

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

  • #304D4A

    #304D4A

    oklch(39.6% 0.035 187.6)

  • #53404D

    #53404D

    oklch(39.7% 0.033 338.1)

  • #584039

    #584039

    oklch(39.6% 0.036 36.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D4A

    #304D4A

    oklch(39.6% 0.035 187.6)

  • #4C4256

    #4C4256

    oklch(39.7% 0.035 307.5)

  • #544332

    #544332

    oklch(39.6% 0.036 66.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D4A

    #304D4A

    oklch(39.6% 0.035 187.6)

  • #42455A

    #42455A

    oklch(39.6% 0.036 278.3)

  • #583F43

    #583F43

    oklch(39.7% 0.035 8.2)

  • #4C4731

    #4C4731

    oklch(39.7% 0.035 96.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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