#2F2F3A

Closest named color: Gunmetal (#293241). oklch(31% 0.02 285.2), rgb(47, 47, 58).

Aa

White text reads best on this color (13.21:1).

About this color

#2F2F3A is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.016 away. White text reads best on it, at 13.21:1.

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.58:1
White text13.21:1

Values

HEX#2F2F3A
RGBrgb(47, 47, 58)
HSLhsl(240, 10%, 21%)
OKLCHoklch(31% 0.02 285.2)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2F2F3A 13.21:1 AAA Lc -102.8 Preferred for body text
Black text on #2F2F3A 1.58:1 Fails Lc 0.0 Not readable
#2F2F3A text on white 13.21:1 AAA Lc 99.6 Preferred for body text
#2F2F3A text on black 1.58: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.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E2

    oklch(88.5% 0.014 286.1)

  4. Step 300

    300

    #BFBFCF

    oklch(81% 0.022 285.9)

  5. Step 400

    400

    #9E9EB7

    oklch(70.8% 0.036 285.4)

  6. Step 500

    500

    #8686A6

    oklch(63.1% 0.048 285)

  7. Step 600

    600

    #706F91

    oklch(55.5% 0.052 285.9)

  8. Step 700

    700

    #5E5D7B

    oklch(49.1% 0.048 286)

  9. Step 800

    800

    #4C4C64

    oklch(42.6% 0.04 284.6)

  10. Step 900

    900

    #403F52

    oklch(37.6% 0.032 287.2)

  11. Step 950

    950 (this color)

    #2F2F3A

    oklch(31% 0.02 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F2F3A 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2C303B0.006
Deuteranopia (no green cones)#2C303A0.006
Tritanopia (no blue cones)#2D31330.017
Achromatopsia (no color)#3030300.020

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2F2F3A

    #2F2F3A

    oklch(31% 0.02 285.2)

  • #313126

    #313126

    oklch(31% 0.019 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2F3A

    #2F2F3A

    oklch(31% 0.02 285.2)

  • #2A313A

    #2A313A

    oklch(31% 0.019 254.8)

  • #342D37

    #342D37

    oklch(30.9% 0.02 315.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2F2F3A

    #2F2F3A

    oklch(31% 0.02 285.2)

  • #362F25

    #362F25

    oklch(30.9% 0.02 76.7)

  • #2C3329

    #2C3329

    oklch(31.1% 0.02 136.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2F3A

    #2F2F3A

    oklch(31% 0.02 285.2)

  • #392D28

    #392D28

    oklch(30.9% 0.02 43.8)

  • #27342E

    #27342E

    oklch(31.1% 0.02 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2F3A

    #2F2F3A

    oklch(31% 0.02 285.2)

  • #3A2C2D

    #3A2C2D

    oklch(30.9% 0.021 13.5)

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #253333

    #253333

    oklch(30.9% 0.019 196.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2F2F3A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2F2F3A 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.