#405FE8

Closest named color: Neon Blue (#4361EE). oklch(54.6% 0.21 268.6), rgb(64, 95, 232).

Aa

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

About this color

#405FE8 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.210 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.22:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.210)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.02:1
White text5.22:1

Values

HEX#405FE8
RGBrgb(64, 95, 232)
HSLhsl(229, 79%, 58%)
OKLCHoklch(54.6% 0.21 268.6)

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 #405FE8 5.22:1 AA Lc -80.7 Fine for body text
Black text on #405FE8 4.02:1 AA large text Lc 28.7 Dividers and decoration only
#405FE8 text on white 5.22:1 AA Lc 75.3 Fine for body text
#405FE8 text on black 4.02:1 AA large text Lc -26.4 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFD

    oklch(93.7% 0.027 267.5)

  3. Step 200

    200

    #CBD9FD

    oklch(88.6% 0.052 268.5)

  4. Step 300

    300

    #A7BFFE

    oklch(81% 0.093 268.2)

  5. Step 400

    400

    #7A9AFE

    oklch(70.6% 0.151 268.9)

  6. Step 500

    500

    #5A7DFC

    oklch(63% 0.193 268.7)

  7. Step 600

    600 (this color)

    #405FE8

    oklch(54.6% 0.21 268.6)

  8. Step 700

    700

    #3550CD

    oklch(49.1% 0.195 268.6)

  9. Step 800

    800

    #2C43A6

    oklch(42.8% 0.161 268.6)

  10. Step 900

    900

    #273A83

    oklch(37.8% 0.125 268.7)

  11. Step 950

    950

    #16234D

    oklch(27.1% 0.079 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#405FE8 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)#0074ED0.053
Deuteranopia (no green cones)#0065E50.035
Tritanopia (no blue cones)#00829A0.168
Achromatopsia (no color)#6C6C6C0.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #405FE8

    #405FE8

    oklch(54.6% 0.21 268.6)

  • #8B6C00

    #8B6C00

    oklch(54.7% 0.112 88.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405FE8

    #405FE8

    oklch(54.6% 0.21 268.6)

  • #0078AF

    #0078AF

    oklch(54.5% 0.123 238.9)

  • #8447D7

    #8447D7

    oklch(54.7% 0.209 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #405FE8

    #405FE8

    oklch(54.6% 0.21 268.6)

  • #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.

  • #405FE8

    #405FE8

    oklch(54.6% 0.21 268.6)

  • #CE1D18

    #CE1D18

    oklch(54.5% 0.209 28.6)

  • #008837

    #008837

    oklch(54.7% 0.156 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405FE8

    #405FE8

    oklch(54.6% 0.21 268.6)

  • #C6196E

    #C6196E

    oklch(54.5% 0.209 358.7)

  • #8B6C00

    #8B6C00

    oklch(54.7% 0.112 88.7)

  • #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 #405FE8, closest first.

Similar named colors

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

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