#405F8F

Closest named color: Dusky Blue (#475F94). oklch(48.4% 0.086 258.9), rgb(64, 95, 143).

Aa

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

About this color

#405F8F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.086 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.012 away. White text reads best on it, at 6.45:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.25:1
White text6.45:1

Values

HEX#405F8F
RGBrgb(64, 95, 143)
HSLhsl(216, 38%, 41%)
OKLCHoklch(48.4% 0.086 258.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 #405F8F 6.45:1 AA Lc -87.0 Fine for body text
Black text on #405F8F 3.25:1 AA large text Lc 22.1 Dividers and decoration only
#405F8F text on white 6.45:1 AA Lc 81.9 Fine for body text
#405F8F text on black 3.25:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B1C2DC

    oklch(81% 0.041 258.8)

  5. Step 400

    400

    #88A2CB

    oklch(70.7% 0.067 259.4)

  6. Step 500

    500

    #6A8BBD

    oklch(63.2% 0.085 258.5)

  7. Step 600

    600

    #5174A9

    oklch(55.6% 0.092 258.5)

  8. Step 700

    700 (this color)

    #405F8F

    oklch(48.4% 0.086 258.9)

  9. Step 800

    800

    #374F76

    oklch(42.6% 0.072 259.8)

  10. Step 900

    900

    #2F425F

    oklch(37.7% 0.056 258.6)

  11. Step 950

    950

    #1C2738

    oklch(27.1% 0.035 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#405F8F 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)#4C62910.018
Deuteranopia (no green cones)#425B8E0.011
Tritanopia (no blue cones)#136A700.078
Achromatopsia (no color)#5E5E5E0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F8F

    #405F8F

    oklch(48.4% 0.086 258.9)

  • #79581D

    #79581D

    oklch(48.4% 0.086 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F8F

    #405F8F

    oklch(48.4% 0.086 258.9)

  • #196785

    #196785

    oklch(48.3% 0.086 229.1)

  • #5D568C

    #5D568C

    oklch(48.4% 0.086 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #405F8F

    #405F8F

    oklch(48.4% 0.086 258.9)

  • #864F30

    #864F30

    oklch(48.5% 0.087 49.1)

  • #636221

    #636221

    oklch(48.3% 0.086 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F8F

    #405F8F

    oklch(48.4% 0.086 258.9)

  • #89494B

    #89494B

    oklch(48.4% 0.087 18.8)

  • #456A3A

    #456A3A

    oklch(48.4% 0.085 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F8F

    #405F8F

    oklch(48.4% 0.086 258.9)

  • #824966

    #824966

    oklch(48.3% 0.086 349)

  • #79581D

    #79581D

    oklch(48.4% 0.086 78.3)

  • #1D6E56

    #1D6E56

    oklch(48.4% 0.086 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405F8F 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.