#31786E
Closest named color: Bluegreen (#017A79). oklch(52.5% 0.073 182.8), rgb(49, 120, 110).
Aa
White text reads best on this color (5.19:1).
About this color
#31786E is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 52%, 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.023 away. White text reads best on it, at 5.19:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Bluegreen (#017A79) |
| Black text | 4.04:1 |
| White text | 5.19:1 |
Values
| HEX | #31786E |
| RGB | rgb(49, 120, 110) |
| HSL | hsl(172, 42%, 33%) |
| OKLCH | oklch(52.5% 0.073 182.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #31786E | 5.19:1 | AA | Lc -80.9 | Fine for body text |
| Black text on #31786E | 4.04:1 | AA large text | Lc 28.5 | Dividers and decoration only |
| #31786E text on white | 5.19:1 | AA | Lc 75.5 | Fine for body text |
| #31786E text on black | 4.04:1 | AA large text | Lc -26.2 | 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.
-
Step 50
50
#F2F6F6
oklch(97% 0.004 197.1)
-
Step 100
100
#E3ECEA
oklch(93.6% 0.01 181.4)
-
Step 200
200
#CDDDDA
oklch(88.5% 0.018 183.5)
-
Step 300
300
#AAC8C2
oklch(80.9% 0.033 182)
-
Step 400
400
#7CACA3
oklch(70.8% 0.053 181.8)
-
Step 500
500
#58978D
oklch(63.1% 0.067 182.8)
-
Step 600
600 (this color)
#31786E
oklch(52.5% 0.073 182.8)
-
Step 700
700
#2C6D64
oklch(49% 0.068 183)
-
Step 800
800
#265952
oklch(42.7% 0.056 183.5)
-
Step 900
900
#254944
oklch(37.7% 0.043 184.1)
-
Step 950
950
#162B28
oklch(27% 0.028 184.2)
#31786E 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #73716E | 0.078 |
| Deuteranopia (no green cones) | #68696F | 0.074 |
| Tritanopia (no blue cones) | #007A75 | 0.020 |
| Achromatopsia (no color) | #6D6D6D | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31786E
#31786E
oklch(52.5% 0.073 182.8)
- #8E5866
#8E5866
oklch(52.5% 0.073 3.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #31786E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluegreen #017A79 ΔE 0.023
- Dark Aquamarine #017371 ΔE 0.029
- Deep Aqua #08787F ΔE 0.030
- Deep Turquoise #017374 ΔE 0.031
- Teal #008080 ΔE 0.032
- Dark Aqua #05696B ΔE 0.056
- Ocean #017B92 ΔE 0.056
- Dark Cyan #008B8B ΔE 0.060
Use #31786E 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.