#2D404F
Closest named color: Charcoal (#264653). oklch(36.2% 0.036 242.7), rgb(45, 64, 79).
Aa
White text reads best on this color (10.72:1).
About this color
#2D404F is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.036 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.019 away. White text reads best on it, at 10.72:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | muted (0.036) |
| Temperature | cool |
| Nearest name | Charcoal (#264653) |
| Black text | 1.95:1 |
| White text | 10.72:1 |
Values
| HEX | #2D404F |
| RGB | rgb(45, 64, 79) |
| HSL | hsl(206, 27%, 24%) |
| OKLCH | oklch(36.2% 0.036 242.7) |
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 #2D404F | 10.72:1 | AAA | Lc -98.7 | Preferred for body text |
| Black text on #2D404F | 1.95:1 | Fails | Lc 9.1 | Not readable |
| #2D404F text on white | 10.72:1 | AAA | Lc 94.8 | Preferred for body text |
| #2D404F text on black | 1.95:1 | Fails | Lc -7.8 | 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E6EBEF
oklch(93.7% 0.008 241.7)
-
Step 200
200
#D1DAE2
oklch(88.4% 0.015 244.7)
-
Step 300
300
#B2C3D1
oklch(80.9% 0.027 242.8)
-
Step 400
400
#8AA4BA
oklch(70.6% 0.043 244)
-
Step 500
500
#6D8EA8
oklch(63.1% 0.054 242.4)
-
Step 600
600
#547894
oklch(55.7% 0.06 242.5)
-
Step 700
700
#44657E
oklch(49.2% 0.056 241.9)
-
Step 800
800
#395266
oklch(42.7% 0.045 243.2)
-
Step 900
900 (this color)
#2D404F
oklch(36.2% 0.036 242.7)
-
Step 950
950
#1D2831
oklch(27.1% 0.023 243.4)
#2D404F 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) | #3A4050 | 0.019 |
| Deuteranopia (no green cones) | #353C4F | 0.016 |
| Tritanopia (no blue cones) | #214445 | 0.029 |
| Achromatopsia (no color) | #3E3E3E | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D404F
#2D404F
oklch(36.2% 0.036 242.7)
- #4B3A2A
#4B3A2A
oklch(36.2% 0.035 64.6)
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 #2D404F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal #264653 ΔE 0.019
- Dark Grey Blue #29465B ΔE 0.024
- Dark Blue Grey #1F3B4D ΔE 0.026
- Onyx #343A40 ΔE 0.028
- Charcoal Grey #3C4142 ΔE 0.031
- Midnight Green #073B4C ΔE 0.042
- Gunmetal #293241 ΔE 0.048
- Prussian Blue #1D3557 ΔE 0.049
Use #2D404F 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.