#304C56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.8% 0.038 222.5), rgb(48, 76, 86).

Aa

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

About this color

#304C56 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.038 and its hue 222°. 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.15:1.

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

Values

HEX#304C56
RGBrgb(48, 76, 86)
HSLhsl(196, 28%, 26%)
OKLCHoklch(39.8% 0.038 222.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 #304C56 9.15:1 AAA Lc -95.4 Preferred for body text
Black text on #304C56 2.29:1 Fails Lc 12.9 Not readable
#304C56 text on white 9.15:1 AAA Lc 91.0 Preferred for body text
#304C56 text on black 2.29:1 Fails Lc -11.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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CFDCE1

    oklch(88.6% 0.016 222.7)

  4. Step 300

    300

    #AEC5CE

    oklch(80.9% 0.028 223.3)

  5. Step 400

    400

    #82A7B5

    oklch(70.6% 0.045 223)

  6. Step 500

    500

    #6292A3

    oklch(63.2% 0.058 222.2)

  7. Step 600

    600

    #477C8E

    oklch(55.7% 0.063 222)

  8. Step 700

    700

    #386879

    oklch(49% 0.059 223.2)

  9. Step 800

    800

    #2F5562

    oklch(42.7% 0.048 222.1)

  10. Step 900

    900 (this color)

    #304C56

    oklch(39.8% 0.038 222.5)

  11. Step 950

    950

    #19292F

    oklch(26.9% 0.024 223.4)

Export this scale for Tailwind in the Tailwind colors tool

#304C56 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)#464B570.031
Deuteranopia (no green cones)#4046560.028
Tritanopia (no blue cones)#214F4F0.024
Achromatopsia (no color)#4848480.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #304C56

    #304C56

    oklch(39.8% 0.038 222.5)

  • #594137

    #594137

    oklch(39.9% 0.037 43.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304C56

    #304C56

    oklch(39.8% 0.038 222.5)

  • #2E4E4D

    #2E4E4D

    oklch(39.9% 0.038 193.2)

  • #39495B

    #39495B

    oklch(39.9% 0.037 251.7)

Open the analogous palette in the generator

Split complementary

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

  • #304C56

    #304C56

    oklch(39.8% 0.038 222.5)

  • #5A3F42

    #5A3F42

    oklch(39.9% 0.038 11.6)

  • #544431

    #544431

    oklch(39.8% 0.037 71.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304C56

    #304C56

    oklch(39.8% 0.038 222.5)

  • #563F4D

    #563F4D

    oklch(39.8% 0.039 341.9)

  • #4B4830

    #4B4830

    oklch(39.8% 0.038 101.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304C56

    #304C56

    oklch(39.8% 0.038 222.5)

  • #4E4256

    #4E4256

    oklch(39.9% 0.036 311.7)

  • #594137

    #594137

    oklch(39.9% 0.037 43.6)

  • #404C37

    #404C37

    oklch(39.9% 0.037 132.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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