#40877D

Closest named color: Dark Cyan (#008B8B). oklch(57.5% 0.073 183.3), rgb(64, 135, 125).

Aa

Black text reads best on this color (4.97:1).

About this color

#40877D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 57%, its chroma 0.073 and its hue 183°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.030 away. Black text reads best on it, at 4.97:1.

Hue familyTeals and cyans
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDark Cyan (#008B8B)
Black text4.97:1
White text4.21:1

Values

HEX#40877D
RGBrgb(64, 135, 125)
HSLhsl(172, 36%, 39%)
OKLCHoklch(57.5% 0.073 183.3)

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 #40877D 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #40877D 4.97:1 AA Lc 35.2 Non-text elements, placeholder text
#40877D text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#40877D text on black 4.97:1 AA Lc -32.7 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CDDDDA

    oklch(88.5% 0.018 183.5)

  4. Step 300

    300

    #AAC8C3

    oklch(80.9% 0.033 184.4)

  5. Step 400

    400

    #7CACA4

    oklch(70.8% 0.053 183.4)

  6. Step 500

    500

    #58978D

    oklch(63.1% 0.067 182.8)

  7. Step 600

    600 (this color)

    #40877D

    oklch(57.5% 0.073 183.3)

  8. Step 700

    700

    #2C6D65

    oklch(49% 0.067 184.3)

  9. Step 800

    800

    #265952

    oklch(42.7% 0.056 183.5)

  10. Step 900

    900

    #244944

    oklch(37.6% 0.044 184.3)

  11. Step 950

    950

    #162B28

    oklch(27% 0.028 184.2)

Export this scale for Tailwind in the Tailwind colors tool

#40877D 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)#81807D0.078
Deuteranopia (no green cones)#76787E0.074
Tritanopia (no blue cones)#1889840.023
Achromatopsia (no color)#7B7B7B0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #40877D

    #40877D

    oklch(57.5% 0.073 183.3)

  • #9E6674

    #9E6674

    oklch(57.4% 0.074 3.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40877D

    #40877D

    oklch(57.5% 0.073 183.3)

  • #568664

    #568664

    oklch(57.6% 0.074 152.8)

  • #3E8493

    #3E8493

    oklch(57.4% 0.074 213.7)

Open the analogous palette in the generator

Split complementary

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

  • #40877D

    #40877D

    oklch(57.5% 0.073 183.3)

  • #93688B

    #93688B

    oklch(57.3% 0.074 333.2)

  • #9F695C

    #9F695C

    oklch(57.5% 0.073 34.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40877D

    #40877D

    oklch(57.5% 0.073 183.3)

  • #826E9D

    #826E9D

    oklch(57.5% 0.074 303.6)

  • #986F4A

    #986F4A

    oklch(57.5% 0.074 62.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40877D

    #40877D

    oklch(57.5% 0.073 183.3)

  • #6A76A4

    #6A76A4

    oklch(57.4% 0.073 272.7)

  • #9E6674

    #9E6674

    oklch(57.4% 0.074 3.4)

  • #877844

    #877844

    oklch(57.4% 0.073 93.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40877D 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.