#2F363F

Closest named color: Onyx (#343A40). oklch(33% 0.019 254.8), rgb(47, 54, 63).

Aa

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

About this color

#2F363F is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.016 away. White text reads best on it, at 12.20:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.72:1
White text12.20:1

Values

HEX#2F363F
RGBrgb(47, 54, 63)
HSLhsl(214, 15%, 22%)
OKLCHoklch(33% 0.019 254.8)

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 #2F363F 12.20:1 AAA Lc -101.4 Preferred for body text
Black text on #2F363F 1.72:1 Fails Lc 0.0 Not readable
#2F363F text on white 12.20:1 AAA Lc 97.9 Preferred for body text
#2F363F text on black 1.72: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 900.

  1. Step 50

    50

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEC

    oklch(93.6% 0.003 247.9)

  3. Step 200

    200

    #D6D9DE

    oklch(88.4% 0.008 260.7)

  4. Step 300

    300

    #BBC1CA

    oklch(80.9% 0.014 258.4)

  5. Step 400

    400

    #97A2AF

    oklch(70.8% 0.023 252.6)

  6. Step 500

    500

    #7E8B9B

    oklch(63.2% 0.028 253.7)

  7. Step 600

    600

    #677586

    oklch(55.7% 0.031 253.4)

  8. Step 700

    700

    #566271

    oklch(49.1% 0.028 254.1)

  9. Step 800

    800

    #46505C

    oklch(42.7% 0.024 253.1)

  10. Step 900

    900 (this color)

    #2F363F

    oklch(33% 0.019 254.8)

  11. Step 950

    950

    #23272C

    oklch(27.1% 0.011 254)

Export this scale for Tailwind in the Tailwind colors tool

#2F363F 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)#33363F0.006
Deuteranopia (no green cones)#31353F0.004
Tritanopia (no blue cones)#2B38390.016
Achromatopsia (no color)#3535350.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F363F

    #2F363F

    oklch(33% 0.019 254.8)

  • #3B342B

    #3B342B

    oklch(32.9% 0.018 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F363F

    #2F363F

    oklch(33% 0.019 254.8)

  • #2B383D

    #2B383D

    oklch(33.1% 0.019 223.3)

  • #34343F

    #34343F

    oklch(33% 0.019 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F363F

    #2F363F

    oklch(33% 0.019 254.8)

  • #3E332E

    #3E332E

    oklch(33.1% 0.018 45.9)

  • #37362B

    #37362B

    oklch(33% 0.019 103.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F363F

    #2F363F

    oklch(33% 0.019 254.8)

  • #3E3232

    #3E3232

    oklch(33% 0.017 18.1)

  • #31382E

    #31382E

    oklch(33.1% 0.02 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F363F

    #2F363F

    oklch(33% 0.019 254.8)

  • #3D3238

    #3D3238

    oklch(33.1% 0.019 344.2)

  • #3B342B

    #3B342B

    oklch(32.9% 0.018 74)

  • #2D3933

    #2D3933

    oklch(33.2% 0.019 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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