#315151

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41% 0.038 195.8), rgb(49, 81, 81).

Aa

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

About this color

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

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

Values

HEX#315151
RGBrgb(49, 81, 81)
HSLhsl(180, 25%, 25%)
OKLCHoklch(41% 0.038 195.8)

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 #315151 8.65:1 AAA Lc -94.1 Preferred for body text
Black text on #315151 2.42:1 Fails Lc 14.3 Not readable
#315151 text on white 8.65:1 AAA Lc 89.6 Fine for body text
#315151 text on black 2.42:1 Fails Lc -12.6 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

    #D0DCDC

    oklch(88.5% 0.013 196.9)

  4. Step 300

    300

    #B1C5C5

    oklch(80.8% 0.022 196.7)

  5. Step 400

    400

    #88A8A8

    oklch(70.8% 0.035 196.4)

  6. Step 500

    500

    #699292

    oklch(63% 0.045 196.1)

  7. Step 600

    600

    #507D7D

    oklch(55.7% 0.049 195.8)

  8. Step 700

    700

    #406969

    oklch(49.1% 0.046 195.8)

  9. Step 800

    800 (this color)

    #315151

    oklch(41% 0.038 195.8)

  10. Step 900

    900

    #2F4747

    oklch(37.8% 0.03 196)

  11. Step 950

    950

    #1C2929

    oklch(26.9% 0.018 196.1)

Export this scale for Tailwind in the Tailwind colors tool

#315151 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)#4D4E510.039
Deuteranopia (no green cones)#474A510.036
Tritanopia (no blue cones)#2453510.014
Achromatopsia (no color)#4C4C4C0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #315151

    #315151

    oklch(41% 0.038 195.8)

  • #5D4243

    #5D4243

    oklch(40.9% 0.038 16.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315151

    #315151

    oklch(41% 0.038 195.8)

  • #375146

    #375146

    oklch(41% 0.037 166.5)

  • #344F5A

    #344F5A

    oklch(41.1% 0.037 225.4)

Open the analogous palette in the generator

Split complementary

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

  • #315151

    #315151

    oklch(41% 0.038 195.8)

  • #5A424F

    #5A424F

    oklch(41% 0.039 345.2)

  • #5C4439

    #5C4439

    oklch(41% 0.038 45.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315151

    #315151

    oklch(41% 0.038 195.8)

  • #534459

    #534459

    oklch(41% 0.039 316.2)

  • #564833

    #564833

    oklch(41% 0.038 77.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315151

    #315151

    oklch(41% 0.038 195.8)

  • #48485E

    #48485E

    oklch(41.1% 0.037 284.7)

  • #5D4243

    #5D4243

    oklch(40.9% 0.038 16.4)

  • #4D4C34

    #4D4C34

    oklch(41.1% 0.038 105.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315151 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.