#40516D
Closest named color: YInMn Blue (#415A77). oklch(43.3% 0.051 260.2), rgb(64, 81, 109).
Aa
White text reads best on this color (8.02:1).
About this color
#40516D is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.051 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.029 away. White text reads best on it, at 8.02:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.61:1 |
| White text | 8.02:1 |
Values
| HEX | #40516D |
| RGB | rgb(64, 81, 109) |
| HSL | hsl(217, 26%, 34%) |
| OKLCH | oklch(43.3% 0.051 260.2) |
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 #40516D | 8.02:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #40516D | 2.61:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #40516D text on white | 8.02:1 | AAA | Lc 87.8 | Fine for body text |
| #40516D text on black | 2.61:1 | Fails | Lc -14.4 | Not readable |
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 800.
-
Step 50
50
#F4F5F8
oklch(97% 0.004 271.4)
-
Step 100
100
#E6EAF0
oklch(93.6% 0.009 258.3)
-
Step 200
200
#D3DAE4
oklch(88.6% 0.016 257.2)
-
Step 300
300
#B6C1D5
oklch(80.9% 0.031 262.5)
-
Step 400
400
#8FA2BF
oklch(70.7% 0.048 258.7)
-
Step 500
500
#748AAF
oklch(63% 0.062 260.7)
-
Step 600
600
#5D749B
oklch(55.6% 0.067 260.8)
-
Step 700
700
#4C6184
oklch(49% 0.062 260.4)
-
Step 800
800 (this color)
#40516D
oklch(43.3% 0.051 260.2)
-
Step 900
900
#354257
oklch(37.7% 0.04 259.9)
-
Step 950
950
#1F2733
oklch(27.1% 0.025 258.3)
#40516D 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) | #47536E | 0.012 |
| Deuteranopia (no green cones) | #424E6C | 0.009 |
| Tritanopia (no blue cones) | #31575B | 0.045 |
| Achromatopsia (no color) | #505050 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40516D
#40516D
oklch(43.3% 0.051 260.2)
- #5F4D2F
#5F4D2F
oklch(43.1% 0.051 79.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 #40516D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.029
- Dusty Grape #545775 ΔE 0.038
- Dusk #4E5481 ΔE 0.040
- Light Navy Blue #2E5A88 ΔE 0.048
- Dark Grey Blue #29465B ΔE 0.054
- Twilight #4E518B ΔE 0.055
- Deep Sea Blue #015482 ΔE 0.056
- Light Navy #155084 ΔE 0.056
Use #40516D 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.