#40476D
Closest named color: Dark Grey Blue (#29465B). oklch(40.9% 0.064 275.2), rgb(64, 71, 109).
Aa
White text reads best on this color (8.97:1).
About this color
#40476D is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.064 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.046 away. White text reads best on it, at 8.97:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | muted (0.064) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.34:1 |
| White text | 8.97:1 |
Values
| HEX | #40476D |
| RGB | rgb(64, 71, 109) |
| HSL | hsl(231, 26%, 34%) |
| OKLCH | oklch(40.9% 0.064 275.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 #40476D | 8.97:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #40476D | 2.34:1 | Fails | Lc 13.4 | Not readable |
| #40476D text on white | 8.97:1 | AAA | Lc 90.6 | Preferred for body text |
| #40476D text on black | 2.34:1 | Fails | Lc -11.8 | 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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E7E9F1
oklch(93.5% 0.011 274.9)
-
Step 200
200
#D5D8E7
oklch(88.4% 0.021 276.9)
-
Step 300
300
#B9BFDA
oklch(80.9% 0.039 275.6)
-
Step 400
400
#959EC7
oklch(70.7% 0.061 275.1)
-
Step 500
500
#7C86B8
oklch(63.1% 0.076 275.3)
-
Step 600
600
#656FA4
oklch(55.6% 0.083 275.2)
-
Step 700
700
#545D8D
oklch(49.2% 0.078 275.1)
-
Step 800
800 (this color)
#40476D
oklch(40.9% 0.064 275.2)
-
Step 900
900
#3A3F5C
oklch(37.6% 0.05 276.2)
-
Step 950
950
#222536
oklch(27% 0.032 276.3)
#40476D 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) | #3A4B6F | 0.013 |
| Deuteranopia (no green cones) | #37486C | 0.013 |
| Tritanopia (no blue cones) | #324F55 | 0.058 |
| Achromatopsia (no color) | #494949 | 0.065 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40476D
#40476D
oklch(40.9% 0.064 275.2)
- #554A1D
#554A1D
oklch(41% 0.065 95.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 #40476D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.046
- Dusk #4E5481 ΔE 0.052
- Light Navy #155084 ΔE 0.056
- YInMn Blue #415A77 ΔE 0.057
- Twilight #4E518B ΔE 0.059
- Charcoal #264653 ΔE 0.059
- Dusty Grape #545775 ΔE 0.060
- Dusk Blue #26538D ΔE 0.061
Use #40476D 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.