#303B2F

Closest named color: Onyx (#343A40). oklch(33.8% 0.025 142.8), rgb(48, 59, 47).

Aa

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

About this color

#303B2F is a dark close to neutral grey. In OKLCH its lightness is 34%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.032 away. White text reads best on it, at 11.71:1.

Hue familyNeutrals
Lightnessdark (34%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.79:1
White text11.71:1

Values

HEX#303B2F
RGBrgb(48, 59, 47)
HSLhsl(115, 11%, 21%)
OKLCHoklch(33.8% 0.025 142.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 #303B2F 11.71:1 AAA Lc -100.6 Preferred for body text
Black text on #303B2F 1.79:1 Fails Lc 0.0 Not readable
#303B2F text on white 11.71:1 AAA Lc 96.9 Preferred for body text
#303B2F text on black 1.79: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D5DBD5

    oklch(88.5% 0.01 145.5)

  4. Step 300

    300

    #BAC4B9

    oklch(80.9% 0.019 142.8)

  5. Step 400

    400

    #96A695

    oklch(70.8% 0.03 143.6)

  6. Step 500

    500

    #7C907A

    oklch(63.1% 0.04 142.6)

  7. Step 600

    600

    #657A63

    oklch(55.6% 0.043 142.7)

  8. Step 700

    700

    #546752

    oklch(49.2% 0.04 142.4)

  9. Step 800

    800

    #455443

    oklch(42.8% 0.033 141.8)

  10. Step 900

    900 (this color)

    #303B2F

    oklch(33.8% 0.025 142.8)

  11. Step 950

    950

    #222921

    oklch(27.1% 0.018 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#303B2F 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)#3C392E0.020
Deuteranopia (no green cones)#3A38300.019
Tritanopia (no blue cones)#2F3A380.017
Achromatopsia (no color)#3838380.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #303B2F

    #303B2F

    oklch(33.8% 0.025 142.8)

  • #3E333F

    #3E333F

    oklch(33.8% 0.026 323.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303B2F

    #303B2F

    oklch(33.8% 0.025 142.8)

  • #37392A

    #37392A

    oklch(33.8% 0.025 113.9)

  • #2A3C36

    #2A3C36

    oklch(33.8% 0.026 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #303B2F

    #303B2F

    oklch(33.8% 0.025 142.8)

  • #383544

    #383544

    oklch(33.8% 0.026 294.1)

  • #423239

    #423239

    oklch(33.8% 0.026 350.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303B2F

    #303B2F

    oklch(33.8% 0.025 142.8)

  • #313845

    #313845

    oklch(34% 0.025 262.8)

  • #443231

    #443231

    oklch(33.7% 0.026 22.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303B2F

    #303B2F

    oklch(33.8% 0.025 142.8)

  • #2A3A43

    #2A3A43

    oklch(33.8% 0.026 233.2)

  • #3E333F

    #3E333F

    oklch(33.8% 0.026 323.5)

  • #42342B

    #42342B

    oklch(33.8% 0.025 54.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #303B2F 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.