#405F99

Closest named color: Dusky Blue (#475F94). oklch(48.9% 0.1 262), rgb(64, 95, 153).

Aa

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

About this color

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

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

Values

HEX#405F99
RGBrgb(64, 95, 153)
HSLhsl(219, 41%, 43%)
OKLCHoklch(48.9% 0.1 262)

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 #405F99 6.33:1 AA Lc -86.5 Fine for body text
Black text on #405F99 3.31:1 AA large text Lc 22.7 Dividers and decoration only
#405F99 text on white 6.33:1 AA Lc 81.4 Fine for body text
#405F99 text on black 3.31: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0DAEC

    oklch(88.6% 0.027 262.3)

  4. Step 300

    300

    #B0C1E1

    oklch(80.9% 0.049 263.1)

  5. Step 400

    400

    #86A1D2

    oklch(70.7% 0.078 262.1)

  6. Step 500

    500

    #6889C6

    oklch(63.1% 0.1 262.1)

  7. Step 600

    600

    #5072B2

    oklch(55.6% 0.108 262.2)

  8. Step 700

    700 (this color)

    #405F99

    oklch(48.9% 0.1 262)

  9. Step 800

    800

    #354E7C

    oklch(42.6% 0.083 261.8)

  10. Step 900

    900

    #2E4164

    oklch(37.6% 0.065 262)

  11. Step 950

    950

    #1B263B

    oklch(26.9% 0.042 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#405F99 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)#47649B0.018
Deuteranopia (no green cones)#3C5C980.010
Tritanopia (no blue cones)#006C740.091
Achromatopsia (no color)#6060600.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F99

    #405F99

    oklch(48.9% 0.1 262)

  • #7C5901

    #7C5901

    oklch(48.8% 0.1 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F99

    #405F99

    oklch(48.9% 0.1 262)

  • #00698F

    #00698F

    oklch(48.9% 0.1 232.2)

  • #625494

    #625494

    oklch(48.9% 0.101 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #405F99

    #405F99

    oklch(48.9% 0.1 262)

  • #8C4E24

    #8C4E24

    oklch(49% 0.1 52.1)

  • #626512

    #626512

    oklch(48.8% 0.1 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F99

    #405F99

    oklch(48.9% 0.1 262)

  • #914746

    #914746

    oklch(49.1% 0.1 22.2)

  • #3C6E37

    #3C6E37

    oklch(48.9% 0.1 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F99

    #405F99

    oklch(48.9% 0.1 262)

  • #8A4666

    #8A4666

    oklch(48.8% 0.1 351.9)

  • #7C5901

    #7C5901

    oklch(48.8% 0.1 81.8)

  • #00715A

    #00715A

    oklch(48.9% 0.095 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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