#407F8D
Closest named color: Cerulean (#457B9D). oklch(56% 0.068 214), rgb(64, 127, 141).
Aa
Black text reads best on this color (4.63:1).
About this color
#407F8D is a medium-dark, muted teal or cyan. In OKLCH its lightness is 56%, its chroma 0.068 and its hue 214°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.032 away. Black text reads best on it, at 4.63:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (56%) |
| Chroma | muted (0.068) |
| Temperature | cool |
| Nearest name | Cerulean (#457B9D) |
| Black text | 4.63:1 |
| White text | 4.52:1 |
Values
| HEX | #407F8D |
| RGB | rgb(64, 127, 141) |
| HSL | hsl(191, 38%, 40%) |
| OKLCH | oklch(56% 0.068 214) |
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 #407F8D | 4.52:1 | AA | Lc -76.8 | Fine for body text |
| Black text on #407F8D | 4.63:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #407F8D text on white | 4.52:1 | AA | Lc 71.3 | Content text, not long reading |
| #407F8D text on black | 4.63:1 | AA | Lc -30.4 | 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
#E4EBED
oklch(93.5% 0.008 216.6)
-
Step 200
200
#CDDCE0
oklch(88.4% 0.017 215.5)
-
Step 300
300
#ABC6CD
oklch(80.9% 0.031 215.1)
-
Step 400
400
#7EA9B3
oklch(70.7% 0.048 213.6)
-
Step 500
500
#5B94A1
oklch(63.2% 0.063 213.8)
-
Step 600
600 (this color)
#407F8D
oklch(56% 0.068 214)
-
Step 700
700
#306A77
oklch(49.1% 0.064 214.5)
-
Step 800
800
#295661
oklch(42.6% 0.053 215.8)
-
Step 900
900
#26474F
oklch(37.6% 0.041 215.1)
-
Step 950
950
#172A2E
oklch(27.1% 0.026 212.5)
#407F8D 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) | #757B8E | 0.063 |
| Deuteranopia (no green cones) | #69728D | 0.057 |
| Tritanopia (no blue cones) | #028583 | 0.040 |
| Achromatopsia (no color) | #767676 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #407F8D
#407F8D
oklch(56% 0.068 214)
- #98665A
#98665A
oklch(56% 0.068 34.1)
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 #407F8D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean #457B9D ΔE 0.032
- Stormy Blue #507B9C ΔE 0.034
- Ocean #017B92 ΔE 0.036
- Teal Blue #01889F ΔE 0.038
- Metallic Blue #4F738E ΔE 0.038
- Grey Blue #647D8E ΔE 0.039
- Teal #008080 ΔE 0.040
- Dark Cyan #008B8B ΔE 0.044
Use #407F8D 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.