#304F56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.6% 0.038 213.6), rgb(48, 79, 86).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (41%)
Chromamuted (0.038)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.37:1
White text8.82:1

Values

HEX#304F56
RGBrgb(48, 79, 86)
HSLhsl(191, 28%, 26%)
OKLCHoklch(40.6% 0.038 213.6)

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 #304F56 8.82:1 AAA Lc -94.6 Preferred for body text
Black text on #304F56 2.37:1 Fails Lc 13.8 Not readable
#304F56 text on white 8.82:1 AAA Lc 90.1 Preferred for body text
#304F56 text on black 2.37:1 Fails Lc -12.1 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D0DBDE

    oklch(88.4% 0.013 215.8)

  4. Step 300

    300

    #B1C5C9

    oklch(81% 0.023 211.1)

  5. Step 400

    400

    #88A7AE

    oklch(70.7% 0.036 212.9)

  6. Step 500

    500

    #69919A

    oklch(63% 0.046 213.1)

  7. Step 600

    600

    #507B85

    oklch(55.5% 0.05 213.9)

  8. Step 700

    700

    #416871

    oklch(49.2% 0.046 213.9)

  9. Step 800

    800 (this color)

    #304F56

    oklch(40.6% 0.038 213.6)

  10. Step 900

    900

    #2F464B

    oklch(37.7% 0.03 212.7)

  11. Step 950

    950

    #1C292C

    oklch(27% 0.019 213.5)

Export this scale for Tailwind in the Tailwind colors tool

#304F56 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)#4A4D560.036
Deuteranopia (no green cones)#4348560.032
Tritanopia (no blue cones)#2052510.022
Achromatopsia (no color)#4A4A4A0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #304F56

    #304F56

    oklch(40.6% 0.038 213.6)

  • #5C423C

    #5C423C

    oklch(40.6% 0.038 33.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304F56

    #304F56

    oklch(40.6% 0.038 213.6)

  • #31504B

    #31504B

    oklch(40.5% 0.038 183.1)

  • #374C5D

    #374C5D

    oklch(40.6% 0.039 243.3)

Open the analogous palette in the generator

Split complementary

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

  • #304F56

    #304F56

    oklch(40.6% 0.038 213.6)

  • #5C4147

    #5C4147

    oklch(40.7% 0.039 4.2)

  • #584534

    #584534

    oklch(40.6% 0.038 63.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304F56

    #304F56

    oklch(40.6% 0.038 213.6)

  • #564252

    #564252

    oklch(40.6% 0.037 333.3)

  • #504931

    #504931

    oklch(40.6% 0.038 93.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304F56

    #304F56

    oklch(40.6% 0.038 213.6)

  • #4E445B

    #4E445B

    oklch(40.6% 0.04 304.5)

  • #5C423C

    #5C423C

    oklch(40.6% 0.038 33.4)

  • #454D36

    #454D36

    oklch(40.6% 0.038 123.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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