#304B45

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.9% 0.034 178.9), rgb(48, 75, 69).

Aa

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

About this color

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

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

Values

HEX#304B45
RGBrgb(48, 75, 69)
HSLhsl(167, 22%, 24%)
OKLCHoklch(38.9% 0.034 178.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 #304B45 9.46:1 AAA Lc -96.1 Preferred for body text
Black text on #304B45 2.21:1 Fails Lc 12.1 Not readable
#304B45 text on white 9.46:1 AAA Lc 91.9 Preferred for body text
#304B45 text on black 2.21:1 Fails Lc -10.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

    #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

    #85A9A1

    oklch(70.6% 0.041 180)

  6. Step 500

    500

    #66948A

    oklch(63% 0.052 179.5)

  7. Step 600

    600

    #4C7F74

    oklch(55.7% 0.058 178.8)

  8. Step 700

    700

    #3D6B61

    oklch(49.2% 0.053 178.4)

  9. Step 800

    800

    #33574F

    oklch(42.7% 0.044 178.3)

  10. Step 900

    900 (this color)

    #304B45

    oklch(38.9% 0.034 178.9)

  11. Step 950

    950

    #1B2A27

    oklch(27% 0.021 180.8)

Export this scale for Tailwind in the Tailwind colors tool

#304B45 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)#4948450.037
Deuteranopia (no green cones)#4444450.035
Tritanopia (no blue cones)#284C490.010
Achromatopsia (no color)#4646460.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #304B45

    #304B45

    oklch(38.9% 0.034 178.9)

  • #553D44

    #553D44

    oklch(38.9% 0.035 359.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304B45

    #304B45

    oklch(38.9% 0.034 178.9)

  • #384A3B

    #384A3B

    oklch(38.9% 0.034 149.6)

  • #2E4A4F

    #2E4A4F

    oklch(38.9% 0.035 209.9)

Open the analogous palette in the generator

Split complementary

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

  • #304B45

    #304B45

    oklch(38.9% 0.034 178.9)

  • #4F3E4E

    #4F3E4E

    oklch(38.8% 0.035 328.1)

  • #563E3A

    #563E3A

    oklch(38.9% 0.035 29.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304B45

    #304B45

    oklch(38.9% 0.034 178.9)

  • #474155

    #474155

    oklch(38.9% 0.034 298.5)

  • #534032

    #534032

    oklch(38.8% 0.035 57.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304B45

    #304B45

    oklch(38.9% 0.034 178.9)

  • #3D4458

    #3D4458

    oklch(38.9% 0.035 269.7)

  • #553D44

    #553D44

    oklch(38.9% 0.035 359.7)

  • #4C442F

    #4C442F

    oklch(38.9% 0.035 89.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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