#405E98

Closest named color: Dusky Blue (#475F94). oklch(48.7% 0.1 262.5), rgb(64, 94, 152).

Aa

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

About this color

#405E98 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.100 and its hue 263°. 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.41:1.

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

Values

HEX#405E98
RGBrgb(64, 94, 152)
HSLhsl(220, 41%, 42%)
OKLCHoklch(48.7% 0.1 262.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 #405E98 6.41:1 AA Lc -86.8 Fine for body text
Black text on #405E98 3.27:1 AA large text Lc 22.3 Dividers and decoration only
#405E98 text on white 6.41:1 AA Lc 81.7 Fine for body text
#405E98 text on black 3.27:1 AA large text Lc -20.2 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

    #87A1D2

    oklch(70.7% 0.078 262.8)

  6. Step 500

    500

    #6989C6

    oklch(63.1% 0.099 262.7)

  7. Step 600

    600

    #5172B2

    oklch(55.6% 0.107 262.7)

  8. Step 700

    700 (this color)

    #405E98

    oklch(48.7% 0.1 262.5)

  9. Step 800

    800

    #364E7C

    oklch(42.7% 0.082 262.5)

  10. Step 900

    900

    #2F4164

    oklch(37.7% 0.065 262.9)

  11. Step 950

    950

    #1C263B

    oklch(27% 0.042 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#405E98 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)#46639A0.017
Deuteranopia (no green cones)#3B5B970.011
Tritanopia (no blue cones)#006B740.089
Achromatopsia (no color)#5F5F5F0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #405E98

    #405E98

    oklch(48.7% 0.1 262.5)

  • #7B5900

    #7B5900

    oklch(48.7% 0.1 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405E98

    #405E98

    oklch(48.7% 0.1 262.5)

  • #00688E

    #00688E

    oklch(48.6% 0.1 232.5)

  • #625393

    #625393

    oklch(48.6% 0.101 293)

Open the analogous palette in the generator

Split complementary

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

  • #405E98

    #405E98

    oklch(48.7% 0.1 262.5)

  • #8B4D23

    #8B4D23

    oklch(48.6% 0.1 52.1)

  • #616512

    #616512

    oklch(48.8% 0.101 112.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405E98

    #405E98

    oklch(48.7% 0.1 262.5)

  • #904645

    #904645

    oklch(48.7% 0.101 22.3)

  • #3B6E37

    #3B6E37

    oklch(48.8% 0.101 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405E98

    #405E98

    oklch(48.7% 0.1 262.5)

  • #8A4565

    #8A4565

    oklch(48.6% 0.101 352.4)

  • #7B5900

    #7B5900

    oklch(48.7% 0.1 82.7)

  • #00705A

    #00705A

    oklch(48.6% 0.093 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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