#405DEC

Closest named color: Neon Blue (#4361EE). oklch(54.6% 0.217 269), rgb(64, 93, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.217)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text3.99:1
White text5.25:1

Values

HEX#405DEC
RGBrgb(64, 93, 236)
HSLhsl(230, 82%, 59%)
OKLCHoklch(54.6% 0.217 269)

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 #405DEC 5.25:1 AA Lc -80.9 Fine for body text
Black text on #405DEC 3.99:1 AA large text Lc 28.6 Dividers and decoration only
#405DEC text on white 5.25:1 AA Lc 75.5 Fine for body text
#405DEC text on black 3.99:1 AA large text Lc -26.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 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

    #CAD8FE

    oklch(88.4% 0.055 269.3)

  4. Step 300

    300

    #A7BEFF

    oklch(80.8% 0.096 269.2)

  5. Step 400

    400

    #7A9AFF

    oklch(70.7% 0.152 269)

  6. Step 500

    500

    #5A7CFF

    oklch(63% 0.198 269.1)

  7. Step 600

    600 (this color)

    #405DEC

    oklch(54.6% 0.217 269)

  8. Step 700

    700

    #354ED1

    oklch(49% 0.203 269)

  9. Step 800

    800

    #2C41A9

    oklch(42.7% 0.168 269.2)

  10. Step 900

    900

    #263985

    oklch(37.7% 0.129 268.8)

  11. Step 950

    950

    #16224E

    oklch(26.9% 0.083 268.8)

Export this scale for Tailwind in the Tailwind colors tool

#405DEC 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)#0074F10.056
Deuteranopia (no green cones)#0064E90.036
Tritanopia (no blue cones)#00829C0.172
Achromatopsia (no color)#6C6C6C0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #405DEC

    #405DEC

    oklch(54.6% 0.217 269)

  • #8A6C00

    #8A6C00

    oklch(54.5% 0.111 89.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405DEC

    #405DEC

    oklch(54.6% 0.217 269)

  • #0078AF

    #0078AF

    oklch(54.5% 0.123 238.9)

  • #8543DA

    #8543DA

    oklch(54.5% 0.218 298.9)

Open the analogous palette in the generator

Split complementary

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

  • #405DEC

    #405DEC

    oklch(54.6% 0.217 269)

  • #A65A00

    #A65A00

    oklch(54.6% 0.129 58.9)

  • #697A00

    #697A00

    oklch(54.6% 0.128 119)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405DEC

    #405DEC

    oklch(54.6% 0.217 269)

  • #D1120D

    #D1120D

    oklch(54.6% 0.217 29.1)

  • #008739

    #008739

    oklch(54.4% 0.153 149.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405DEC

    #405DEC

    oklch(54.6% 0.217 269)

  • #C90C6D

    #C90C6D

    oklch(54.5% 0.217 359.1)

  • #8A6C00

    #8A6C00

    oklch(54.5% 0.111 89.4)

  • #008371

    #008371

    oklch(54.6% 0.1 178.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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