#315147

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.042 172.4), rgb(49, 81, 71).

Aa

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

About this color

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

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

Values

HEX#315147
RGBrgb(49, 81, 71)
HSLhsl(161, 25%, 25%)
OKLCHoklch(40.7% 0.042 172.4)

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 #315147 8.75:1 AAA Lc -94.4 Preferred for body text
Black text on #315147 2.39:1 Fails Lc 14.1 Not readable
#315147 text on white 8.75:1 AAA Lc 89.9 Fine for body text
#315147 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5EBE9

    oklch(93.5% 0.007 174.4)

  3. Step 200

    200

    #D1DCD8

    oklch(88.5% 0.013 172.3)

  4. Step 300

    300

    #B2C6BF

    oklch(80.9% 0.024 172.7)

  5. Step 400

    400

    #89A99E

    oklch(70.8% 0.039 172.3)

  6. Step 500

    500

    #6A9486

    oklch(63.2% 0.051 172)

  7. Step 600

    600

    #517E70

    oklch(55.6% 0.054 172.7)

  8. Step 700

    700

    #426A5E

    oklch(49.1% 0.049 173.2)

  9. Step 800

    800 (this color)

    #315147

    oklch(40.7% 0.042 172.4)

  10. Step 900

    900

    #304740

    oklch(37.6% 0.031 173.7)

  11. Step 950

    950

    #1C2A25

    oklch(27% 0.021 170.6)

Export this scale for Tailwind in the Tailwind colors tool

#315147 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)#4F4D470.043
Deuteranopia (no green cones)#4A49480.042
Tritanopia (no blue cones)#28524E0.013
Achromatopsia (no color)#4B4B4B0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #315147

    #315147

    oklch(40.7% 0.042 172.4)

  • #5C404C

    #5C404C

    oklch(40.7% 0.043 351.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315147

    #315147

    oklch(40.7% 0.042 172.4)

  • #3D4F3B

    #3D4F3B

    oklch(40.6% 0.04 142.2)

  • #2C5053

    #2C5053

    oklch(40.6% 0.042 202.5)

Open the analogous palette in the generator

Split complementary

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

  • #315147

    #315147

    oklch(40.7% 0.042 172.4)

  • #544257

    #544257

    oklch(40.6% 0.042 321.5)

  • #5E413F

    #5E413F

    oklch(40.7% 0.041 23.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315147

    #315147

    oklch(40.7% 0.042 172.4)

  • #4A465E

    #4A465E

    oklch(40.8% 0.04 292.2)

  • #5C4334

    #5C4334

    oklch(40.6% 0.042 52.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315147

    #315147

    oklch(40.7% 0.042 172.4)

  • #3D4A60

    #3D4A60

    oklch(40.7% 0.041 260.8)

  • #5C404C

    #5C404C

    oklch(40.7% 0.043 351.8)

  • #55482F

    #55482F

    oklch(40.8% 0.042 83.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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