#405CA7

Closest named color: Dusky Blue (#475F94). oklch(49.2% 0.125 266.5), rgb(64, 92, 167).

Aa

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

About this color

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

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

Values

HEX#405CA7
RGBrgb(64, 92, 167)
HSLhsl(224, 45%, 45%)
OKLCHoklch(49.2% 0.125 266.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 #405CA7 6.35:1 AA Lc -86.5 Fine for body text
Black text on #405CA7 3.30:1 AA large text Lc 22.7 Dividers and decoration only
#405CA7 text on white 6.35:1 AA Lc 81.4 Fine for body text
#405CA7 text on black 3.30:1 AA large text Lc -20.5 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

    #AFC0E9

    oklch(80.9% 0.061 267.4)

  5. Step 400

    400

    #859FDD

    oklch(70.7% 0.096 266.5)

  6. Step 500

    500

    #6786D4

    oklch(63.1% 0.123 266.5)

  7. Step 600

    600

    #4F6EC1

    oklch(55.5% 0.134 266.7)

  8. Step 700

    700 (this color)

    #405CA7

    oklch(49.2% 0.125 266.5)

  9. Step 800

    800

    #354B87

    oklch(42.6% 0.103 266.9)

  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

#405CA7 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)#3964AA0.022
Deuteranopia (no green cones)#2A5BA50.023
Tritanopia (no blue cones)#006D790.108
Achromatopsia (no color)#5F5F5F0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #405CA7

    #405CA7

    oklch(49.2% 0.125 266.5)

  • #7A5C00

    #7A5C00

    oklch(49.2% 0.101 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405CA7

    #405CA7

    oklch(49.2% 0.125 266.5)

  • #006995

    #006995

    oklch(49.3% 0.106 236.2)

  • #694F9E

    #694F9E

    oklch(49.2% 0.124 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #405CA7

    #405CA7

    oklch(49.2% 0.125 266.5)

  • #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.

  • #405CA7

    #405CA7

    oklch(49.2% 0.125 266.5)

  • #9B3F39

    #9B3F39

    oklch(49.1% 0.125 26.4)

  • #247332

    #247332

    oklch(49.2% 0.125 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405CA7

    #405CA7

    oklch(49.2% 0.125 266.5)

  • #963E62

    #963E62

    oklch(49.3% 0.124 357.1)

  • #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 #405CA7, closest first.

Similar named colors

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

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