#304D58

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.2% 0.039 223.9), rgb(48, 77, 88).

Aa

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

About this color

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

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

Values

HEX#304D58
RGBrgb(48, 77, 88)
HSLhsl(197, 29%, 27%)
OKLCHoklch(40.2% 0.039 223.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 #304D58 9.02:1 AAA Lc -95.1 Preferred for body text
Black text on #304D58 2.32:1 Fails Lc 13.3 Not readable
#304D58 text on white 9.02:1 AAA Lc 90.7 Preferred for body text
#304D58 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE1

    oklch(88.5% 0.017 221.1)

  4. Step 300

    300

    #ADC5CF

    oklch(80.9% 0.03 224.8)

  5. Step 400

    400

    #81A7B7

    oklch(70.6% 0.047 225.6)

  6. Step 500

    500

    #6092A5

    oklch(63.2% 0.061 223.9)

  7. Step 600

    600

    #457C90

    oklch(55.6% 0.066 223.7)

  8. Step 700

    700

    #37687A

    oklch(49% 0.06 224.1)

  9. Step 800

    800

    #2E5563

    oklch(42.7% 0.05 223.4)

  10. Step 900

    900 (this color)

    #304D58

    oklch(40.2% 0.039 223.9)

  11. Step 950

    950

    #19292F

    oklch(26.9% 0.024 223.4)

Export this scale for Tailwind in the Tailwind colors tool

#304D58 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)#474C590.032
Deuteranopia (no green cones)#4147580.028
Tritanopia (no blue cones)#1F50500.026
Achromatopsia (no color)#4949490.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

  • #5B4237

    #5B4237

    oklch(40.3% 0.039 44.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

  • #2E4F4E

    #2E4F4E

    oklch(40.2% 0.039 193.3)

  • #3A4A5D

    #3A4A5D

    oklch(40.3% 0.038 253)

Open the analogous palette in the generator

Split complementary

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

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

  • #5C4042

    #5C4042

    oklch(40.3% 0.039 14.2)

  • #554530

    #554530

    oklch(40.1% 0.039 73.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

  • #58404D

    #58404D

    oklch(40.2% 0.039 345.3)

  • #4C4930

    #4C4930

    oklch(40.1% 0.039 102.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #5B4237

    #5B4237

    oklch(40.3% 0.039 44.8)

  • #404D37

    #404D37

    oklch(40.2% 0.039 132.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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