#305145

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.5% 0.044 169), rgb(48, 81, 69).

Aa

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

About this color

#305145 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.044 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.020 away. White text reads best on it, at 8.79:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.044)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.38:1
White text8.79:1

Values

HEX#305145
RGBrgb(48, 81, 69)
HSLhsl(158, 26%, 25%)
OKLCHoklch(40.5% 0.044 169)

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 #305145 8.79:1 AAA Lc -94.5 Preferred for body text
Black text on #305145 2.38:1 Fails Lc 14.0 Not readable
#305145 text on white 8.79:1 AAA Lc 90.0 Preferred for body text
#305145 text on black 2.38:1 Fails Lc -12.2 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBE9

    oklch(93.5% 0.007 174.4)

  3. Step 200

    200

    #D1DCD7

    oklch(88.5% 0.014 167.1)

  4. Step 300

    300

    #B1C6BE

    oklch(80.8% 0.025 170.8)

  5. Step 400

    400

    #88A99C

    oklch(70.6% 0.041 169.2)

  6. Step 500

    500

    #6A9484

    oklch(63.1% 0.052 169.1)

  7. Step 600

    600

    #507E6D

    oklch(55.5% 0.057 168.9)

  8. Step 700

    700

    #416B5B

    oklch(49.2% 0.054 168)

  9. Step 800

    800 (this color)

    #305145

    oklch(40.5% 0.044 169)

  10. Step 900

    900

    #2F483E

    oklch(37.8% 0.035 167.6)

  11. Step 950

    950

    #1C2A25

    oklch(27% 0.021 170.6)

Export this scale for Tailwind in the Tailwind colors tool

#305145 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)#4F4D440.044
Deuteranopia (no green cones)#4A49460.043
Tritanopia (no blue cones)#27514D0.015
Achromatopsia (no color)#4B4B4B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #305145

    #305145

    oklch(40.5% 0.044 169)

  • #5C3F4D

    #5C3F4D

    oklch(40.5% 0.046 348.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305145

    #305145

    oklch(40.5% 0.044 169)

  • #3D4F38

    #3D4F38

    oklch(40.5% 0.044 138.9)

  • #2A5152

    #2A5152

    oklch(40.7% 0.044 197.7)

Open the analogous palette in the generator

Split complementary

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

  • #305145

    #305145

    oklch(40.5% 0.044 169)

  • #544258

    #544258

    oklch(40.7% 0.043 320.1)

  • #5F4040

    #5F4040

    oklch(40.7% 0.044 19.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305145

    #305145

    oklch(40.5% 0.044 169)

  • #484560

    #484560

    oklch(40.5% 0.045 289.3)

  • #5D4234

    #5D4234

    oklch(40.5% 0.044 48.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305145

    #305145

    oklch(40.5% 0.044 169)

  • #3B4A61

    #3B4A61

    oklch(40.6% 0.043 258.8)

  • #5C3F4D

    #5C3F4D

    oklch(40.5% 0.046 348.8)

  • #56462D

    #56462D

    oklch(40.4% 0.044 78.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305145 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.