#40728F

Closest named color: Metallic Blue (#4F738E). oklch(52.9% 0.071 235.7), rgb(64, 114, 143).

Aa

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

About this color

#40728F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.071 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Metallic Blue (#4F738E), ΔE 0.017 away. White text reads best on it, at 5.22:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameMetallic Blue (#4F738E)
Black text4.02:1
White text5.22:1

Values

HEX#40728F
RGBrgb(64, 114, 143)
HSLhsl(202, 38%, 41%)
OKLCHoklch(52.9% 0.071 235.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 #40728F 5.22:1 AA Lc -81.1 Fine for body text
Black text on #40728F 4.02:1 AA large text Lc 28.3 Dividers and decoration only
#40728F text on white 5.22:1 AA Lc 75.8 Fine for body text
#40728F text on black 4.02:1 AA large text Lc -26.0 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CFDBE3

    oklch(88.5% 0.017 236.7)

  4. Step 300

    300

    #AEC4D3

    oklch(80.8% 0.032 237.7)

  5. Step 400

    400

    #82A6BC

    oklch(70.6% 0.051 235.3)

  6. Step 500

    500

    #6290AC

    oklch(63.1% 0.065 235.9)

  7. Step 600

    600 (this color)

    #40728F

    oklch(52.9% 0.071 235.7)

  8. Step 700

    700

    #396781

    oklch(49.2% 0.066 235)

  9. Step 800

    800

    #305469

    oklch(42.8% 0.054 235.6)

  10. Step 900

    900

    #2B4555

    oklch(37.6% 0.042 236.5)

  11. Step 950

    950

    #192932

    oklch(27.1% 0.027 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#40728F 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)#6471900.043
Deuteranopia (no green cones)#59698F0.037
Tritanopia (no blue cones)#087A7C0.055
Achromatopsia (no color)#6C6C6C0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #40728F

    #40728F

    oklch(52.9% 0.071 235.7)

  • #8B6143

    #8B6143

    oklch(53% 0.07 56.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40728F

    #40728F

    oklch(52.9% 0.071 235.7)

  • #31777F

    #31777F

    oklch(52.8% 0.07 205.5)

  • #586B95

    #586B95

    oklch(53% 0.07 265.4)

Open the analogous palette in the generator

Split complementary

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

  • #40728F

    #40728F

    oklch(52.9% 0.071 235.7)

  • #905B56

    #905B56

    oklch(52.8% 0.071 25.6)

  • #7E6939

    #7E6939

    oklch(53% 0.071 86.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40728F

    #40728F

    oklch(52.9% 0.071 235.7)

  • #8D5A6D

    #8D5A6D

    oklch(52.9% 0.072 355.9)

  • #6A7140

    #6A7140

    oklch(53% 0.071 115.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40728F

    #40728F

    oklch(52.9% 0.071 235.7)

  • #815D82

    #815D82

    oklch(52.9% 0.071 325.6)

  • #8B6143

    #8B6143

    oklch(53% 0.07 56.1)

  • #517752

    #517752

    oklch(53% 0.072 145.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40728F 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.