#2A4F52

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.1% 0.043 202.4), rgb(42, 79, 82).

Aa

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

About this color

#2A4F52 is a dark, muted teal or cyan. In OKLCH its lightness is 40%, its chroma 0.043 and its hue 202°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.007 away. White text reads best on it, at 8.97:1.

Hue familyTeals and cyans
Lightnessdark (40%)
Chromamuted (0.043)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.33:1
White text8.97:1

Values

HEX#2A4F52
RGBrgb(42, 79, 82)
HSLhsl(185, 32%, 24%)
OKLCHoklch(40.1% 0.043 202.4)

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 #2A4F52 8.97:1 AAA Lc -94.9 Preferred for body text
Black text on #2A4F52 2.33:1 Fails Lc 13.5 Not readable
#2A4F52 text on white 8.97:1 AAA Lc 90.5 Preferred for body text
#2A4F52 text on black 2.33:1 Fails Lc -11.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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEC

    oklch(93.6% 0.01 197)

  3. Step 200

    200

    #CCDDDE

    oklch(88.5% 0.018 201.1)

  4. Step 300

    300

    #AAC7C9

    oklch(80.9% 0.031 201.7)

  5. Step 400

    400

    #7BABAE

    oklch(70.8% 0.051 200.9)

  6. Step 500

    500

    #56959B

    oklch(63% 0.066 203.5)

  7. Step 600

    600

    #398085

    oklch(55.7% 0.071 201.6)

  8. Step 700

    700

    #2A6C71

    oklch(49.2% 0.066 202.1)

  9. Step 800

    800

    #25585C

    oklch(42.8% 0.055 202.3)

  10. Step 900

    900 (this color)

    #2A4F52

    oklch(40.1% 0.043 202.4)

  11. Step 950

    950

    #162A2C

    oklch(26.9% 0.026 203.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A4F52 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)#4A4C520.043
Deuteranopia (no green cones)#4347520.040
Tritanopia (no blue cones)#1652500.019
Achromatopsia (no color)#4949490.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4F52

    #2A4F52

    oklch(40.1% 0.043 202.4)

  • #5D3F3D

    #5D3F3D

    oklch(40.1% 0.043 23.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4F52

    #2A4F52

    oklch(40.1% 0.043 202.4)

  • #2F5045

    #2F5045

    oklch(40.2% 0.043 170.9)

  • #304C5B

    #304C5B

    oklch(40.1% 0.042 232.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A4F52

    #2A4F52

    oklch(40.1% 0.043 202.4)

  • #5A3F4A

    #5A3F4A

    oklch(40.2% 0.041 352.9)

  • #5B4232

    #5B4232

    oklch(40.2% 0.043 53.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4F52

    #2A4F52

    oklch(40.1% 0.043 202.4)

  • #534056

    #534056

    oklch(40% 0.044 321.8)

  • #54462D

    #54462D

    oklch(40.2% 0.043 81.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4F52

    #2A4F52

    oklch(40.1% 0.043 202.4)

  • #48445D

    #48445D

    oklch(40.1% 0.042 291.7)

  • #5D3F3D

    #5D3F3D

    oklch(40.1% 0.043 23.4)

  • #484B2F

    #484B2F

    oklch(40.2% 0.044 113.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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