#2A4043

Closest named color: Onyx (#343A40). oklch(35.4% 0.028 206.6), rgb(42, 64, 67).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.91:1
White text10.97:1

Values

HEX#2A4043
RGBrgb(42, 64, 67)
HSLhsl(187, 23%, 21%)
OKLCHoklch(35.4% 0.028 206.6)

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 #2A4043 10.97:1 AAA Lc -99.2 Preferred for body text
Black text on #2A4043 1.91:1 Fails Lc 8.5 Not readable
#2A4043 text on white 10.97:1 AAA Lc 95.4 Preferred for body text
#2A4043 text on black 1.91: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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDD

    oklch(88.4% 0.011 211)

  4. Step 300

    300

    #B2C5C7

    oklch(81% 0.021 204.4)

  5. Step 400

    400

    #89A7AB

    oklch(70.7% 0.034 206.4)

  6. Step 500

    500

    #6B9196

    oklch(63% 0.043 206.2)

  7. Step 600

    600

    #527B81

    oklch(55.5% 0.046 207.4)

  8. Step 700

    700

    #42686D

    oklch(49.1% 0.044 206.3)

  9. Step 800

    800

    #375559

    oklch(42.8% 0.036 206.4)

  10. Step 900

    900 (this color)

    #2A4043

    oklch(35.4% 0.028 206.6)

  11. Step 950

    950

    #1C292B

    oklch(27% 0.018 207.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A4043 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)#3D3E430.028
Deuteranopia (no green cones)#383B430.025
Tritanopia (no blue cones)#2142410.013
Achromatopsia (no color)#3C3C3C0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4043

    #2A4043

    oklch(35.4% 0.028 206.6)

  • #493634

    #493634

    oklch(35.4% 0.028 25.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4043

    #2A4043

    oklch(35.4% 0.028 206.6)

  • #2C413B

    #2C413B

    oklch(35.6% 0.029 175)

  • #2E3E49

    #2E3E49

    oklch(35.5% 0.028 238.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A4043

    #2A4043

    oklch(35.4% 0.028 206.6)

  • #48363C

    #48363C

    oklch(35.5% 0.027 356.7)

  • #47382D

    #47382D

    oklch(35.4% 0.028 57.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4043

    #2A4043

    oklch(35.4% 0.028 206.6)

  • #443743

    #443743

    oklch(35.5% 0.027 328.6)

  • #423B2B

    #423B2B

    oklch(35.5% 0.028 87.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4043

    #2A4043

    oklch(35.4% 0.028 206.6)

  • #3D3949

    #3D3949

    oklch(35.5% 0.028 296.4)

  • #493634

    #493634

    oklch(35.4% 0.028 25.4)

  • #3B3E2D

    #3B3E2D

    oklch(35.6% 0.028 116)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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