#2F333B
Closest named color: Gunmetal (#293241). oklch(32% 0.015 264.3), rgb(47, 51, 59).
Aa
White text reads best on this color (12.66:1).
About this color
#2F333B is a dark close to neutral grey. In OKLCH its lightness is 32%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.015 away. White text reads best on it, at 12.66:1.
| Hue family | Neutrals |
| Lightness | dark (32%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.65:1 |
| White text | 12.66:1 |
Values
| HEX | #2F333B |
| RGB | rgb(47, 51, 59) |
| HSL | hsl(220, 11%, 21%) |
| OKLCH | oklch(32% 0.015 264.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 #2F333B | 12.66:1 | AAA | Lc -102.1 | Preferred for body text |
| Black text on #2F333B | 1.65:1 | Fails | Lc 0.0 | Not readable |
| #2F333B text on white | 12.66:1 | AAA | Lc 98.7 | Preferred for body text |
| #2F333B text on black | 1.65: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 950.
-
Step 50
50
#F4F5F7
oklch(97% 0.003 264.5)
-
Step 100
100
#E8EAED
oklch(93.6% 0.005 258.3)
-
Step 200
200
#D6D9E0
oklch(88.5% 0.01 267.4)
-
Step 300
300
#BBC1CD
oklch(81% 0.018 264.5)
-
Step 400
400
#98A1B3
oklch(70.8% 0.028 264.4)
-
Step 500
500
#7E8AA1
oklch(63.2% 0.037 263.5)
-
Step 600
600
#67738C
oklch(55.5% 0.042 264.9)
-
Step 700
700
#566177
oklch(49.2% 0.038 264.1)
-
Step 800
800
#464F60
oklch(42.6% 0.031 263.1)
-
Step 900
900
#3B424F
oklch(37.8% 0.024 262.8)
-
Step 950
950 (this color)
#2F333B
oklch(32% 0.015 264.3)
#2F333B 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) | #31333B | 0.003 |
| Deuteranopia (no green cones) | #2F323B | 0.003 |
| Tritanopia (no blue cones) | #2C3536 | 0.014 |
| Achromatopsia (no color) | #333333 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F333B
#2F333B
oklch(32% 0.015 264.3)
- #37322A
#37322A
oklch(32% 0.015 79.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 #2F333B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.015
- Onyx #343A40 ΔE 0.025
- Space Cadet #2B2D42 ΔE 0.028
- Dark Blue Grey #1F3B4D ΔE 0.038
- Midnight Green #073B4C ΔE 0.048
- Charcoal Grey #3C4142 ΔE 0.052
- Prussian Blue #1D3557 ΔE 0.053
- Oxford Blue #1B263B ΔE 0.058
Use #2F333B 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.