#304142

Closest named color: Charcoal Grey (#3C4142). oklch(36.1% 0.022 200.7), rgb(48, 65, 66).

Aa

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

About this color

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

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

Values

HEX#304142
RGBrgb(48, 65, 66)
HSLhsl(183, 16%, 22%)
OKLCHoklch(36.1% 0.022 200.7)

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

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D3DBDB

    oklch(88.5% 0.009 197)

  4. Step 300

    300

    #B5C4C5

    oklch(80.9% 0.017 201.7)

  5. Step 400

    400

    #8EA6A7

    oklch(70.7% 0.027 199.7)

  6. Step 500

    500

    #729092

    oklch(63.1% 0.034 201.4)

  7. Step 600

    600

    #5A7A7C

    oklch(55.6% 0.037 201)

  8. Step 700

    700

    #4A6768

    oklch(49.1% 0.034 198.8)

  9. Step 800

    800

    #3D5455

    oklch(42.7% 0.028 199.5)

  10. Step 900

    900 (this color)

    #304142

    oklch(36.1% 0.022 200.7)

  11. Step 950

    950

    #1F2929

    oklch(27.1% 0.014 196.4)

Export this scale for Tailwind in the Tailwind colors tool

#304142 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)#3F3F420.023
Deuteranopia (no green cones)#3B3D420.020
Tritanopia (no blue cones)#2A42410.009
Achromatopsia (no color)#3E3E3E0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #304142

    #304142

    oklch(36.1% 0.022 200.7)

  • #483938

    #483938

    oklch(36% 0.021 22.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #304142

    #304142

    oklch(36.1% 0.022 200.7)

  • #32413C

    #32413C

    oklch(36% 0.021 172.7)

  • #324047

    #324047

    oklch(36.2% 0.022 229.7)

Open the analogous palette in the generator

Split complementary

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

  • #304142

    #304142

    oklch(36.1% 0.022 200.7)

  • #47393F

    #47393F

    oklch(36.2% 0.022 350.6)

  • #473A33

    #473A33

    oklch(36% 0.022 49.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #304142

    #304142

    oklch(36.1% 0.022 200.7)

  • #433A45

    #433A45

    oklch(36.2% 0.022 320.1)

  • #433C31

    #433C31

    oklch(36% 0.021 79.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #304142

    #304142

    oklch(36.1% 0.022 200.7)

  • #3D3C48

    #3D3C48

    oklch(36.2% 0.021 289.2)

  • #483938

    #483938

    oklch(36% 0.021 22.7)

  • #3E3F31

    #3E3F31

    oklch(36.2% 0.023 110.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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