#315342

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.1% 0.049 161.4), rgb(49, 83, 66).

Aa

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

About this color

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

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

Values

HEX#315342
RGBrgb(49, 83, 66)
HSLhsl(150, 26%, 26%)
OKLCHoklch(41.1% 0.049 161.4)

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 #315342 8.58:1 AAA Lc -93.9 Preferred for body text
Black text on #315342 2.44:1 Fails Lc 14.6 Not readable
#315342 text on white 8.58:1 AAA Lc 89.4 Fine for body text
#315342 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

    #D0DDD6

    oklch(88.6% 0.017 162.7)

  4. Step 300

    300

    #B1C7BB

    oklch(81% 0.029 161.9)

  5. Step 400

    400

    #88AA98

    oklch(70.7% 0.046 161.9)

  6. Step 500

    500

    #69957E

    oklch(63.1% 0.059 161.3)

  7. Step 600

    600

    #507F67

    oklch(55.5% 0.064 161.1)

  8. Step 700

    700

    #406B56

    oklch(49% 0.059 161.9)

  9. Step 800

    800 (this color)

    #315342

    oklch(41.1% 0.049 161.4)

  10. Step 900

    900

    #2F483B

    oklch(37.7% 0.038 161.2)

  11. Step 950

    950

    #1C2A23

    oklch(27% 0.023 162.6)

Export this scale for Tailwind in the Tailwind colors tool

#315342 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)#524E410.048
Deuteranopia (no green cones)#4D4A430.047
Tritanopia (no blue cones)#29534E0.020
Achromatopsia (no color)#4C4C4C0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #315342

    #315342

    oklch(41.1% 0.049 161.4)

  • #5D4052

    #5D4052

    oklch(41% 0.049 341.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315342

    #315342

    oklch(41.1% 0.049 161.4)

  • #415034

    #415034

    oklch(41% 0.049 131.2)

  • #275351

    #275351

    oklch(41% 0.049 191.5)

Open the analogous palette in the generator

Split complementary

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

  • #315342

    #315342

    oklch(41.1% 0.049 161.4)

  • #53435E

    #53435E

    oklch(41% 0.049 311.2)

  • #623F44

    #623F44

    oklch(41% 0.049 10.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315342

    #315342

    oklch(41.1% 0.049 161.4)

  • #464765

    #464765

    oklch(41% 0.05 282.5)

  • #624235

    #624235

    oklch(41.2% 0.05 43)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315342

    #315342

    oklch(41.1% 0.049 161.4)

  • #364C65

    #364C65

    oklch(40.9% 0.05 252.2)

  • #5D4052

    #5D4052

    oklch(41% 0.049 341.7)

  • #5B462C

    #5B462C

    oklch(41% 0.049 71.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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