#315340

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.051 158.6), rgb(49, 83, 64).

Aa

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

About this color

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

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

Values

HEX#315340
RGBrgb(49, 83, 64)
HSLhsl(146, 26%, 26%)
OKLCHoklch(41% 0.051 158.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 #315340 8.59:1 AAA Lc -94.0 Preferred for body text
Black text on #315340 2.44:1 Fails Lc 14.5 Not readable
#315340 text on white 8.59:1 AAA Lc 89.5 Fine for body text
#315340 text on black 2.44:1 Fails Lc -12.8 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D0DDD5

    oklch(88.5% 0.018 159.1)

  4. Step 300

    300

    #B1C7B9

    oklch(80.9% 0.031 157.7)

  5. Step 400

    400

    #88AA96

    oklch(70.7% 0.047 159.1)

  6. Step 500

    500

    #69957C

    oklch(63% 0.061 159.1)

  7. Step 600

    600

    #507F65

    oklch(55.5% 0.066 159.1)

  8. Step 700

    700

    #416C54

    oklch(49.2% 0.062 158.6)

  9. Step 800

    800 (this color)

    #315340

    oklch(41% 0.051 158.6)

  10. Step 900

    900

    #2F483A

    oklch(37.7% 0.039 159.3)

  11. Step 950

    950

    #1C2A22

    oklch(26.9% 0.024 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#315340 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)#524E3F0.048
Deuteranopia (no green cones)#4D4A410.047
Tritanopia (no blue cones)#2A534E0.023
Achromatopsia (no color)#4C4C4C0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #315340

    #315340

    oklch(41% 0.051 158.6)

  • #5D3F54

    #5D3F54

    oklch(40.9% 0.052 338.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315340

    #315340

    oklch(41% 0.051 158.6)

  • #425032

    #425032

    oklch(41% 0.051 128.8)

  • #255350

    #255350

    oklch(40.9% 0.051 189.7)

Open the analogous palette in the generator

Split complementary

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

  • #315340

    #315340

    oklch(41% 0.051 158.6)

  • #524360

    #524360

    oklch(41% 0.051 307.8)

  • #633F45

    #633F45

    oklch(41.1% 0.051 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315340

    #315340

    oklch(41% 0.051 158.6)

  • #444866

    #444866

    oklch(41.1% 0.05 278.1)

  • #634136

    #634136

    oklch(41.1% 0.051 38.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315340

    #315340

    oklch(41% 0.051 158.6)

  • #344D65

    #344D65

    oklch(41.1% 0.051 248.2)

  • #5D3F54

    #5D3F54

    oklch(40.9% 0.052 338.1)

  • #5D452B

    #5D452B

    oklch(41% 0.051 67.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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