#314940

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.3% 0.033 169.2), rgb(49, 73, 64).

Aa

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

About this color

#314940 is a dark, muted green. In OKLCH its lightness is 38%, its chroma 0.033 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.026 away. White text reads best on it, at 9.73:1.

Hue familyGreens
Lightnessdark (38%)
Chromamuted (0.033)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.15:1
White text9.73:1

Values

HEX#314940
RGBrgb(49, 73, 64)
HSLhsl(158, 20%, 24%)
OKLCHoklch(38.3% 0.033 169.2)

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 #314940 9.73:1 AAA Lc -96.7 Preferred for body text
Black text on #314940 2.15:1 Fails Lc 11.4 Not readable
#314940 text on white 9.73:1 AAA Lc 92.5 Preferred for body text
#314940 text on black 2.15:1 Fails Lc -9.9 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

    #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

    #B2C6BE

    oklch(80.9% 0.024 169.7)

  5. Step 400

    400

    #89A99C

    oklch(70.7% 0.04 168.5)

  6. Step 500

    500

    #6B9484

    oklch(63.2% 0.051 168.6)

  7. Step 600

    600

    #517E6E

    oklch(55.5% 0.056 169.8)

  8. Step 700

    700

    #426A5C

    oklch(49% 0.051 170)

  9. Step 800

    800

    #37574B

    oklch(42.8% 0.043 168.7)

  10. Step 900

    900 (this color)

    #314940

    oklch(38.3% 0.033 169.2)

  11. Step 950

    950

    #1C2A25

    oklch(27% 0.021 170.6)

Export this scale for Tailwind in the Tailwind colors tool

#314940 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)#4846400.035
Deuteranopia (no green cones)#4343410.032
Tritanopia (no blue cones)#2B49460.012
Achromatopsia (no color)#4444440.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #314940

    #314940

    oklch(38.3% 0.033 169.2)

  • #513C46

    #513C46

    oklch(38.3% 0.033 348.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314940

    #314940

    oklch(38.3% 0.033 169.2)

  • #3A4836

    #3A4836

    oklch(38.4% 0.035 138.8)

  • #2D494A

    #2D494A

    oklch(38.4% 0.034 198.7)

Open the analogous palette in the generator

Split complementary

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

  • #314940

    #314940

    oklch(38.3% 0.033 169.2)

  • #4B3D4F

    #4B3D4F

    oklch(38.2% 0.035 318.6)

  • #543C3C

    #543C3C

    oklch(38.3% 0.034 18.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314940

    #314940

    oklch(38.3% 0.033 169.2)

  • #424054

    #424054

    oklch(38.2% 0.034 289.3)

  • #523E33

    #523E33

    oklch(38.2% 0.034 50.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314940

    #314940

    oklch(38.3% 0.033 169.2)

  • #384455

    #384455

    oklch(38.3% 0.033 257.1)

  • #513C46

    #513C46

    oklch(38.3% 0.033 348.6)

  • #4D412F

    #4D412F

    oklch(38.3% 0.033 77.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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