#407AD5

Closest named color: Windows Blue (#3778BF). oklch(58.6% 0.152 259.1), rgb(64, 122, 213).

Aa

Black text reads best on this color (4.96:1).

About this color

#407AD5 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.152 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.035 away. Black text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.152)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.96:1
White text4.23:1

Values

HEX#407AD5
RGBrgb(64, 122, 213)
HSLhsl(217, 64%, 54%)
OKLCHoklch(58.6% 0.152 259.1)

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 #407AD5 4.23:1 AA large text Lc -74.4 Content text, not long reading
Black text on #407AD5 4.96:1 AA Lc 35.2 Non-text elements, placeholder text
#407AD5 text on white 4.23:1 AA large text Lc 68.9 Content text, not long reading
#407AD5 text on black 4.96:1 AA Lc -32.8 Non-text elements, placeholder text

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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A6C2ED

    oklch(80.8% 0.068 258.9)

  5. Step 400

    400

    #77A2E5

    oklch(70.8% 0.109 259)

  6. Step 500

    500

    #5389DD

    oklch(63.2% 0.14 258.9)

  7. Step 600

    600 (this color)

    #407AD5

    oklch(58.6% 0.152 259.1)

  8. Step 700

    700

    #295EAF

    oklch(49.1% 0.141 258.9)

  9. Step 800

    800

    #234D8E

    oklch(42.7% 0.118 259)

  10. Step 900

    900

    #224171

    oklch(37.8% 0.09 258.9)

  11. Step 950

    950

    #142642

    oklch(26.9% 0.058 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#407AD5 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)#4E82D90.027
Deuteranopia (no green cones)#3475D30.018
Tritanopia (no blue cones)#008F9D0.121
Achromatopsia (no color)#7B7B7B0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #407AD5

    #407AD5

    oklch(58.6% 0.152 259.1)

  • #A27200

    #A27200

    oklch(58.6% 0.122 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407AD5

    #407AD5

    oklch(58.6% 0.152 259.1)

  • #0088B3

    #0088B3

    oklch(58.6% 0.116 229.4)

  • #7B69D0

    #7B69D0

    oklch(58.6% 0.153 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #407AD5

    #407AD5

    oklch(58.6% 0.152 259.1)

  • #C15A0D

    #C15A0D

    oklch(58.6% 0.153 49)

  • #838100

    #838100

    oklch(58.6% 0.127 108.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407AD5

    #407AD5

    oklch(58.6% 0.152 259.1)

  • #C64F57

    #C64F57

    oklch(58.6% 0.152 19.1)

  • #46912F

    #46912F

    oklch(58.7% 0.153 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407AD5

    #407AD5

    oklch(58.6% 0.152 259.1)

  • #BB508A

    #BB508A

    oklch(58.6% 0.152 349.1)

  • #A27200

    #A27200

    oklch(58.6% 0.122 79.3)

  • #009270

    #009270

    oklch(58.7% 0.117 169)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407AD5 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.