#40456A
Closest named color: Dark Grey Blue (#29465B). oklch(40.3% 0.063 277.3), rgb(64, 69, 106).
Aa
White text reads best on this color (9.22:1).
About this color
#40456A is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.063 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.043 away. White text reads best on it, at 9.22:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.063) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.27:1 |
| White text | 9.22:1 |
Values
| HEX | #40456A |
| RGB | rgb(64, 69, 106) |
| HSL | hsl(233, 25%, 33%) |
| OKLCH | oklch(40.3% 0.063 277.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 #40456A | 9.22:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #40456A | 2.27:1 | Fails | Lc 12.7 | Not readable |
| #40456A text on white | 9.22:1 | AAA | Lc 91.2 | Preferred for body text |
| #40456A text on black | 2.27:1 | Fails | Lc -11.1 | 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
#E8E9F1
oklch(93.6% 0.011 280.5)
-
Step 200
200
#D5D8E7
oklch(88.4% 0.021 276.9)
-
Step 300
300
#BABFD9
oklch(80.9% 0.037 276.9)
-
Step 400
400
#979EC5
oklch(70.7% 0.058 276.9)
-
Step 500
500
#7E85B7
oklch(63% 0.076 277.8)
-
Step 600
600
#676FA3
oklch(55.7% 0.081 276.7)
-
Step 700
700
#565C8B
oklch(49% 0.076 277.7)
-
Step 800
800 (this color)
#40456A
oklch(40.3% 0.063 277.3)
-
Step 900
900
#3B3F5B
oklch(37.6% 0.048 277.5)
-
Step 950
950
#232536
oklch(27% 0.032 278.9)
#40456A 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) | #39496C | 0.014 |
| Deuteranopia (no green cones) | #364669 | 0.015 |
| Tritanopia (no blue cones) | #344C52 | 0.056 |
| Achromatopsia (no color) | #474747 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40456A
#40456A
oklch(40.3% 0.063 277.3)
- #52481D
#52481D
oklch(40.2% 0.062 96.3)
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 #40456A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.043
- Charcoal #264653 ΔE 0.056
- Dusk #4E5481 ΔE 0.059
- Light Navy #155084 ΔE 0.060
- Twilight Blue #0A437A ΔE 0.062
- YInMn Blue #415A77 ΔE 0.063
- Dark Slate Blue #483D8B ΔE 0.065
- Twilight #4E518B ΔE 0.065
Use #40456A 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.