#40846A
Closest named color: Dark Sage (#598556). oklch(56.1% 0.081 166.3), rgb(64, 132, 106).
Aa
Black text reads best on this color (4.72:1).
About this color
#40846A is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.081 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Sage (#598556), ΔE 0.036 away. Black text reads best on it, at 4.72:1.
| Hue family | Greens |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.081) |
| Temperature | in between |
| Nearest name | Dark Sage (#598556) |
| Black text | 4.72:1 |
| White text | 4.44:1 |
Values
| HEX | #40846A |
| RGB | rgb(64, 132, 106) |
| HSL | hsl(157, 35%, 38%) |
| OKLCH | oklch(56.1% 0.081 166.3) |
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 #40846A | 4.44:1 | AA large text | Lc -76.1 | Fine for body text |
| Black text on #40846A | 4.72:1 | AA | Lc 33.4 | Non-text elements, placeholder text |
| #40846A text on white | 4.44:1 | AA large text | Lc 70.7 | Content text, not long reading |
| #40846A text on black | 4.72:1 | AA | Lc -31.0 | 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
#F3F6F5
oklch(97.1% 0.003 174.5)
-
Step 100
100
#E4ECE8
oklch(93.6% 0.01 164.9)
-
Step 200
200
#CDDED6
oklch(88.6% 0.021 166)
-
Step 300
300
#ABC9BB
oklch(81% 0.038 165.6)
-
Step 400
400
#7EAD98
oklch(70.8% 0.059 165.4)
-
Step 500
500
#5B987F
oklch(63.1% 0.075 166)
-
Step 600
600 (this color)
#40846A
oklch(56.1% 0.081 166.3)
-
Step 700
700
#306E57
oklch(49% 0.075 166.4)
-
Step 800
800
#295A47
oklch(42.7% 0.063 165.9)
-
Step 900
900
#264A3C
oklch(37.7% 0.049 166.7)
-
Step 950
950
#172B23
oklch(26.9% 0.03 166.8)
#40846A 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) | #817C69 | 0.081 |
| Deuteranopia (no green cones) | #77756C | 0.077 |
| Tritanopia (no blue cones) | #28847D | 0.031 |
| Achromatopsia (no color) | #787878 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40846A
#40846A
oklch(56.1% 0.081 166.3)
- #98617F
#98617F
oklch(56.2% 0.082 346.2)
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 #40846A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Sage #598556 ΔE 0.036
- Sea Green #2E8B57 ΔE 0.043
- Viridian #1E9167 ΔE 0.044
- Teal #008080 ΔE 0.048
- Dark Cyan #008B8B ΔE 0.050
- Dusty Teal #4C9085 ΔE 0.050
- Slate Green #658D6D ΔE 0.050
- Bluegreen #017A79 ΔE 0.055
Use #40846A 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.