#314C42

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.1% 0.037 169.2), rgb(49, 76, 66).

Aa

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

About this color

#314C42 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.037 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.021 away. White text reads best on it, at 9.36:1.

Hue familyGreens
Lightnessdark (39%)
Chromamuted (0.037)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.24:1
White text9.36:1

Values

HEX#314C42
RGBrgb(49, 76, 66)
HSLhsl(158, 22%, 25%)
OKLCHoklch(39.1% 0.037 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 #314C42 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #314C42 2.24:1 Fails Lc 12.4 Not readable
#314C42 text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#314C42 text on black 2.24:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECE9

    oklch(93.7% 0.008 168.7)

  3. Step 200

    200

    #D0DDD7

    oklch(88.6% 0.016 166.7)

  4. Step 300

    300

    #B0C7BD

    oklch(80.9% 0.029 167.6)

  5. Step 400

    400

    #86AA9C

    oklch(70.7% 0.044 169.3)

  6. Step 500

    500

    #679584

    oklch(63.2% 0.056 169.5)

  7. Step 600

    600

    #4D7F6D

    oklch(55.5% 0.061 169.2)

  8. Step 700

    700

    #3E6B5B

    oklch(49% 0.057 169.2)

  9. Step 800

    800

    #33584B

    oklch(42.8% 0.048 169.6)

  10. Step 900

    900 (this color)

    #314C42

    oklch(39.1% 0.037 169.2)

  11. Step 950

    950

    #1B2A24

    oklch(26.9% 0.023 167.9)

Export this scale for Tailwind in the Tailwind colors tool

#314C42 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)#4B49420.038
Deuteranopia (no green cones)#4645430.037
Tritanopia (no blue cones)#2A4C490.013
Achromatopsia (no color)#4747470.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #314C42

    #314C42

    oklch(39.1% 0.037 169.2)

  • #553D48

    #553D48

    oklch(39.1% 0.038 349.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314C42

    #314C42

    oklch(39.1% 0.037 169.2)

  • #3B4A37

    #3B4A37

    oklch(39% 0.037 139.1)

  • #2C4C4D

    #2C4C4D

    oklch(39.2% 0.038 198.3)

Open the analogous palette in the generator

Split complementary

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

  • #314C42

    #314C42

    oklch(39.1% 0.037 169.2)

  • #4E3F52

    #4E3F52

    oklch(39.1% 0.037 319.1)

  • #583E3D

    #583E3D

    oklch(39.3% 0.037 21.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314C42

    #314C42

    oklch(39.1% 0.037 169.2)

  • #454258

    #454258

    oklch(39.1% 0.037 290.8)

  • #564034

    #564034

    oklch(39.2% 0.037 49.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314C42

    #314C42

    oklch(39.1% 0.037 169.2)

  • #3A465A

    #3A465A

    oklch(39.2% 0.038 260.5)

  • #553D48

    #553D48

    oklch(39.1% 0.038 349.8)

  • #50432F

    #50432F

    oklch(39.1% 0.036 78.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #314C42 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.