#405CA6

Closest named color: Dusky Blue (#475F94). oklch(49.1% 0.123 266.4), rgb(64, 92, 166).

Aa

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

About this color

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

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

Values

HEX#405CA6
RGBrgb(64, 92, 166)
HSLhsl(224, 44%, 45%)
OKLCHoklch(49.1% 0.123 266.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 #405CA6 6.36:1 AA Lc -86.6 Fine for body text
Black text on #405CA6 3.29:1 AA large text Lc 22.6 Dividers and decoration only
#405CA6 text on white 6.36:1 AA Lc 81.4 Fine for body text
#405CA6 text on black 3.29:1 AA large text Lc -20.4 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

    #CFD9F0

    oklch(88.5% 0.033 266.9)

  4. Step 300

    300

    #AFC0E8

    oklch(80.8% 0.06 267)

  5. Step 400

    400

    #859FDD

    oklch(70.7% 0.096 266.5)

  6. Step 500

    500

    #6786D3

    oklch(63% 0.122 266.4)

  7. Step 600

    600

    #4F6FC0

    oklch(55.7% 0.131 266)

  8. Step 700

    700 (this color)

    #405CA6

    oklch(49.1% 0.123 266.4)

  9. Step 800

    800

    #354B86

    oklch(42.6% 0.102 266.7)

  10. Step 900

    900

    #2E3F6C

    oklch(37.6% 0.08 266.9)

  11. Step 950

    950

    #1B253F

    oklch(26.9% 0.051 267)

Export this scale for Tailwind in the Tailwind colors tool

#405CA6 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)#3A64A90.022
Deuteranopia (no green cones)#2B5BA40.022
Tritanopia (no blue cones)#006D790.107
Achromatopsia (no color)#5F5F5F0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #405CA6

    #405CA6

    oklch(49.1% 0.123 266.4)

  • #7A5C00

    #7A5C00

    oklch(49.2% 0.101 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405CA6

    #405CA6

    oklch(49.1% 0.123 266.4)

  • #006895

    #006895

    oklch(49% 0.107 237)

  • #684F9D

    #684F9D

    oklch(49% 0.123 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #405CA6

    #405CA6

    oklch(49.1% 0.123 266.4)

  • #924B00

    #924B00

    oklch(49.1% 0.12 56.3)

  • #5E6800

    #5E6800

    oklch(49.2% 0.113 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405CA6

    #405CA6

    oklch(49.1% 0.123 266.4)

  • #9A403A

    #9A403A

    oklch(49.1% 0.122 26.3)

  • #267232

    #267232

    oklch(49% 0.123 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405CA6

    #405CA6

    oklch(49.1% 0.123 266.4)

  • #953E62

    #953E62

    oklch(49.1% 0.123 356.7)

  • #7A5C00

    #7A5C00

    oklch(49.2% 0.101 86.4)

  • #00715F

    #00715F

    oklch(49% 0.091 176.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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