#304E56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.4% 0.038 216.5), rgb(48, 78, 86).

Aa

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

About this color

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

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

Values

HEX#304E56
RGBrgb(48, 78, 86)
HSLhsl(193, 28%, 26%)
OKLCHoklch(40.4% 0.038 216.5)

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 #304E56 8.93:1 AAA Lc -94.9 Preferred for body text
Black text on #304E56 2.34:1 Fails Lc 13.5 Not readable
#304E56 text on white 8.93:1 AAA Lc 90.4 Preferred for body text
#304E56 text on black 2.34:1 Fails Lc -11.9 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

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #D1DBDE

    oklch(88.5% 0.012 217.6)

  4. Step 300

    300

    #B1C5CA

    oklch(81% 0.023 214.4)

  5. Step 400

    400

    #88A7AF

    oklch(70.8% 0.036 215.2)

  6. Step 500

    500

    #6A919B

    oklch(63.1% 0.045 215.3)

  7. Step 600

    600

    #517B86

    oklch(55.6% 0.049 216)

  8. Step 700

    700

    #416772

    oklch(49% 0.046 218.1)

  9. Step 800

    800 (this color)

    #304E56

    oklch(40.4% 0.038 216.5)

  10. Step 900

    900

    #2F464C

    oklch(37.8% 0.03 215.8)

  11. Step 950

    950

    #1C292C

    oklch(27% 0.019 213.5)

Export this scale for Tailwind in the Tailwind colors tool

#304E56 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)#484C560.033
Deuteranopia (no green cones)#4248560.029
Tritanopia (no blue cones)#2051500.023
Achromatopsia (no color)#4949490.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #304E56

    #304E56

    oklch(40.4% 0.038 216.5)

  • #5B423A

    #5B423A

    oklch(40.4% 0.037 38.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304E56

    #304E56

    oklch(40.4% 0.038 216.5)

  • #30504C

    #30504C

    oklch(40.5% 0.038 185.8)

  • #384B5C

    #384B5C

    oklch(40.4% 0.037 245.9)

Open the analogous palette in the generator

Split complementary

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

  • #304E56

    #304E56

    oklch(40.4% 0.038 216.5)

  • #5B4045

    #5B4045

    oklch(40.3% 0.038 6.7)

  • #574533

    #574533

    oklch(40.4% 0.038 66.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304E56

    #304E56

    oklch(40.4% 0.038 216.5)

  • #564150

    #564150

    oklch(40.3% 0.037 336.9)

  • #4F4931

    #4F4931

    oklch(40.5% 0.038 95.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304E56

    #304E56

    oklch(40.4% 0.038 216.5)

  • #4E4359

    #4E4359

    oklch(40.3% 0.039 307.4)

  • #5B423A

    #5B423A

    oklch(40.4% 0.037 38.5)

  • #434D36

    #434D36

    oklch(40.4% 0.039 127.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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