#304E4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.9% 0.036 187.9), rgb(48, 78, 75).

Aa

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

About this color

#304E4B is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.036 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.006 away. White text reads best on it, at 9.06:1.

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

Values

HEX#304E4B
RGBrgb(48, 78, 75)
HSLhsl(174, 24%, 25%)
OKLCHoklch(39.9% 0.036 187.9)

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 #304E4B 9.06:1 AAA Lc -95.2 Preferred for body text
Black text on #304E4B 2.31:1 Fails Lc 13.2 Not readable
#304E4B text on white 9.06:1 AAA Lc 90.8 Preferred for body text
#304E4B text on black 2.31:1 Fails Lc -11.5 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

    #AEC7C4

    oklch(81% 0.027 187.9)

  5. Step 400

    400

    #82AAA5

    oklch(70.7% 0.044 186.8)

  6. Step 500

    500

    #61958F

    oklch(63.1% 0.056 186.7)

  7. Step 600

    600

    #477F7A

    oklch(55.6% 0.06 188.2)

  8. Step 700

    700

    #386B66

    oklch(49.1% 0.056 187.3)

  9. Step 800

    800

    #2F5754

    oklch(42.6% 0.046 189.4)

  10. Step 900

    900 (this color)

    #304E4B

    oklch(39.9% 0.036 187.9)

  11. Step 950

    950

    #192A28

    oklch(26.9% 0.023 186.7)

Export this scale for Tailwind in the Tailwind colors tool

#304E4B 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)#4B4B4B0.039
Deuteranopia (no green cones)#46474B0.036
Tritanopia (no blue cones)#254F4D0.012
Achromatopsia (no color)#4949490.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #304E4B

    #304E4B

    oklch(39.9% 0.036 187.9)

  • #594044

    #594044

    oklch(40% 0.035 8.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304E4B

    #304E4B

    oklch(39.9% 0.036 187.9)

  • #374E40

    #374E40

    oklch(40% 0.037 157.5)

  • #314C55

    #314C55

    oklch(39.9% 0.036 220.8)

Open the analogous palette in the generator

Split complementary

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

  • #304E4B

    #304E4B

    oklch(39.9% 0.036 187.9)

  • #55404E

    #55404E

    oklch(39.9% 0.036 339)

  • #594139

    #594139

    oklch(39.9% 0.036 39.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304E4B

    #304E4B

    oklch(39.9% 0.036 187.9)

  • #4D4257

    #4D4257

    oklch(39.9% 0.037 308.4)

  • #554432

    #554432

    oklch(39.9% 0.037 68.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304E4B

    #304E4B

    oklch(39.9% 0.036 187.9)

  • #43465B

    #43465B

    oklch(40% 0.036 278.3)

  • #594044

    #594044

    oklch(40% 0.035 8.1)

  • #4D4831

    #4D4831

    oklch(40% 0.037 97.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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