#304B56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.6% 0.038 225.5), rgb(48, 75, 86).

Aa

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

About this color

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

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

Values

HEX#304B56
RGBrgb(48, 75, 86)
HSLhsl(197, 28%, 26%)
OKLCHoklch(39.6% 0.038 225.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 #304B56 9.26:1 AAA Lc -95.7 Preferred for body text
Black text on #304B56 2.26:1 Fails Lc 12.6 Not readable
#304B56 text on white 9.26:1 AAA Lc 91.3 Preferred for body text
#304B56 text on black 2.26:1 Fails Lc -11.0 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

    #AEC5CF

    oklch(80.9% 0.029 225.8)

  5. Step 400

    400

    #83A7B6

    oklch(70.7% 0.045 225.3)

  6. Step 500

    500

    #6391A4

    oklch(63.1% 0.057 225.7)

  7. Step 600

    600

    #497B8F

    oklch(55.6% 0.062 225.7)

  8. Step 700

    700

    #3A687A

    oklch(49.2% 0.058 225.4)

  9. Step 800

    800

    #305563

    oklch(42.8% 0.048 224.4)

  10. Step 900

    900 (this color)

    #304B56

    oklch(39.6% 0.038 225.5)

  11. Step 950

    950

    #1A292F

    oklch(27% 0.023 224.8)

Export this scale for Tailwind in the Tailwind colors tool

#304B56 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)#454A570.030
Deuteranopia (no green cones)#3F45560.027
Tritanopia (no blue cones)#214E4E0.025
Achromatopsia (no color)#4747470.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #304B56

    #304B56

    oklch(39.6% 0.038 225.5)

  • #584036

    #584036

    oklch(39.5% 0.038 43.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304B56

    #304B56

    oklch(39.6% 0.038 225.5)

  • #2D4D4D

    #2D4D4D

    oklch(39.6% 0.038 195.7)

  • #39485B

    #39485B

    oklch(39.7% 0.038 254.6)

Open the analogous palette in the generator

Split complementary

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

  • #304B56

    #304B56

    oklch(39.6% 0.038 225.5)

  • #593E40

    #593E40

    oklch(39.5% 0.038 14)

  • #524430

    #524430

    oklch(39.6% 0.037 76.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304B56

    #304B56

    oklch(39.6% 0.038 225.5)

  • #563F4B

    #563F4B

    oklch(39.7% 0.037 346.3)

  • #494830

    #494830

    oklch(39.6% 0.038 106)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304B56

    #304B56

    oklch(39.6% 0.038 225.5)

  • #4E4155

    #4E4155

    oklch(39.7% 0.037 313.7)

  • #584036

    #584036

    oklch(39.5% 0.038 43.6)

  • #3E4B37

    #3E4B37

    oklch(39.5% 0.037 134.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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