#31796F

Closest named color: Bluegreen (#017A79). oklch(52.8% 0.073 182.9), rgb(49, 121, 111).

Aa

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

About this color

#31796F is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.073 and its hue 183°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.022 away. White text reads best on it, at 5.12:1.

Hue familyTeals and cyans
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameBluegreen (#017A79)
Black text4.09:1
White text5.12:1

Values

HEX#31796F
RGBrgb(49, 121, 111)
HSLhsl(172, 42%, 33%)
OKLCHoklch(52.8% 0.073 182.9)

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 #31796F 5.12:1 AA Lc -80.5 Fine for body text
Black text on #31796F 4.09:1 AA large text Lc 28.9 Dividers and decoration only
#31796F text on white 5.12:1 AA Lc 75.1 Fine for body text
#31796F text on black 4.09:1 AA large text Lc -26.6 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CDDDDA

    oklch(88.5% 0.018 183.5)

  4. Step 300

    300

    #AAC8C2

    oklch(80.9% 0.033 182)

  5. Step 400

    400

    #7CACA3

    oklch(70.8% 0.053 181.8)

  6. Step 500

    500

    #58978D

    oklch(63.1% 0.067 182.8)

  7. Step 600

    600 (this color)

    #31796F

    oklch(52.8% 0.073 182.9)

  8. Step 700

    700

    #2C6D64

    oklch(49% 0.068 183)

  9. Step 800

    800

    #265952

    oklch(42.7% 0.056 183.5)

  10. Step 900

    900

    #244944

    oklch(37.6% 0.044 184.3)

  11. Step 950

    950

    #162B28

    oklch(27% 0.028 184.2)

Export this scale for Tailwind in the Tailwind colors tool

#31796F 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)#74726F0.079
Deuteranopia (no green cones)#686A700.074
Tritanopia (no blue cones)#007B760.020
Achromatopsia (no color)#6E6E6E0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #31796F

    #31796F

    oklch(52.8% 0.073 182.9)

  • #8F5967

    #8F5967

    oklch(52.8% 0.073 3.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31796F

    #31796F

    oklch(52.8% 0.073 182.9)

  • #487857

    #487857

    oklch(52.9% 0.074 153.2)

  • #2F7684

    #2F7684

    oklch(52.7% 0.073 212.8)

Open the analogous palette in the generator

Split complementary

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

  • #31796F

    #31796F

    oklch(52.8% 0.073 182.9)

  • #855B7D

    #855B7D

    oklch(52.8% 0.073 333.5)

  • #915B4F

    #915B4F

    oklch(52.8% 0.074 33.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31796F

    #31796F

    oklch(52.8% 0.073 182.9)

  • #74618E

    #74618E

    oklch(52.9% 0.072 303.4)

  • #89623D

    #89623D

    oklch(52.8% 0.073 63.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31796F

    #31796F

    oklch(52.8% 0.073 182.9)

  • #5D6896

    #5D6896

    oklch(52.7% 0.074 273.3)

  • #8F5967

    #8F5967

    oklch(52.8% 0.073 3.1)

  • #7A6A36

    #7A6A36

    oklch(52.8% 0.074 92.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31796F 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.