#304A45

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.6% 0.033 181.1), rgb(48, 74, 69).

Aa

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

About this color

#304A45 is a dark, muted teal or cyan. In OKLCH its lightness is 39%, its chroma 0.033 and its hue 181°. 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.58:1.

Hue familyTeals and cyans
Lightnessdark (39%)
Chromamuted (0.033)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.19:1
White text9.58:1

Values

HEX#304A45
RGBrgb(48, 74, 69)
HSLhsl(168, 21%, 24%)
OKLCHoklch(38.6% 0.033 181.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 #304A45 9.58:1 AAA Lc -96.4 Preferred for body text
Black text on #304A45 2.19:1 Fails Lc 11.8 Not readable
#304A45 text on white 9.58:1 AAA Lc 92.2 Preferred for body text
#304A45 text on black 2.19:1 Fails Lc -10.3 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCD9

    oklch(88.5% 0.014 179.4)

  4. Step 300

    300

    #B0C6C1

    oklch(80.8% 0.025 180.5)

  5. Step 400

    400

    #86A9A2

    oklch(70.7% 0.04 181.6)

  6. Step 500

    500

    #67948B

    oklch(63.1% 0.051 180.8)

  7. Step 600

    600

    #4E7E75

    oklch(55.6% 0.054 181)

  8. Step 700

    700

    #3E6A62

    oklch(49% 0.051 181.2)

  9. Step 800

    800

    #345750

    oklch(42.8% 0.042 180.1)

  10. Step 900

    900 (this color)

    #304A45

    oklch(38.6% 0.033 181.1)

  11. Step 950

    950

    #1B2A27

    oklch(27% 0.021 180.8)

Export this scale for Tailwind in the Tailwind colors tool

#304A45 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)#4847450.036
Deuteranopia (no green cones)#4344450.032
Tritanopia (no blue cones)#284B480.010
Achromatopsia (no color)#4545450.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #304A45

    #304A45

    oklch(38.6% 0.033 181.1)

  • #533D43

    #533D43

    oklch(38.6% 0.032 0.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304A45

    #304A45

    oklch(38.6% 0.033 181.1)

  • #37493B

    #37493B

    oklch(38.5% 0.033 151.4)

  • #2F494E

    #2F494E

    oklch(38.6% 0.033 210.9)

Open the analogous palette in the generator

Split complementary

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

  • #304A45

    #304A45

    oklch(38.6% 0.033 181.1)

  • #4F3E4C

    #4F3E4C

    oklch(38.7% 0.032 332.3)

  • #543E39

    #543E39

    oklch(38.6% 0.032 33.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304A45

    #304A45

    oklch(38.6% 0.033 181.1)

  • #474053

    #474053

    oklch(38.6% 0.033 301.7)

  • #514032

    #514032

    oklch(38.6% 0.033 61.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304A45

    #304A45

    oklch(38.6% 0.033 181.1)

  • #3D4356

    #3D4356

    oklch(38.5% 0.033 271.1)

  • #533D43

    #533D43

    oklch(38.6% 0.032 0.7)

  • #4B4430

    #4B4430

    oklch(38.8% 0.033 91)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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