#40786B

Closest named color: Bluegreen (#017A79). oklch(53% 0.063 176.9), rgb(64, 120, 107).

Aa

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

About this color

#40786B is a medium-dark, muted teal or cyan. In OKLCH its lightness is 53%, its chroma 0.063 and its hue 177°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.035 away. White text reads best on it, at 5.10:1.

Hue familyTeals and cyans
Lightnessmedium-dark (53%)
Chromamuted (0.063)
Temperaturecool
Nearest nameBluegreen (#017A79)
Black text4.11:1
White text5.10:1

Values

HEX#40786B
RGBrgb(64, 120, 107)
HSLhsl(166, 30%, 36%)
OKLCHoklch(53% 0.063 176.9)

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 #40786B 5.10:1 AA Lc -80.5 Fine for body text
Black text on #40786B 4.11:1 AA large text Lc 29.0 Dividers and decoration only
#40786B text on white 5.10:1 AA Lc 75.1 Fine for body text
#40786B text on black 4.11:1 AA large text Lc -26.6 Dividers and decoration only

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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E4ECEA

    oklch(93.6% 0.009 179.6)

  3. Step 200

    200

    #CFDDD9

    oklch(88.6% 0.016 177)

  4. Step 300

    300

    #AEC7C0

    oklch(80.9% 0.029 176.9)

  5. Step 400

    400

    #83AAA0

    oklch(70.6% 0.045 177.5)

  6. Step 500

    500

    #629589

    oklch(63% 0.058 177.9)

  7. Step 600

    600 (this color)

    #40786B

    oklch(53% 0.063 176.9)

  8. Step 700

    700

    #396C60

    oklch(49.2% 0.059 176.7)

  9. Step 800

    800

    #2F584E

    oklch(42.7% 0.05 176.3)

  10. Step 900

    900

    #2B4841

    oklch(37.6% 0.037 177.2)

  11. Step 950

    950

    #192A26

    oklch(26.9% 0.024 178)

Export this scale for Tailwind in the Tailwind colors tool

#40786B 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)#74726A0.066
Deuteranopia (no green cones)#6B6B6C0.064
Tritanopia (no blue cones)#2B79740.019
Achromatopsia (no color)#6E6E6E0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #40786B

    #40786B

    oklch(53% 0.063 176.9)

  • #8A5C6C

    #8A5C6C

    oklch(52.9% 0.064 357)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40786B

    #40786B

    oklch(53% 0.063 176.9)

  • #537656

    #537656

    oklch(53% 0.064 146.8)

  • #3A767E

    #3A767E

    oklch(52.9% 0.063 206.9)

Open the analogous palette in the generator

Split complementary

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

  • #40786B

    #40786B

    oklch(53% 0.063 176.9)

  • #805F7F

    #805F7F

    oklch(53.1% 0.063 327.4)

  • #8D5E58

    #8D5E58

    oklch(53.1% 0.063 27.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40786B

    #40786B

    oklch(53% 0.063 176.9)

  • #6F648C

    #6F648C

    oklch(52.9% 0.063 296.8)

  • #886347

    #886347

    oklch(53.1% 0.063 58)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40786B

    #40786B

    oklch(53% 0.063 176.9)

  • #5B6B91

    #5B6B91

    oklch(53% 0.063 266.6)

  • #8A5C6C

    #8A5C6C

    oklch(52.9% 0.064 357)

  • #7C6A40

    #7C6A40

    oklch(53.1% 0.063 87.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40786B 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.