#314B40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(38.8% 0.037 166.2), rgb(49, 75, 64).

Aa

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

About this color

#314B40 is a dark, muted green. In OKLCH its lightness is 39%, its chroma 0.037 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.024 away. White text reads best on it, at 9.49:1.

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

Values

HEX#314B40
RGBrgb(49, 75, 64)
HSLhsl(155, 21%, 24%)
OKLCHoklch(38.8% 0.037 166.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 #314B40 9.49:1 AAA Lc -96.2 Preferred for body text
Black text on #314B40 2.21:1 Fails Lc 12.0 Not readable
#314B40 text on white 9.49:1 AAA Lc 91.9 Preferred for body text
#314B40 text on black 2.21:1 Fails Lc -10.5 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

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #D0DDD7

    oklch(88.6% 0.016 166.7)

  4. Step 300

    300

    #B1C7BC

    oklch(81% 0.028 164.2)

  5. Step 400

    400

    #87AA9A

    oklch(70.7% 0.045 165.5)

  6. Step 500

    500

    #689582

    oklch(63.2% 0.057 166.5)

  7. Step 600

    600

    #4F7F6B

    oklch(55.6% 0.061 166)

  8. Step 700

    700

    #3F6B59

    oklch(49% 0.057 166.1)

  9. Step 800

    800

    #345749

    oklch(42.5% 0.047 166.9)

  10. Step 900

    900 (this color)

    #314B40

    oklch(38.8% 0.037 166.2)

  11. Step 950

    950

    #1B2A24

    oklch(26.9% 0.023 167.9)

Export this scale for Tailwind in the Tailwind colors tool

#314B40 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)#4A483F0.037
Deuteranopia (no green cones)#4544410.036
Tritanopia (no blue cones)#2B4B480.014
Achromatopsia (no color)#4646460.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #314B40

    #314B40

    oklch(38.8% 0.037 166.2)

  • #533D49

    #533D49

    oklch(38.8% 0.036 345)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #314B40

    #314B40

    oklch(38.8% 0.037 166.2)

  • #3C4935

    #3C4935

    oklch(38.8% 0.037 134.8)

  • #2C4B4B

    #2C4B4B

    oklch(38.9% 0.037 195.7)

Open the analogous palette in the generator

Split complementary

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

  • #314B40

    #314B40

    oklch(38.8% 0.037 166.2)

  • #4C3F52

    #4C3F52

    oklch(38.9% 0.036 315.1)

  • #573D3E

    #573D3E

    oklch(39% 0.037 16.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #314B40

    #314B40

    oklch(38.8% 0.037 166.2)

  • #434258

    #434258

    oklch(38.9% 0.037 286.6)

  • #563F34

    #563F34

    oklch(39% 0.037 46.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #314B40

    #314B40

    oklch(38.8% 0.037 166.2)

  • #384558

    #384558

    oklch(38.7% 0.037 257.8)

  • #533D49

    #533D49

    oklch(38.8% 0.036 345)

  • #50422E

    #50422E

    oklch(38.8% 0.037 76.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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