#407AD7

Closest named color: Windows Blue (#3778BF). oklch(58.8% 0.155 259.5), rgb(64, 122, 215).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.155)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.98:1
White text4.21:1

Values

HEX#407AD7
RGBrgb(64, 122, 215)
HSLhsl(217, 65%, 55%)
OKLCHoklch(58.8% 0.155 259.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 #407AD7 4.21:1 AA large text Lc -74.2 Content text, not long reading
Black text on #407AD7 4.98:1 AA Lc 35.3 Non-text elements, placeholder text
#407AD7 text on white 4.21:1 AA large text Lc 68.7 Content text, not long reading
#407AD7 text on black 4.98:1 AA Lc -32.9 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

    #A6C2EE

    oklch(80.9% 0.07 259.3)

  5. Step 400

    400

    #76A1E6

    oklch(70.6% 0.112 259.6)

  6. Step 500

    500

    #5388DF

    oklch(63.1% 0.143 259.8)

  7. Step 600

    600 (this color)

    #407AD7

    oklch(58.8% 0.155 259.5)

  8. Step 700

    700

    #295DB1

    oklch(49% 0.145 259.6)

  9. Step 800

    800

    #234D8F

    oklch(42.7% 0.119 259.2)

  10. Step 900

    900

    #224172

    oklch(37.8% 0.092 259.2)

  11. Step 950

    950

    #142643

    oklch(27% 0.059 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#407AD7 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)#4D83DB0.029
Deuteranopia (no green cones)#3275D50.019
Tritanopia (no blue cones)#00909E0.124
Achromatopsia (no color)#7B7B7B0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #407AD7

    #407AD7

    oklch(58.8% 0.155 259.5)

  • #A27300

    #A27300

    oklch(58.8% 0.122 80.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407AD7

    #407AD7

    oklch(58.8% 0.155 259.5)

  • #0088B4

    #0088B4

    oklch(58.7% 0.117 230)

  • #7C69D1

    #7C69D1

    oklch(58.8% 0.154 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #407AD7

    #407AD7

    oklch(58.8% 0.155 259.5)

  • #C25A04

    #C25A04

    oklch(58.7% 0.155 49.6)

  • #838200

    #838200

    oklch(58.8% 0.128 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407AD7

    #407AD7

    oklch(58.8% 0.155 259.5)

  • #C84E56

    #C84E56

    oklch(58.8% 0.156 19.4)

  • #44912E

    #44912E

    oklch(58.6% 0.154 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407AD7

    #407AD7

    oklch(58.8% 0.155 259.5)

  • #BD4F8A

    #BD4F8A

    oklch(58.8% 0.155 349.6)

  • #A27300

    #A27300

    oklch(58.8% 0.122 80.1)

  • #009271

    #009271

    oklch(58.7% 0.117 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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