#2A4252
Closest named color: Charcoal (#264653). oklch(36.7% 0.041 238.5), rgb(42, 66, 82).
Aa
White text reads best on this color (10.50:1).
About this color
#2A4252 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.041 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.013 away. White text reads best on it, at 10.50:1.
| Hue family | Blues |
| Lightness | dark (37%) |
| Chroma | muted (0.041) |
| Temperature | cool |
| Nearest name | Charcoal (#264653) |
| Black text | 1.99:1 |
| White text | 10.50:1 |
Values
| HEX | #2A4252 |
| RGB | rgb(42, 66, 82) |
| HSL | hsl(204, 32%, 24%) |
| OKLCH | oklch(36.7% 0.041 238.5) |
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 #2A4252 | 10.50:1 | AAA | Lc -98.3 | Preferred for body text |
| Black text on #2A4252 | 1.99:1 | Fails | Lc 9.6 | Not readable |
| #2A4252 text on white | 10.50:1 | AAA | Lc 94.3 | Preferred for body text |
| #2A4252 text on black | 1.99:1 | Fails | Lc -8.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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E5EBEF
oklch(93.7% 0.008 236.6)
-
Step 200
200
#CFDBE3
oklch(88.5% 0.017 236.7)
-
Step 300
300
#AFC4D2
oklch(80.9% 0.03 237)
-
Step 400
400
#85A5BC
oklch(70.6% 0.049 239.6)
-
Step 500
500
#668FAB
oklch(63.1% 0.062 238.9)
-
Step 600
600
#4C7997
oklch(55.6% 0.068 238.9)
-
Step 700
700
#3D6681
oklch(49.2% 0.063 238.7)
-
Step 800
800
#335369
oklch(42.7% 0.053 239.7)
-
Step 900
900 (this color)
#2A4252
oklch(36.7% 0.041 238.5)
-
Step 950
950
#1A2832
oklch(26.9% 0.027 240.1)
#2A4252 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) | #3B4253 | 0.024 |
| Deuteranopia (no green cones) | #353D52 | 0.021 |
| Tritanopia (no blue cones) | #194647 | 0.033 |
| Achromatopsia (no color) | #3F3F3F | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A4252
#2A4252
oklch(36.7% 0.041 238.5)
- #4F3A29
#4F3A29
oklch(36.7% 0.04 60.1)
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 #2A4252, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal #264653 ΔE 0.013
- Dark Grey Blue #29465B ΔE 0.017
- Dark Blue Grey #1F3B4D ΔE 0.028
- Onyx #343A40 ΔE 0.035
- Charcoal Grey #3C4142 ΔE 0.035
- Midnight Green #073B4C ΔE 0.043
- Dark Teal #014D4E ΔE 0.046
- Dark Slate Gray #2F4F4F ΔE 0.046
Use #2A4252 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.