#303945

Closest named color: Onyx (#343A40). oklch(34.1% 0.024 255.7), rgb(48, 57, 69).

Aa

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

About this color

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

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

Values

HEX#303945
RGBrgb(48, 57, 69)
HSLhsl(214, 18%, 23%)
OKLCHoklch(34.1% 0.024 255.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 #303945 11.68:1 AAA Lc -100.5 Preferred for body text
Black text on #303945 1.79:1 Fails Lc 0.0 Not readable
#303945 text on white 11.68:1 AAA Lc 96.9 Preferred for body text
#303945 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #B9C1CD

    oklch(80.8% 0.019 258.4)

  5. Step 400

    400

    #95A2B3

    oklch(70.8% 0.029 255.1)

  6. Step 500

    500

    #7B8BA0

    oklch(63.1% 0.037 255.3)

  7. Step 600

    600

    #64758B

    oklch(55.7% 0.04 255)

  8. Step 700

    700

    #536276

    oklch(49.1% 0.037 255.7)

  9. Step 800

    800

    #445060

    oklch(42.7% 0.031 255.7)

  10. Step 900

    900 (this color)

    #303945

    oklch(34.1% 0.024 255.7)

  11. Step 950

    950

    #22272E

    oklch(27.1% 0.015 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#303945 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)#3539460.008
Deuteranopia (no green cones)#3337450.008
Tritanopia (no blue cones)#2A3C3D0.022
Achromatopsia (no color)#3838380.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #303945

    #303945

    oklch(34.1% 0.024 255.7)

  • #40372A

    #40372A

    oklch(34.2% 0.025 76.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303945

    #303945

    oklch(34.1% 0.024 255.7)

  • #2B3B42

    #2B3B42

    oklch(34.1% 0.024 226.6)

  • #373745

    #373745

    oklch(34.3% 0.024 285)

Open the analogous palette in the generator

Split complementary

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

  • #303945

    #303945

    oklch(34.1% 0.024 255.7)

  • #43352E

    #43352E

    oklch(34.2% 0.023 48)

  • #3A392B

    #3A392B

    oklch(34.1% 0.023 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303945

    #303945

    oklch(34.1% 0.024 255.7)

  • #443334

    #443334

    oklch(34% 0.025 14.5)

  • #333B2F

    #333B2F

    oklch(34.1% 0.023 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303945

    #303945

    oklch(34.1% 0.024 255.7)

  • #42333B

    #42333B

    oklch(34.1% 0.025 345.2)

  • #40372A

    #40372A

    oklch(34.2% 0.025 76.8)

  • #2C3C35

    #2C3C35

    oklch(34% 0.024 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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