#2F313F

Closest named color: Gunmetal (#293241). oklch(31.7% 0.025 278.5), rgb(47, 49, 63).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (32%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.63:1
White text12.86:1

Values

HEX#2F313F
RGBrgb(47, 49, 63)
HSLhsl(233, 15%, 22%)
OKLCHoklch(31.7% 0.025 278.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2F313F 12.86:1 AAA Lc -102.3 Preferred for body text
Black text on #2F313F 1.63:1 Fails Lc 0.0 Not readable
#2F313F text on white 12.86:1 AAA Lc 99.0 Preferred for body text
#2F313F text on black 1.63: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E4

    oklch(88.4% 0.017 278.5)

  4. Step 300

    300

    #BCBFD4

    oklch(80.9% 0.03 279.3)

  5. Step 400

    400

    #999EBF

    oklch(70.7% 0.048 278.3)

  6. Step 500

    500

    #8186AE

    oklch(63.1% 0.06 279)

  7. Step 600

    600

    #6A709A

    oklch(55.7% 0.066 277.8)

  8. Step 700

    700

    #595D83

    oklch(49.1% 0.061 279.2)

  9. Step 800

    800

    #484C6B

    oklch(42.6% 0.052 278.3)

  10. Step 900

    900

    #3D4057

    oklch(37.8% 0.039 278.6)

  11. Step 950

    950 (this color)

    #2F313F

    oklch(31.7% 0.025 278.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F313F 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)#2D32400.004
Deuteranopia (no green cones)#2C313F0.005
Tritanopia (no blue cones)#2B33360.021
Achromatopsia (no color)#3232320.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F313F

    #2F313F

    oklch(31.7% 0.025 278.5)

  • #353224

    #353224

    oklch(31.6% 0.024 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F313F

    #2F313F

    oklch(31.7% 0.025 278.5)

  • #28333F

    #28333F

    oklch(31.6% 0.026 250.9)

  • #362F3C

    #362F3C

    oklch(31.8% 0.025 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F313F

    #2F313F

    oklch(31.7% 0.025 278.5)

  • #3B3024

    #3B3024

    oklch(31.8% 0.026 69.1)

  • #2E3527

    #2E3527

    oklch(31.8% 0.026 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F313F

    #2F313F

    oklch(31.7% 0.025 278.5)

  • #3E2E29

    #3E2E29

    oklch(31.8% 0.025 38.1)

  • #27362D

    #27362D

    oklch(31.6% 0.026 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F313F

    #2F313F

    oklch(31.7% 0.025 278.5)

  • #3E2D2F

    #3E2D2F

    oklch(31.7% 0.025 10.7)

  • #353224

    #353224

    oklch(31.6% 0.024 97.4)

  • #233635

    #233635

    oklch(31.6% 0.025 191.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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