#31887E

Closest named color: Dark Cyan (#008B8B). oklch(57.2% 0.084 184.6), rgb(49, 136, 126).

Aa

Black text reads best on this color (4.95:1).

About this color

#31887E is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 57%, its chroma 0.084 and its hue 185°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.022 away. Black text reads best on it, at 4.95:1.

Hue familyTeals and cyans
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDark Cyan (#008B8B)
Black text4.95:1
White text4.23:1

Values

HEX#31887E
RGBrgb(49, 136, 126)
HSLhsl(173, 47%, 36%)
OKLCHoklch(57.2% 0.084 184.6)

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 #31887E 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #31887E 4.95:1 AA Lc 35.1 Non-text elements, placeholder text
#31887E text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#31887E text on black 4.95:1 AA Lc -32.6 Non-text elements, placeholder text

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

    #F2F7F6

    oklch(97.2% 0.005 183)

  2. Step 100

    100

    #E2ECEB

    oklch(93.5% 0.011 189.8)

  3. Step 200

    200

    #CBDEDB

    oklch(88.6% 0.021 185.4)

  4. Step 300

    300

    #A6C9C3

    oklch(80.9% 0.038 183.8)

  5. Step 400

    400

    #75ADA5

    oklch(70.6% 0.06 184.8)

  6. Step 500

    500

    #4D998F

    oklch(63.1% 0.077 184.3)

  7. Step 600

    600 (this color)

    #31887E

    oklch(57.2% 0.084 184.6)

  8. Step 700

    700

    #1C6F66

    oklch(49.1% 0.078 184.4)

  9. Step 800

    800

    #1B5A53

    oklch(42.6% 0.064 184.7)

  10. Step 900

    900

    #1D4A45

    oklch(37.6% 0.05 185.5)

  11. Step 950

    950

    #132C28

    oklch(27.2% 0.032 182.2)

Export this scale for Tailwind in the Tailwind colors tool

#31887E 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)#81817E0.088
Deuteranopia (no green cones)#74777F0.084
Tritanopia (no blue cones)#008B850.018
Achromatopsia (no color)#7B7B7B0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #31887E

    #31887E

    oklch(57.2% 0.084 184.6)

  • #A26372

    #A26372

    oklch(57.3% 0.083 4.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31887E

    #31887E

    oklch(57.2% 0.084 184.6)

  • #4D8762

    #4D8762

    oklch(57.3% 0.084 154.8)

  • #308496

    #308496

    oklch(57.1% 0.083 214.6)

Open the analogous palette in the generator

Split complementary

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

  • #31887E

    #31887E

    oklch(57.2% 0.084 184.6)

  • #97658C

    #97658C

    oklch(57.3% 0.084 334.9)

  • #A36656

    #A36656

    oklch(57.3% 0.083 35.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31887E

    #31887E

    oklch(57.2% 0.084 184.6)

  • #836BA0

    #836BA0

    oklch(57.1% 0.084 304.6)

  • #9A6D41

    #9A6D41

    oklch(57.1% 0.083 64.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31887E

    #31887E

    oklch(57.2% 0.084 184.6)

  • #6974AA

    #6974AA

    oklch(57.2% 0.084 274.6)

  • #A26372

    #A26372

    oklch(57.3% 0.083 4.6)

  • #88773A

    #88773A

    oklch(57.2% 0.083 94)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31887E 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.