#2F7871
Closest named color: Bluegreen (#017A79). oklch(52.5% 0.073 186.5), rgb(47, 120, 113).
Aa
White text reads best on this color (5.19:1).
About this color
#2F7871 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 53%, its chroma 0.073 and its hue 187°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.019 away. White text reads best on it, at 5.19:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Bluegreen (#017A79) |
| Black text | 4.04:1 |
| White text | 5.19:1 |
Values
| HEX | #2F7871 |
| RGB | rgb(47, 120, 113) |
| HSL | hsl(174, 44%, 33%) |
| OKLCH | oklch(52.5% 0.073 186.5) |
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 #2F7871 | 5.19:1 | AA | Lc -80.9 | Fine for body text |
| Black text on #2F7871 | 4.04:1 | AA large text | Lc 28.6 | Dividers and decoration only |
| #2F7871 text on white | 5.19:1 | AA | Lc 75.5 | Fine for body text |
| #2F7871 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
#E3ECEB
oklch(93.6% 0.01 189.1)
-
Step 200
200
#CCDDDB
oklch(88.4% 0.018 188.3)
-
Step 300
300
#AAC8C4
oklch(80.9% 0.033 186.7)
-
Step 400
400
#7BACA6
oklch(70.8% 0.053 186.6)
-
Step 500
500
#579790
oklch(63.1% 0.067 186.6)
-
Step 600
600 (this color)
#2F7871
oklch(52.5% 0.073 186.5)
-
Step 700
700
#2B6D67
oklch(49.1% 0.067 187)
-
Step 800
800
#255954
oklch(42.7% 0.056 186.8)
-
Step 900
900
#244945
oklch(37.7% 0.043 186.5)
-
Step 950
950
#162B29
oklch(27.1% 0.027 187.9)
#2F7871 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) | #727271 | 0.077 |
| Deuteranopia (no green cones) | #676972 | 0.074 |
| Tritanopia (no blue cones) | #007B76 | 0.019 |
| Achromatopsia (no color) | #6D6D6D | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F7871
#2F7871
oklch(52.5% 0.073 186.5)
- #8E5863
#8E5863
oklch(52.4% 0.073 6.6)
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 #2F7871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluegreen #017A79 ΔE 0.019
- Deep Aqua #08787F ΔE 0.026
- Dark Aquamarine #017371 ΔE 0.027
- Deep Turquoise #017374 ΔE 0.028
- Teal #008080 ΔE 0.029
- Ocean #017B92 ΔE 0.051
- Dark Aqua #05696B ΔE 0.054
- Dark Cyan #008B8B ΔE 0.059
Use #2F7871 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.