#405EA1

Closest named color: Dusky Blue (#475F94). oklch(49.2% 0.113 264.4), rgb(64, 94, 161).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.33:1
White text6.29:1

Values

HEX#405EA1
RGBrgb(64, 94, 161)
HSLhsl(221, 43%, 44%)
OKLCHoklch(49.2% 0.113 264.4)

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 #405EA1 6.29:1 AA Lc -86.3 Fine for body text
Black text on #405EA1 3.33:1 AA large text Lc 22.9 Dividers and decoration only
#405EA1 text on white 6.29:1 AA Lc 81.2 Fine for body text
#405EA1 text on black 3.33:1 AA large text Lc -20.7 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

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #CFD9EE

    oklch(88.4% 0.031 265.3)

  4. Step 300

    300

    #AFC1E5

    oklch(80.9% 0.055 264.2)

  5. Step 400

    400

    #85A0D8

    oklch(70.7% 0.088 264.4)

  6. Step 500

    500

    #6788CD

    oklch(63.2% 0.111 264)

  7. Step 600

    600

    #4F70BA

    oklch(55.5% 0.122 264.6)

  8. Step 700

    700 (this color)

    #405EA1

    oklch(49.2% 0.113 264.4)

  9. Step 800

    800

    #354D82

    oklch(42.8% 0.093 264.4)

  10. Step 900

    900

    #2E4068

    oklch(37.6% 0.073 264.8)

  11. Step 950

    950

    #1B263D

    oklch(27% 0.046 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#405EA1 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)#4165A40.020
Deuteranopia (no green cones)#345CA00.015
Tritanopia (no blue cones)#006D770.100
Achromatopsia (no color)#6060600.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #405EA1

    #405EA1

    oklch(49.2% 0.113 264.4)

  • #7C5B00

    #7C5B00

    oklch(49.2% 0.101 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405EA1

    #405EA1

    oklch(49.2% 0.113 264.4)

  • #006993

    #006993

    oklch(49.2% 0.104 234.9)

  • #66529A

    #66529A

    oklch(49.2% 0.113 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #405EA1

    #405EA1

    oklch(49.2% 0.113 264.4)

  • #914C13

    #914C13

    oklch(49.2% 0.114 54.1)

  • #606700

    #606700

    oklch(49.1% 0.111 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405EA1

    #405EA1

    oklch(49.2% 0.113 264.4)

  • #974340

    #974340

    oklch(49.2% 0.114 24.2)

  • #327135

    #327135

    oklch(49.2% 0.113 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405EA1

    #405EA1

    oklch(49.2% 0.113 264.4)

  • #914265

    #914265

    oklch(49.2% 0.114 354.3)

  • #7C5B00

    #7C5B00

    oklch(49.2% 0.101 83.9)

  • #00725D

    #00725D

    oklch(49.3% 0.094 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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