#31796B
Closest named color: Bluegreen (#017A79). oklch(52.6% 0.075 178.4), rgb(49, 121, 107).
Aa
White text reads best on this color (5.14:1).
About this color
#31796B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.075 and its hue 178°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.026 away. White text reads best on it, at 5.14:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.075) |
| Temperature | cool |
| Nearest name | Bluegreen (#017A79) |
| Black text | 4.07:1 |
| White text | 5.14:1 |
Values
| HEX | #31796B |
| RGB | rgb(49, 121, 107) |
| HSL | hsl(168, 42%, 33%) |
| OKLCH | oklch(52.6% 0.075 178.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #31796B | 5.14:1 | AA | Lc -80.6 | Fine for body text |
| Black text on #31796B | 4.07:1 | AA large text | Lc 28.8 | Dividers and decoration only |
| #31796B text on white | 5.14:1 | AA | Lc 75.3 | Fine for body text |
| #31796B text on black | 4.07:1 | AA large text | Lc -26.5 | 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
#F2F6F5
oklch(97% 0.004 179.7)
-
Step 100
100
#E3ECEA
oklch(93.6% 0.01 181.4)
-
Step 200
200
#CDDDD9
oklch(88.4% 0.018 179.3)
-
Step 300
300
#AAC8C1
oklch(80.9% 0.034 179.7)
-
Step 400
400
#7CACA1
oklch(70.7% 0.054 178.9)
-
Step 500
500
#58978A
oklch(63% 0.068 179.2)
-
Step 600
600 (this color)
#31796B
oklch(52.6% 0.075 178.4)
-
Step 700
700
#2C6E61
oklch(49.2% 0.07 178.2)
-
Step 800
800
#26594F
oklch(42.6% 0.058 178.7)
-
Step 900
900
#244A42
oklch(37.8% 0.046 178.4)
-
Step 950
950
#162B26
oklch(27% 0.029 177.1)
#31796B 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) | #74726A | 0.079 |
| Deuteranopia (no green cones) | #696A6C | 0.075 |
| Tritanopia (no blue cones) | #007B75 | 0.022 |
| Achromatopsia (no color) | #6D6D6D | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31796B
#31796B
oklch(52.6% 0.075 178.4)
- #8E586A
#8E586A
oklch(52.6% 0.075 358.5)
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 #31796B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluegreen #017A79 ΔE 0.026
- Dark Aquamarine #017371 ΔE 0.033
- Teal #008080 ΔE 0.034
- Deep Turquoise #017374 ΔE 0.035
- Deep Aqua #08787F ΔE 0.036
- Dark Aqua #05696B ΔE 0.059
- Dark Cyan #008B8B ΔE 0.060
- Ocean #017B92 ΔE 0.061
Use #31796B 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.