#40708F

Closest named color: Metallic Blue (#4F738E). oklch(52.4% 0.072 238.5), rgb(64, 112, 143).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameMetallic Blue (#4F738E)
Black text3.93:1
White text5.34:1

Values

HEX#40708F
RGBrgb(64, 112, 143)
HSLhsl(204, 38%, 41%)
OKLCHoklch(52.4% 0.072 238.5)

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 #40708F 5.34:1 AA Lc -81.8 Fine for body text
Black text on #40708F 3.93:1 AA large text Lc 27.6 Dividers and decoration only
#40708F text on white 5.34:1 AA Lc 76.5 Fine for body text
#40708F text on black 3.93:1 AA large text Lc -25.3 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

    #CFDBE4

    oklch(88.5% 0.018 240)

  4. Step 300

    300

    #AEC4D3

    oklch(80.8% 0.032 237.7)

  5. Step 400

    400

    #83A6BE

    oklch(70.8% 0.052 238.4)

  6. Step 500

    500

    #6390AD

    oklch(63.2% 0.066 237.5)

  7. Step 600

    600 (this color)

    #40708F

    oklch(52.4% 0.072 238.5)

  8. Step 700

    700

    #3A6682

    oklch(49.1% 0.066 238.1)

  9. Step 800

    800

    #31536A

    oklch(42.6% 0.055 239.5)

  10. Step 900

    900

    #2B4556

    oklch(37.7% 0.043 238.1)

  11. Step 950

    950

    #1A2832

    oklch(26.9% 0.027 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#40708F 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)#6270900.041
Deuteranopia (no green cones)#57678E0.035
Tritanopia (no blue cones)#09787A0.058
Achromatopsia (no color)#6B6B6B0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #40708F

    #40708F

    oklch(52.4% 0.072 238.5)

  • #89603F

    #89603F

    oklch(52.5% 0.071 59.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40708F

    #40708F

    oklch(52.4% 0.072 238.5)

  • #2E7680

    #2E7680

    oklch(52.5% 0.072 207.8)

  • #596994

    #596994

    oklch(52.6% 0.071 268.2)

Open the analogous palette in the generator

Split complementary

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

  • #40708F

    #40708F

    oklch(52.4% 0.072 238.5)

  • #8F5A52

    #8F5A52

    oklch(52.4% 0.072 29.1)

  • #7B6837

    #7B6837

    oklch(52.4% 0.072 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40708F

    #40708F

    oklch(52.4% 0.072 238.5)

  • #8C5869

    #8C5869

    oklch(52.3% 0.072 358.8)

  • #66703F

    #66703F

    oklch(52.4% 0.072 118.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40708F

    #40708F

    oklch(52.4% 0.072 238.5)

  • #815B7F

    #815B7F

    oklch(52.4% 0.072 328.3)

  • #89603F

    #89603F

    oklch(52.5% 0.071 59.2)

  • #4C7653

    #4C7653

    oklch(52.5% 0.072 148.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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