#405DA4

Closest named color: Dusky Blue (#475F94). oklch(49.2% 0.119 265.5), rgb(64, 93, 164).

Aa

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

About this color

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

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

Values

HEX#405DA4
RGBrgb(64, 93, 164)
HSLhsl(223, 44%, 45%)
OKLCHoklch(49.2% 0.119 265.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 #405DA4 6.32:1 AA Lc -86.4 Fine for body text
Black text on #405DA4 3.31:1 AA large text Lc 22.8 Dividers and decoration only
#405DA4 text on white 6.32:1 AA Lc 81.3 Fine for body text
#405DA4 text on black 3.31:1 AA large text Lc -20.6 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

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFD9EF

    oklch(88.4% 0.032 266.1)

  4. Step 300

    300

    #AFC1E7

    oklch(81% 0.057 265.2)

  5. Step 400

    400

    #85A0DB

    oklch(70.8% 0.092 265.2)

  6. Step 500

    500

    #6787D1

    oklch(63.2% 0.118 265.4)

  7. Step 600

    600

    #4F6FBE

    oklch(55.6% 0.128 265.8)

  8. Step 700

    700 (this color)

    #405DA4

    oklch(49.2% 0.119 265.5)

  9. Step 800

    800

    #354C85

    oklch(42.7% 0.099 265.8)

  10. Step 900

    900

    #2E406A

    oklch(37.7% 0.076 265.4)

  11. Step 950

    950

    #1B263E

    oklch(27.1% 0.048 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#405DA4 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)#3D64A70.019
Deuteranopia (no green cones)#2F5BA30.020
Tritanopia (no blue cones)#006D780.104
Achromatopsia (no color)#6060600.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #405DA4

    #405DA4

    oklch(49.2% 0.119 265.5)

  • #7B5C00

    #7B5C00

    oklch(49.3% 0.101 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405DA4

    #405DA4

    oklch(49.2% 0.119 265.5)

  • #006994

    #006994

    oklch(49.2% 0.105 235.5)

  • #67509C

    #67509C

    oklch(49.1% 0.119 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #405DA4

    #405DA4

    oklch(49.2% 0.119 265.5)

  • #924B05

    #924B05

    oklch(49.1% 0.119 55.5)

  • #5F6800

    #5F6800

    oklch(49.3% 0.112 115.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405DA4

    #405DA4

    oklch(49.2% 0.119 265.5)

  • #99413C

    #99413C

    oklch(49.1% 0.119 25.7)

  • #2B7233

    #2B7233

    oklch(49.2% 0.12 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405DA4

    #405DA4

    oklch(49.2% 0.119 265.5)

  • #934064

    #934064

    oklch(49.2% 0.119 355.2)

  • #7B5C00

    #7B5C00

    oklch(49.3% 0.101 85.6)

  • #00725E

    #00725E

    oklch(49.3% 0.093 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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