#405BEE

Closest named color: Neon Blue (#4361EE). oklch(54.4% 0.222 269.4), rgb(64, 91, 238).

Aa

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

About this color

#405BEE is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.222 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.014 away. White text reads best on it, at 5.31:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.222)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text3.94:1
White text5.31:1

Values

HEX#405BEE
RGBrgb(64, 91, 238)
HSLhsl(231, 84%, 59%)
OKLCHoklch(54.4% 0.222 269.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 #405BEE 5.31:1 AA Lc -81.2 Fine for body text
Black text on #405BEE 3.94:1 AA large text Lc 28.3 Dividers and decoration only
#405BEE text on white 5.31:1 AA Lc 75.8 Fine for body text
#405BEE text on black 3.94:1 AA large text Lc -25.9 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 600.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2EAFE

    oklch(93.7% 0.028 268.4)

  3. Step 200

    200

    #CAD8FF

    oklch(88.4% 0.056 269.7)

  4. Step 300

    300

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  5. Step 400

    400

    #7B9AFF

    oklch(70.8% 0.152 269.4)

  6. Step 500

    500

    #5B7CFF

    oklch(63.1% 0.198 269.4)

  7. Step 600

    600 (this color)

    #405BEE

    oklch(54.4% 0.222 269.4)

  8. Step 700

    700

    #364DD3

    oklch(49.1% 0.206 269.4)

  9. Step 800

    800

    #2C40AB

    oklch(42.7% 0.172 269.4)

  10. Step 900

    900

    #273887

    oklch(37.7% 0.133 269.7)

  11. Step 950

    950

    #16224F

    oklch(27% 0.084 268.9)

Export this scale for Tailwind in the Tailwind colors tool

#405BEE 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)#0073F30.058
Deuteranopia (no green cones)#0063EB0.036
Tritanopia (no blue cones)#00819C0.175
Achromatopsia (no color)#6B6B6B0.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #405BEE

    #405BEE

    oklch(54.4% 0.222 269.4)

  • #896C00

    #896C00

    oklch(54.4% 0.111 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405BEE

    #405BEE

    oklch(54.4% 0.222 269.4)

  • #0078AF

    #0078AF

    oklch(54.5% 0.123 238.9)

  • #8640DB

    #8640DB

    oklch(54.4% 0.222 299.5)

Open the analogous palette in the generator

Split complementary

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

  • #405BEE

    #405BEE

    oklch(54.4% 0.222 269.4)

  • #A55A00

    #A55A00

    oklch(54.5% 0.129 59.4)

  • #687900

    #687900

    oklch(54.3% 0.128 119)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405BEE

    #405BEE

    oklch(54.4% 0.222 269.4)

  • #D20401

    #D20401

    oklch(54.3% 0.222 29.3)

  • #00873A

    #00873A

    oklch(54.5% 0.152 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405BEE

    #405BEE

    oklch(54.4% 0.222 269.4)

  • #CA006C

    #CA006C

    oklch(54.4% 0.221 359.4)

  • #896C00

    #896C00

    oklch(54.4% 0.111 90.1)

  • #008271

    #008271

    oklch(54.3% 0.099 179.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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