#2D3545
Closest named color: Gunmetal (#293241). oklch(32.8% 0.031 264), rgb(45, 53, 69).
Aa
White text reads best on this color (12.30:1).
About this color
#2D3545 is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.031 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.013 away. White text reads best on it, at 12.30:1.
| Hue family | Blues |
| Lightness | dark (33%) |
| Chroma | muted (0.031) |
| Temperature | cool |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.70:1 |
| White text | 12.30:1 |
Values
| HEX | #2D3545 |
| RGB | rgb(45, 53, 69) |
| HSL | hsl(220, 21%, 22%) |
| OKLCH | oklch(32.8% 0.031 264) |
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 #2D3545 | 12.30:1 | AAA | Lc -101.5 | Preferred for body text |
| Black text on #2D3545 | 1.70:1 | Fails | Lc 0.0 | Not readable |
| #2D3545 text on white | 12.30:1 | AAA | Lc 98.0 | Preferred for body text |
| #2D3545 text on black | 1.70:1 | Fails | Lc 0.0 | 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
#F4F5F7
oklch(97% 0.003 264.5)
-
Step 100
100
#E7EAEE
oklch(93.6% 0.006 255.5)
-
Step 200
200
#D5D9E2
oklch(88.5% 0.013 266.7)
-
Step 300
300
#B9C1D0
oklch(80.9% 0.023 263.2)
-
Step 400
400
#95A1B8
oklch(70.7% 0.036 263.5)
-
Step 500
500
#7B8AA7
oklch(63.2% 0.047 263.5)
-
Step 600
600
#647392
oklch(55.5% 0.052 264.6)
-
Step 700
700
#53617C
oklch(49.2% 0.047 263.3)
-
Step 800
800
#444F65
oklch(42.7% 0.039 264)
-
Step 900
900 (this color)
#2D3545
oklch(32.8% 0.031 264)
-
Step 950
950
#222630
oklch(26.9% 0.02 267.9)
#2D3545 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) | #303646 | 0.006 |
| Deuteranopia (no green cones) | #2D3445 | 0.003 |
| Tritanopia (no blue cones) | #26383A | 0.028 |
| Achromatopsia (no color) | #353535 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D3545
#2D3545
oklch(32.8% 0.031 264)
- #3C3423
#3C3423
oklch(32.9% 0.03 85.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 #2D3545, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.013
- Onyx #343A40 ΔE 0.025
- Dark Blue Grey #1F3B4D ΔE 0.025
- Space Cadet #2B2D42 ΔE 0.026
- Prussian Blue #1D3557 ΔE 0.038
- Midnight Green #073B4C ΔE 0.040
- Charcoal Grey #3C4142 ΔE 0.050
- Charcoal #264653 ΔE 0.054
Use #2D3545 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.