#31504F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.037 193.2), rgb(49, 80, 79).

Aa

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

About this color

#31504F is a dark, muted teal or cyan. In OKLCH its lightness is 41%, its chroma 0.037 and its hue 193°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.004 away. White text reads best on it, at 8.78:1.

Hue familyTeals and cyans
Lightnessdark (41%)
Chromamuted (0.037)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.39:1
White text8.78:1

Values

HEX#31504F
RGBrgb(49, 80, 79)
HSLhsl(178, 24%, 25%)
OKLCHoklch(40.7% 0.037 193.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 #31504F 8.78:1 AAA Lc -94.5 Preferred for body text
Black text on #31504F 2.39:1 Fails Lc 14.0 Not readable
#31504F text on white 8.78:1 AAA Lc 90.0 Preferred for body text
#31504F text on black 2.39:1 Fails Lc -12.3 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 800.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEB

    oklch(93.6% 0.006 197)

  3. Step 200

    200

    #D1DCDB

    oklch(88.6% 0.012 190.4)

  4. Step 300

    300

    #B2C5C4

    oklch(80.9% 0.021 192.9)

  5. Step 400

    400

    #89A8A6

    oklch(70.8% 0.034 191.6)

  6. Step 500

    500

    #6A9291

    oklch(63% 0.044 194.2)

  7. Step 600

    600

    #517C7B

    oklch(55.5% 0.048 194)

  8. Step 700

    700

    #426968

    oklch(49.2% 0.044 193.7)

  9. Step 800

    800 (this color)

    #31504F

    oklch(40.7% 0.037 193.2)

  10. Step 900

    900

    #2F4746

    oklch(37.8% 0.03 192.7)

  11. Step 950

    950

    #1C2929

    oklch(26.9% 0.018 196.1)

Export this scale for Tailwind in the Tailwind colors tool

#31504F 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)#4C4D4F0.038
Deuteranopia (no green cones)#47494F0.036
Tritanopia (no blue cones)#2552500.013
Achromatopsia (no color)#4B4B4B0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #31504F

    #31504F

    oklch(40.7% 0.037 193.2)

  • #5C4144

    #5C4144

    oklch(40.6% 0.038 11.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31504F

    #31504F

    oklch(40.7% 0.037 193.2)

  • #375044

    #375044

    oklch(40.7% 0.037 163.5)

  • #334E58

    #334E58

    oklch(40.6% 0.037 223.2)

Open the analogous palette in the generator

Split complementary

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

  • #31504F

    #31504F

    oklch(40.7% 0.037 193.2)

  • #58424F

    #58424F

    oklch(40.7% 0.036 342.6)

  • #5B433A

    #5B433A

    oklch(40.6% 0.037 41.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31504F

    #31504F

    oklch(40.7% 0.037 193.2)

  • #514458

    #514458

    oklch(40.8% 0.037 313.7)

  • #564733

    #564733

    oklch(40.8% 0.037 74.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31504F

    #31504F

    oklch(40.7% 0.037 193.2)

  • #46475D

    #46475D

    oklch(40.6% 0.037 282.6)

  • #5C4144

    #5C4144

    oklch(40.6% 0.038 11.5)

  • #4D4B33

    #4D4B33

    oklch(40.8% 0.038 103.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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