#40877F
Closest named color: Dark Cyan (#008B8B). oklch(57.5% 0.073 185.7), rgb(64, 135, 127).
Aa
Black text reads best on this color (4.99:1).
About this color
#40877F is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 58%, its chroma 0.073 and its hue 186°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.029 away. Black text reads best on it, at 4.99:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Dark Cyan (#008B8B) |
| Black text | 4.99:1 |
| White text | 4.20:1 |
Values
| HEX | #40877F |
| RGB | rgb(64, 135, 127) |
| HSL | hsl(173, 36%, 39%) |
| OKLCH | oklch(57.5% 0.073 185.7) |
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 #40877F | 4.20:1 | AA large text | Lc -74.4 | Content text, not long reading |
| Black text on #40877F | 4.99:1 | AA | Lc 35.2 | Non-text elements, placeholder text |
| #40877F text on white | 4.20:1 | AA large text | Lc 68.9 | Content text, not long reading |
| #40877F text on black | 4.99:1 | AA | Lc -32.8 | Non-text elements, placeholder text |
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
#CDDDDB
oklch(88.5% 0.017 187.8)
-
Step 300
300
#AAC8C3
oklch(80.9% 0.033 184.4)
-
Step 400
400
#7BACA5
oklch(70.8% 0.053 185.1)
-
Step 500
500
#57978F
oklch(63.1% 0.067 185.4)
-
Step 600
600 (this color)
#40877F
oklch(57.5% 0.073 185.7)
-
Step 700
700
#2B6D66
oklch(49% 0.068 185.7)
-
Step 800
800
#255953
oklch(42.7% 0.056 185.2)
-
Step 900
900
#244945
oklch(37.7% 0.043 186.5)
-
Step 950
950
#162B28
oklch(27% 0.028 184.2)
#40877F 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) | #81807F | 0.078 |
| Deuteranopia (no green cones) | #757880 | 0.072 |
| Tritanopia (no blue cones) | #168A84 | 0.023 |
| Achromatopsia (no color) | #7B7B7B | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40877F
#40877F
oklch(57.5% 0.073 185.7)
- #9E6773
#9E6773
oklch(57.6% 0.072 5.3)
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 #40877F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Cyan #008B8B ΔE 0.029
- Dusty Teal #4C9085 ΔE 0.030
- Teal #008080 ΔE 0.040
- Teal Green #0A9396 ΔE 0.043
- Slate Green #658D6D ΔE 0.052
- Teal Blue #01889F ΔE 0.053
- Sea #3C9992 ΔE 0.053
- Bluegreen #017A79 ΔE 0.055
Use #40877F 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.