#405784

Closest named color: Dusk (#4E5481). oklch(45.9% 0.079 263), rgb(64, 87, 132).

Aa

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

About this color

#405784 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.079 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.020 away. White text reads best on it, at 7.20:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.91:1
White text7.20:1

Values

HEX#405784
RGBrgb(64, 87, 132)
HSLhsl(220, 35%, 38%)
OKLCHoklch(45.9% 0.079 263)

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 #405784 7.20:1 AAA Lc -89.8 Fine for body text
Black text on #405784 2.91:1 Fails Lc 19.1 Dividers and decoration only
#405784 text on white 7.20:1 AAA Lc 84.9 Fine for body text
#405784 text on black 2.91:1 Fails Lc -17.1 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 800.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B1C1DF

    oklch(80.9% 0.046 263)

  5. Step 400

    400

    #88A1CF

    oklch(70.7% 0.073 262.4)

  6. Step 500

    500

    #6B89C3

    oklch(63.1% 0.094 263)

  7. Step 600

    600

    #5372AF

    oklch(55.6% 0.102 263)

  8. Step 700

    700

    #435F97

    oklch(49% 0.096 263.1)

  9. Step 800

    800 (this color)

    #405784

    oklch(45.9% 0.079 263)

  10. Step 900

    900

    #304162

    oklch(37.6% 0.061 262.9)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#405784 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)#465B860.015
Deuteranopia (no green cones)#3E54830.010
Tritanopia (no blue cones)#2261670.072
Achromatopsia (no color)#5757570.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #405784

    #405784

    oklch(45.9% 0.079 263)

  • #6D531C

    #6D531C

    oklch(45.8% 0.079 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405784

    #405784

    oklch(45.9% 0.079 263)

  • #205F7D

    #205F7D

    oklch(46% 0.079 233.1)

  • #594F80

    #594F80

    oklch(45.9% 0.079 292.4)

Open the analogous palette in the generator

Split complementary

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

  • #405784

    #405784

    oklch(45.9% 0.079 263)

  • #7A4A2B

    #7A4A2B

    oklch(45.8% 0.079 52.4)

  • #585C23

    #585C23

    oklch(45.8% 0.079 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405784

    #405784

    oklch(45.9% 0.079 263)

  • #7E4543

    #7E4543

    oklch(45.9% 0.079 22.7)

  • #3C633A

    #3C633A

    oklch(45.9% 0.079 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405784

    #405784

    oklch(45.9% 0.079 263)

  • #79445C

    #79445C

    oklch(45.8% 0.079 352.1)

  • #6D531C

    #6D531C

    oklch(45.8% 0.079 82.8)

  • #186653

    #186653

    oklch(45.9% 0.08 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405784 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.