#304E4D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.036 193.1), rgb(48, 78, 77).

Aa

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

About this color

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

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

Values

HEX#304E4D
RGBrgb(48, 78, 77)
HSLhsl(178, 24%, 25%)
OKLCHoklch(40% 0.036 193.1)

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 #304E4D 9.04:1 AAA Lc -95.1 Preferred for body text
Black text on #304E4D 2.32:1 Fails Lc 13.2 Not readable
#304E4D text on white 9.04:1 AAA Lc 90.7 Preferred for body text
#304E4D text on black 2.32:1 Fails Lc -11.6 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

    #CFDCDC

    oklch(88.5% 0.014 196.9)

  4. Step 300

    300

    #AEC6C5

    oklch(80.8% 0.026 193.6)

  5. Step 400

    400

    #82A9A8

    oklch(70.6% 0.042 194.3)

  6. Step 500

    500

    #619493

    oklch(63% 0.055 194.3)

  7. Step 600

    600

    #467F7D

    oklch(55.7% 0.06 192.6)

  8. Step 700

    700

    #376B69

    oklch(49.1% 0.056 192.2)

  9. Step 800

    800

    #2E5756

    oklch(42.7% 0.046 193.5)

  10. Step 900

    900 (this color)

    #304E4D

    oklch(40% 0.036 193.1)

  11. Step 950

    950

    #192A29

    oklch(27% 0.023 191.2)

Export this scale for Tailwind in the Tailwind colors tool

#304E4D 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)#4B4B4D0.039
Deuteranopia (no green cones)#45474D0.035
Tritanopia (no blue cones)#24504E0.013
Achromatopsia (no color)#4949490.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #304E4D

    #304E4D

    oklch(40% 0.036 193.1)

  • #594042

    #594042

    oklch(40% 0.035 13.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304E4D

    #304E4D

    oklch(40% 0.036 193.1)

  • #364E42

    #364E42

    oklch(40% 0.036 162.5)

  • #324C56

    #324C56

    oklch(40% 0.036 224)

Open the analogous palette in the generator

Split complementary

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

  • #304E4D

    #304E4D

    oklch(40% 0.036 193.1)

  • #56404D

    #56404D

    oklch(40% 0.037 342.6)

  • #594238

    #594238

    oklch(40.1% 0.036 44.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304E4D

    #304E4D

    oklch(40% 0.036 193.1)

  • #4F4256

    #4F4256

    oklch(40% 0.037 313.7)

  • #544532

    #544532

    oklch(40.1% 0.036 73.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304E4D

    #304E4D

    oklch(40% 0.036 193.1)

  • #45455B

    #45455B

    oklch(39.9% 0.037 284.6)

  • #594042

    #594042

    oklch(40% 0.035 13.4)

  • #4B4932

    #4B4932

    oklch(40.1% 0.036 103.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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