#2A4045
Closest named color: Onyx (#343A40). oklch(35.5% 0.029 213.4), rgb(42, 64, 69).
Aa
White text reads best on this color (10.95:1).
About this color
#2A4045 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.022 away. White text reads best on it, at 10.95:1.
| Hue family | Neutrals |
| Lightness | dark (36%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Onyx (#343A40) |
| Black text | 1.91:1 |
| White text | 10.95:1 |
Values
| HEX | #2A4045 |
| RGB | rgb(42, 64, 69) |
| HSL | hsl(191, 24%, 22%) |
| OKLCH | oklch(35.5% 0.029 213.4) |
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 #2A4045 | 10.95:1 | AAA | Lc -99.2 | Preferred for body text |
| Black text on #2A4045 | 1.91:1 | Fails | Lc 8.6 | Not readable |
| #2A4045 text on white | 10.95:1 | AAA | Lc 95.3 | Preferred for body text |
| #2A4045 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
#F3F6F6
oklch(97.1% 0.003 197.1)
-
Step 100
100
#E5EBEC
oklch(93.6% 0.007 208.8)
-
Step 200
200
#D1DBDE
oklch(88.5% 0.012 217.6)
-
Step 300
300
#B2C5C9
oklch(81% 0.022 211.8)
-
Step 400
400
#89A7AE
oklch(70.8% 0.035 213.5)
-
Step 500
500
#6B919A
oklch(63.2% 0.044 213.9)
-
Step 600
600
#527B84
oklch(55.6% 0.048 212.9)
-
Step 700
700
#426870
oklch(49.2% 0.045 212.4)
-
Step 800
800
#37545B
oklch(42.6% 0.036 214.5)
-
Step 900
900 (this color)
#2A4045
oklch(35.5% 0.029 213.4)
-
Step 950
950
#1C292C
oklch(27% 0.019 213.5)
#2A4045 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) | #3C3E45 | 0.027 |
| Deuteranopia (no green cones) | #383B45 | 0.025 |
| Tritanopia (no blue cones) | #204241 | 0.016 |
| Achromatopsia (no color) | #3C3C3C | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A4045
#2A4045
oklch(35.5% 0.029 213.4)
- #4A3732
#4A3732
oklch(35.6% 0.029 35.2)
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 #2A4045, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.022
- Charcoal #264653 ΔE 0.026
- Charcoal Grey #3C4142 ΔE 0.027
- Dark Blue Grey #1F3B4D ΔE 0.029
- Dark Grey Blue #29465B ΔE 0.038
- Midnight Green #073B4C ΔE 0.041
- Dark Teal #014D4E ΔE 0.046
- Gunmetal #293241 ΔE 0.046
Use #2A4045 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.