#304F4B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.037 185.5), rgb(48, 79, 75).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.037)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.34:1
White text8.95:1

Values

HEX#304F4B
RGBrgb(48, 79, 75)
HSLhsl(172, 24%, 25%)
OKLCHoklch(40.2% 0.037 185.5)

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 #304F4B 8.95:1 AAA Lc -94.9 Preferred for body text
Black text on #304F4B 2.34:1 Fails Lc 13.5 Not readable
#304F4B text on white 8.95:1 AAA Lc 90.5 Preferred for body text
#304F4B text on black 2.34:1 Fails Lc -11.8 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 800.

  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

    #D1DCDA

    oklch(88.6% 0.012 184)

  4. Step 300

    300

    #B2C5C2

    oklch(80.8% 0.021 185.4)

  5. Step 400

    400

    #89A8A3

    oklch(70.7% 0.035 184.5)

  6. Step 500

    500

    #6B938D

    oklch(63.2% 0.045 184.7)

  7. Step 600

    600

    #527D77

    oklch(55.6% 0.049 184.9)

  8. Step 700

    700

    #426964

    oklch(49% 0.045 185.6)

  9. Step 800

    800 (this color)

    #304F4B

    oklch(40.2% 0.037 185.5)

  10. Step 900

    900

    #304744

    oklch(37.8% 0.029 185.9)

  11. Step 950

    950

    #1C2928

    oklch(26.9% 0.018 190.2)

Export this scale for Tailwind in the Tailwind colors tool

#304F4B 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)#4C4C4B0.040
Deuteranopia (no green cones)#46484B0.036
Tritanopia (no blue cones)#25504E0.012
Achromatopsia (no color)#4949490.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #304F4B

    #304F4B

    oklch(40.2% 0.037 185.5)

  • #5A4045

    #5A4045

    oklch(40.2% 0.037 6.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304F4B

    #304F4B

    oklch(40.2% 0.037 185.5)

  • #384E40

    #384E40

    oklch(40.1% 0.036 156.5)

  • #304E55

    #304E55

    oklch(40.3% 0.037 214.1)

Open the analogous palette in the generator

Split complementary

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

  • #304F4B

    #304F4B

    oklch(40.2% 0.037 185.5)

  • #554150

    #554150

    oklch(40.2% 0.036 335.3)

  • #5B413A

    #5B413A

    oklch(40.2% 0.038 35.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304F4B

    #304F4B

    oklch(40.2% 0.037 185.5)

  • #4D4359

    #4D4359

    oklch(40.2% 0.038 305.4)

  • #564433

    #564433

    oklch(40.1% 0.037 64.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304F4B

    #304F4B

    oklch(40.2% 0.037 185.5)

  • #42475D

    #42475D

    oklch(40.2% 0.038 274.6)

  • #5A4045

    #5A4045

    oklch(40.2% 0.037 6.1)

  • #4E4831

    #4E4831

    oklch(40.1% 0.037 95.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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