#403A49
Closest named color: Onyx (#343A40). oklch(36.1% 0.027 303.3), rgb(64, 58, 73).
Aa
White text reads best on this color (10.94:1).
About this color
#403A49 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.027 away. White text reads best on it, at 10.94:1.
| Hue family | Neutrals |
| Lightness | dark (36%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.91:1 |
| White text | 10.94:1 |
Values
| HEX | #403A49 |
| RGB | rgb(64, 58, 73) |
| HSL | hsl(264, 11%, 26%) |
| OKLCH | oklch(36.1% 0.027 303.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 #403A49 | 10.94:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #403A49 | 1.91:1 | Fails | Lc 8.6 | Not readable |
| #403A49 text on white | 10.94:1 | AAA | Lc 95.3 | Preferred for body text |
| #403A49 text on black | 1.91:1 | Fails | Lc -7.3 | 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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EAE9ED
oklch(93.6% 0.005 297.7)
-
Step 200
200
#DAD7DF
oklch(88.4% 0.011 303.1)
-
Step 300
300
#C3BECB
oklch(80.9% 0.019 303.4)
-
Step 400
400
#A49CB1
oklch(70.6% 0.031 302.9)
-
Step 500
500
#8E849E
oklch(63.1% 0.04 302.8)
-
Step 600
600
#786D89
oklch(55.5% 0.045 302.9)
-
Step 700
700
#655B74
oklch(49% 0.041 303.1)
-
Step 800
800
#534B5F
oklch(42.8% 0.034 303.2)
-
Step 900
900 (this color)
#403A49
oklch(36.1% 0.027 303.3)
-
Step 950
950
#28252D
oklch(27.1% 0.015 302.4)
#403A49 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) | #373C4A | 0.015 |
| Deuteranopia (no green cones) | #383D49 | 0.016 |
| Tritanopia (no blue cones) | #3F3C3F | 0.021 |
| Achromatopsia (no color) | #3D3D3D | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403A49
#403A49
oklch(36.1% 0.027 303.3)
- #3A4030
#3A4030
oklch(36.1% 0.028 124.5)
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 #403A49, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.027
- Charcoal Grey #3C4142 ΔE 0.030
- Dark Blue Grey #1F3B4D ΔE 0.048
- Charcoal #264653 ΔE 0.048
- Dark Grey Blue #29465B ΔE 0.049
- Gunmetal #293241 ΔE 0.050
- Space Cadet #2B2D42 ΔE 0.058
- Prussian Blue #1D3557 ΔE 0.062
Use #403A49 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.