#303A3E

Closest named color: Onyx (#343A40). oklch(34.1% 0.015 224), rgb(48, 58, 62).

Aa

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

About this color

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

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

Values

HEX#303A3E
RGBrgb(48, 58, 62)
HSLhsl(197, 13%, 22%)
OKLCHoklch(34.1% 0.015 224)

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 #303A3E 11.66:1 AAA Lc -100.5 Preferred for body text
Black text on #303A3E 1.80:1 Fails Lc 0.0 Not readable
#303A3E text on white 11.66:1 AAA Lc 96.8 Preferred for body text
#303A3E text on black 1.80: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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E8EAEB

    oklch(93.6% 0.003 228.8)

  3. Step 200

    200

    #D5DADC

    oklch(88.5% 0.006 223.5)

  4. Step 300

    300

    #B9C2C6

    oklch(80.8% 0.011 226)

  5. Step 400

    400

    #95A3A9

    oklch(70.6% 0.018 225.3)

  6. Step 500

    500

    #7B8D94

    oklch(63.1% 0.023 223.2)

  7. Step 600

    600

    #64777E

    oklch(55.6% 0.025 222.1)

  8. Step 700

    700

    #53646B

    oklch(49.2% 0.024 224.7)

  9. Step 800

    800

    #445157

    oklch(42.6% 0.019 227.4)

  10. Step 900

    900 (this color)

    #303A3E

    oklch(34.1% 0.015 224)

  11. Step 950

    950

    #22282A

    oklch(27.2% 0.009 219.8)

Export this scale for Tailwind in the Tailwind colors tool

#303A3E 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)#38393E0.013
Deuteranopia (no green cones)#36383E0.011
Tritanopia (no blue cones)#2C3B3B0.010
Achromatopsia (no color)#3838380.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #303A3E

    #303A3E

    oklch(34.1% 0.015 224)

  • #3F3632

    #3F3632

    oklch(34.1% 0.015 45.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303A3E

    #303A3E

    oklch(34.1% 0.015 224)

  • #2F3B3A

    #2F3B3A

    oklch(34.1% 0.016 190.2)

  • #333940

    #333940

    oklch(34.2% 0.015 252.3)

Open the analogous palette in the generator

Split complementary

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

  • #303A3E

    #303A3E

    oklch(34.1% 0.015 224)

  • #403536

    #403536

    oklch(34.1% 0.016 11.8)

  • #3D3730

    #3D3730

    oklch(34.1% 0.015 71.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303A3E

    #303A3E

    oklch(34.1% 0.015 224)

  • #3E353A

    #3E353A

    oklch(34% 0.015 343.4)

  • #393930

    #393930

    oklch(34.2% 0.015 107.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303A3E

    #303A3E

    oklch(34.1% 0.015 224)

  • #3B363E

    #3B363E

    oklch(34.1% 0.015 313)

  • #3F3632

    #3F3632

    oklch(34.1% 0.015 45.4)

  • #353A32

    #353A32

    oklch(34.1% 0.015 133.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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