#304239

Closest named color: Charcoal Grey (#3C4142). oklch(36% 0.028 162.9), rgb(48, 66, 57).

Aa

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

About this color

#304239 is a dark close to neutral grey. In OKLCH its lightness is 36%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.026 away. White text reads best on it, at 10.69:1.

Hue familyNeutrals
Lightnessdark (36%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text1.96:1
White text10.69:1

Values

HEX#304239
RGBrgb(48, 66, 57)
HSLhsl(150, 16%, 22%)
OKLCHoklch(36% 0.028 162.9)

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 #304239 10.69:1 AAA Lc -98.7 Preferred for body text
Black text on #304239 1.96:1 Fails Lc 9.1 Not readable
#304239 text on white 10.69:1 AAA Lc 94.8 Preferred for body text
#304239 text on black 1.96:1 Fails Lc -7.8 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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D3DCD7

    oklch(88.6% 0.012 162)

  4. Step 300

    300

    #B5C5BD

    oklch(80.9% 0.021 164.5)

  5. Step 400

    400

    #8FA79B

    oklch(70.6% 0.032 163.9)

  6. Step 500

    500

    #729282

    oklch(63.1% 0.043 163.2)

  7. Step 600

    600

    #5B7C6B

    oklch(55.6% 0.046 162)

  8. Step 700

    700

    #4A695A

    oklch(49.2% 0.044 163.3)

  9. Step 800

    800

    #3D5549

    oklch(42.6% 0.035 162.7)

  10. Step 900

    900 (this color)

    #304239

    oklch(36% 0.028 162.9)

  11. Step 950

    950

    #1F2924

    oklch(27% 0.017 163.4)

Export this scale for Tailwind in the Tailwind colors tool

#304239 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)#413F390.027
Deuteranopia (no green cones)#3E3D3A0.027
Tritanopia (no blue cones)#2C423F0.011
Achromatopsia (no color)#3E3E3E0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #304239

    #304239

    oklch(36% 0.028 162.9)

  • #483841

    #483841

    oklch(36.1% 0.027 343.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304239

    #304239

    oklch(36% 0.028 162.9)

  • #384132

    #384132

    oklch(36.2% 0.028 133)

  • #2C4241

    #2C4241

    oklch(36% 0.028 192.4)

Open the analogous palette in the generator

Split complementary

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

  • #304239

    #304239

    oklch(36% 0.028 162.9)

  • #423948

    #423948

    oklch(36% 0.028 311.8)

  • #4B3739

    #4B3739

    oklch(36% 0.029 11.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304239

    #304239

    oklch(36% 0.028 162.9)

  • #3B3C4C

    #3B3C4C

    oklch(36.2% 0.028 282.1)

  • #4A3932

    #4A3932

    oklch(36.1% 0.027 43.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304239

    #304239

    oklch(36% 0.028 162.9)

  • #333E4C

    #333E4C

    oklch(36% 0.028 254.6)

  • #483841

    #483841

    oklch(36.1% 0.027 343.7)

  • #463B2D

    #463B2D

    oklch(36% 0.028 73.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #304239 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.