#2A303D

Closest named color: Gunmetal (#293241). oklch(30.9% 0.025 265.5), rgb(42, 48, 61).

Aa

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

About this color

#2A303D is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.008 away. White text reads best on it, at 13.21:1.

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.58:1
White text13.21:1

Values

HEX#2A303D
RGBrgb(42, 48, 61)
HSLhsl(221, 18%, 20%)
OKLCHoklch(30.9% 0.025 265.5)

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 #2A303D 13.21:1 AAA Lc -102.8 Preferred for body text
Black text on #2A303D 1.58:1 Fails Lc 0.0 Not readable
#2A303D text on white 13.21:1 AAA Lc 99.6 Preferred for body text
#2A303D text on black 1.58: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 950.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B7C1D4

    oklch(80.9% 0.029 263.4)

  5. Step 400

    400

    #93A1BF

    oklch(70.8% 0.047 265.5)

  6. Step 500

    500

    #7889AF

    oklch(63.1% 0.061 265.9)

  7. Step 600

    600

    #61739A

    oklch(55.6% 0.065 265.2)

  8. Step 700

    700

    #506084

    oklch(49.1% 0.061 265.7)

  9. Step 800

    800

    #424F6B

    oklch(42.8% 0.05 265.1)

  10. Step 900

    900

    #384157

    oklch(37.7% 0.04 267.2)

  11. Step 950

    950 (this color)

    #2A303D

    oklch(30.9% 0.025 265.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A303D 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)#2C313E0.005
Deuteranopia (no green cones)#2A2F3D0.003
Tritanopia (no blue cones)#2533340.024
Achromatopsia (no color)#3030300.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A303D

    #2A303D

    oklch(30.9% 0.025 265.5)

  • #362F22

    #362F22

    oklch(30.9% 0.024 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A303D

    #2A303D

    oklch(30.9% 0.025 265.5)

  • #24323B

    #24323B

    oklch(30.8% 0.025 236.8)

  • #312E3C

    #312E3C

    oklch(31% 0.025 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A303D

    #2A303D

    oklch(30.9% 0.025 265.5)

  • #3A2D24

    #3A2D24

    oklch(30.9% 0.025 56.3)

  • #2F3223

    #2F3223

    oklch(30.9% 0.026 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A303D

    #2A303D

    oklch(30.9% 0.025 265.5)

  • #3C2B2A

    #3C2B2A

    oklch(30.9% 0.025 22.5)

  • #283428

    #283428

    oklch(31% 0.027 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A303D

    #2A303D

    oklch(30.9% 0.025 265.5)

  • #3B2B31

    #3B2B31

    oklch(31% 0.026 354.3)

  • #362F22

    #362F22

    oklch(30.9% 0.024 82.8)

  • #23342F

    #23342F

    oklch(30.8% 0.024 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A303D 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.