#2A4047

Closest named color: Onyx (#343A40). oklch(35.6% 0.03 219.7), rgb(42, 64, 71).

Aa

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

About this color

#2A4047 is a dark, muted teal or cyan. In OKLCH its lightness is 36%, its chroma 0.030 and its hue 220°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.022 away. White text reads best on it, at 10.92:1.

Hue familyTeals and cyans
Lightnessdark (36%)
Chromamuted (0.030)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.92:1
White text10.92:1

Values

HEX#2A4047
RGBrgb(42, 64, 71)
HSLhsl(194, 26%, 22%)
OKLCHoklch(35.6% 0.03 219.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 #2A4047 10.92:1 AAA Lc -99.1 Preferred for body text
Black text on #2A4047 1.92:1 Fails Lc 8.6 Not readable
#2A4047 text on white 10.92:1 AAA Lc 95.3 Preferred for body text
#2A4047 text on black 1.92:1 Fails Lc -7.4 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBED

    oklch(93.6% 0.007 219.6)

  3. Step 200

    200

    #D1DBDF

    oklch(88.5% 0.012 223.5)

  4. Step 300

    300

    #B1C4CB

    oklch(80.8% 0.023 221.9)

  5. Step 400

    400

    #88A6B0

    oklch(70.6% 0.036 220.1)

  6. Step 500

    500

    #6A909D

    oklch(63% 0.046 221)

  7. Step 600

    600

    #517B88

    oklch(55.7% 0.051 219.3)

  8. Step 700

    700

    #426773

    oklch(49.1% 0.046 220.4)

  9. Step 800

    800

    #36545E

    oklch(42.6% 0.039 220.9)

  10. Step 900

    900 (this color)

    #2A4047

    oklch(35.6% 0.03 219.7)

  11. Step 950

    950

    #1C292D

    oklch(27.1% 0.019 218.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A4047 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)#3C3F470.026
Deuteranopia (no green cones)#373B470.024
Tritanopia (no blue cones)#1F42420.018
Achromatopsia (no color)#3D3D3D0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4047

    #2A4047

    oklch(35.6% 0.03 219.7)

  • #4A3730

    #4A3730

    oklch(35.6% 0.03 41.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4047

    #2A4047

    oklch(35.6% 0.03 219.7)

  • #29413F

    #29413F

    oklch(35.5% 0.03 189.3)

  • #303E4B

    #303E4B

    oklch(35.7% 0.029 246.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A4047

    #2A4047

    oklch(35.6% 0.03 219.7)

  • #4A3639

    #4A3639

    oklch(35.6% 0.029 8.6)

  • #47392B

    #47392B

    oklch(35.6% 0.03 66.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4047

    #2A4047

    oklch(35.6% 0.03 219.7)

  • #473641

    #473641

    oklch(35.6% 0.03 339.8)

  • #403D2A

    #403D2A

    oklch(35.7% 0.031 100.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4047

    #2A4047

    oklch(35.6% 0.03 219.7)

  • #413848

    #413848

    oklch(35.6% 0.03 310.2)

  • #4A3730

    #4A3730

    oklch(35.6% 0.03 41.2)

  • #373F2F

    #373F2F

    oklch(35.5% 0.029 129.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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