#304B47

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39% 0.034 184.3), rgb(48, 75, 71).

Aa

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

About this color

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

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

Values

HEX#304B47
RGBrgb(48, 75, 71)
HSLhsl(171, 22%, 24%)
OKLCHoklch(39% 0.034 184.3)

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 #304B47 9.44:1 AAA Lc -96.1 Preferred for body text
Black text on #304B47 2.22:1 Fails Lc 12.2 Not readable
#304B47 text on white 9.44:1 AAA Lc 91.8 Preferred for body text
#304B47 text on black 2.22:1 Fails Lc -10.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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEA

    oklch(93.5% 0.007 185.3)

  3. Step 200

    200

    #D0DCDA

    oklch(88.5% 0.013 185.1)

  4. Step 300

    300

    #B0C6C2

    oklch(80.9% 0.025 183.6)

  5. Step 400

    400

    #85A9A3

    oklch(70.6% 0.04 183.9)

  6. Step 500

    500

    #66948D

    oklch(63.1% 0.051 184.2)

  7. Step 600

    600

    #4C7E77

    oklch(55.6% 0.055 184.5)

  8. Step 700

    700

    #3C6B64

    oklch(49.2% 0.053 183.5)

  9. Step 800

    800

    #325752

    oklch(42.7% 0.043 184.8)

  10. Step 900

    900 (this color)

    #304B47

    oklch(39% 0.034 184.3)

  11. Step 950

    950

    #1B2A28

    oklch(27.1% 0.021 185.7)

Export this scale for Tailwind in the Tailwind colors tool

#304B47 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)#4848470.035
Deuteranopia (no green cones)#4444470.035
Tritanopia (no blue cones)#274C4A0.010
Achromatopsia (no color)#4646460.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #304B47

    #304B47

    oklch(39% 0.034 184.3)

  • #553E43

    #553E43

    oklch(39.1% 0.033 4.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304B47

    #304B47

    oklch(39% 0.034 184.3)

  • #374A3D

    #374A3D

    oklch(38.9% 0.032 154.8)

  • #304A50

    #304A50

    oklch(39.1% 0.033 213.7)

Open the analogous palette in the generator

Split complementary

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

  • #304B47

    #304B47

    oklch(39% 0.034 184.3)

  • #503E4C

    #503E4C

    oklch(38.8% 0.033 334.1)

  • #553F39

    #553F39

    oklch(39% 0.033 35.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304B47

    #304B47

    oklch(39% 0.034 184.3)

  • #494154

    #494154

    oklch(39.1% 0.033 304.1)

  • #524132

    #524132

    oklch(38.9% 0.034 63)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304B47

    #304B47

    oklch(39% 0.034 184.3)

  • #3F4457

    #3F4457

    oklch(39% 0.033 273.3)

  • #553E43

    #553E43

    oklch(39.1% 0.033 4.3)

  • #4B4530

    #4B4530

    oklch(39% 0.034 94.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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