#405EAB

Closest named color: Mid Blue (#276AB3). oklch(49.9% 0.128 265.9), rgb(64, 94, 171).

Aa

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

About this color

#405EAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.128 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.036 away. White text reads best on it, at 6.16:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.40:1
White text6.16:1

Values

HEX#405EAB
RGBrgb(64, 94, 171)
HSLhsl(223, 46%, 46%)
OKLCHoklch(49.9% 0.128 265.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 #405EAB 6.16:1 AA Lc -85.7 Fine for body text
Black text on #405EAB 3.40:1 AA large text Lc 23.5 Dividers and decoration only
#405EAB text on white 6.16:1 AA Lc 80.5 Fine for body text
#405EAB text on black 3.40:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F1

    oklch(88.4% 0.035 266)

  4. Step 300

    300

    #AEC0EA

    oklch(80.8% 0.063 266.8)

  5. Step 400

    400

    #839FDF

    oklch(70.6% 0.099 265.8)

  6. Step 500

    500

    #6586D6

    oklch(63.1% 0.127 265.9)

  7. Step 600

    600

    #4D6EC3

    oklch(55.5% 0.137 266.1)

  8. Step 700

    700 (this color)

    #405EAB

    oklch(49.9% 0.128 265.9)

  9. Step 800

    800

    #334B89

    oklch(42.6% 0.107 266.1)

  10. Step 900

    900

    #2D3F6D

    oklch(37.6% 0.082 266.4)

  11. Step 950

    950

    #1A2540

    oklch(26.9% 0.053 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#405EAB 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)#3A67AE0.024
Deuteranopia (no green cones)#295DA90.023
Tritanopia (no blue cones)#006F7C0.108
Achromatopsia (no color)#6161610.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #405EAB

    #405EAB

    oklch(49.9% 0.128 265.9)

  • #7D5E00

    #7D5E00

    oklch(50% 0.102 86.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405EAB

    #405EAB

    oklch(49.9% 0.128 265.9)

  • #006B97

    #006B97

    oklch(49.9% 0.107 235.7)

  • #6A50A2

    #6A50A2

    oklch(49.7% 0.128 296)

Open the analogous palette in the generator

Split complementary

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

  • #405EAB

    #405EAB

    oklch(49.9% 0.128 265.9)

  • #964C00

    #964C00

    oklch(49.8% 0.123 55.4)

  • #606A00

    #606A00

    oklch(49.8% 0.114 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405EAB

    #405EAB

    oklch(49.9% 0.128 265.9)

  • #9F403B

    #9F403B

    oklch(49.9% 0.128 25.8)

  • #267532

    #267532

    oklch(49.8% 0.127 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405EAB

    #405EAB

    oklch(49.9% 0.128 265.9)

  • #993E65

    #993E65

    oklch(49.8% 0.129 356)

  • #7D5E00

    #7D5E00

    oklch(50% 0.102 86.1)

  • #007461

    #007461

    oklch(49.9% 0.093 176)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #405EAB.

Similar named colors

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

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