#40838E
Closest named color: Teal Blue (#01889F). oklch(57.1% 0.07 209.5), rgb(64, 131, 142).
Aa
Black text reads best on this color (4.85:1).
About this color
#40838E is a medium-dark, muted teal or cyan. In OKLCH its lightness is 57%, its chroma 0.070 and its hue 209°. Its hue sits on the cool side of the wheel. The nearest named color is Teal Blue (#01889F), ΔE 0.034 away. Black text reads best on it, at 4.85:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (57%) |
| Chroma | muted (0.070) |
| Temperature | cool |
| Nearest name | Teal Blue (#01889F) |
| Black text | 4.85:1 |
| White text | 4.32:1 |
Values
| HEX | #40838E |
| RGB | rgb(64, 131, 142) |
| HSL | hsl(188, 38%, 40%) |
| OKLCH | oklch(57.1% 0.07 209.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 #40838E | 4.32:1 | AA large text | Lc -75.3 | Fine for body text |
| Black text on #40838E | 4.85:1 | AA | Lc 34.3 | Non-text elements, placeholder text |
| #40838E text on white | 4.32:1 | AA large text | Lc 69.8 | Content text, not long reading |
| #40838E text on black | 4.85:1 | AA | Lc -31.9 | 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
#F2F6F7
oklch(97% 0.004 214.3)
-
Step 100
100
#E3ECED
oklch(93.7% 0.01 204.9)
-
Step 200
200
#CDDDDF
oklch(88.6% 0.017 205.8)
-
Step 300
300
#AAC7CC
oklch(81% 0.032 209.2)
-
Step 400
400
#7CAAB2
oklch(70.8% 0.05 209.4)
-
Step 500
500
#58949F
oklch(63% 0.064 210.5)
-
Step 600
600 (this color)
#40838E
oklch(57.1% 0.07 209.5)
-
Step 700
700
#2D6B75
oklch(49.2% 0.065 209.6)
-
Step 800
800
#27575F
oklch(42.7% 0.053 209.8)
-
Step 900
900
#25484E
oklch(37.8% 0.042 209.8)
-
Step 950
950
#162A2D
oklch(26.9% 0.026 207.9)
#40838E 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) | #797F8F | 0.066 |
| Deuteranopia (no green cones) | #6D768E | 0.060 |
| Tritanopia (no blue cones) | #008886 | 0.036 |
| Achromatopsia (no color) | #797979 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40838E
#40838E
oklch(57.1% 0.07 209.5)
- #9D685F
#9D685F
oklch(57.1% 0.07 30)
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 #40838E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Teal Blue #01889F ΔE 0.034
- Dark Cyan #008B8B ΔE 0.036
- Cerulean #457B9D ΔE 0.039
- Stormy Blue #507B9C ΔE 0.040
- Grey Blue #647D8E ΔE 0.040
- Teal #008080 ΔE 0.041
- Ocean #017B92 ΔE 0.043
- Teal Green #0A9396 ΔE 0.048
Use #40838E 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.