#404266
Closest named color: Dark Grey Blue (#29465B). oklch(39.4% 0.061 280.8), rgb(64, 66, 102).
Aa
White text reads best on this color (9.59:1).
About this color
#404266 is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.061 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.041 away. White text reads best on it, at 9.59:1.
| Hue family | Purples |
| Lightness | dark (39%) |
| Chroma | muted (0.061) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.18:1 |
| White text | 9.59:1 |
Values
| HEX | #404266 |
| RGB | rgb(64, 66, 102) |
| HSL | hsl(237, 23%, 33%) |
| OKLCH | oklch(39.4% 0.061 280.8) |
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 #404266 | 9.59:1 | AAA | Lc -96.4 | Preferred for body text |
| Black text on #404266 | 2.18:1 | Fails | Lc 11.8 | Not readable |
| #404266 text on white | 9.59:1 | AAA | Lc 92.2 | Preferred for body text |
| #404266 text on black | 2.18:1 | Fails | Lc -10.2 | 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 900.
-
Step 50
50
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E8E9F3
oklch(93.6% 0.013 281.6)
-
Step 200
200
#D6D8EA
oklch(88.6% 0.025 280.8)
-
Step 300
300
#BBBEDE
oklch(81% 0.045 281.1)
-
Step 400
400
#989CCE
oklch(70.8% 0.073 280.8)
-
Step 500
500
#7F83C1
oklch(63.2% 0.093 280.5)
-
Step 600
600
#696CAD
oklch(55.7% 0.1 280.6)
-
Step 700
700
#575995
oklch(49% 0.095 280.8)
-
Step 800
800
#474979
oklch(42.6% 0.079 280.7)
-
Step 900
900 (this color)
#404266
oklch(39.4% 0.061 280.8)
-
Step 950
950
#232439
oklch(27% 0.039 281.4)
#404266 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) | #374667 | 0.017 |
| Deuteranopia (no green cones) | #354465 | 0.017 |
| Tritanopia (no blue cones) | #36494F | 0.054 |
| Achromatopsia (no color) | #454545 | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404266
#404266
oklch(39.4% 0.061 280.8)
- #4D471D
#4D471D
oklch(39.4% 0.061 101.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 #404266, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.041
- Charcoal #264653 ΔE 0.053
- Charcoal Grey #3C4142 ΔE 0.063
- Twilight Blue #0A437A ΔE 0.063
- Light Navy #155084 ΔE 0.068
- Dark Slate Blue #483D8B ΔE 0.068
- Dusk #4E5481 ΔE 0.068
- Dark Blue Grey #1F3B4D ΔE 0.068
Use #404266 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.