#407EC3

Closest named color: Windows Blue (#3778BF). oklch(58.4% 0.124 252.8), rgb(64, 126, 195).

Aa

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

About this color

#407EC3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.124 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.020 away. Black text reads best on it, at 4.99:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.99:1
White text4.20:1

Values

HEX#407EC3
RGBrgb(64, 126, 195)
HSLhsl(212, 52%, 51%)
OKLCHoklch(58.4% 0.124 252.8)

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 #407EC3 4.20:1 AA large text Lc -74.3 Content text, not long reading
Black text on #407EC3 4.99:1 AA Lc 35.3 Non-text elements, placeholder text
#407EC3 text on white 4.20:1 AA large text Lc 68.8 Content text, not long reading
#407EC3 text on black 4.99: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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A8C3E5

    oklch(80.9% 0.057 254.3)

  5. Step 400

    400

    #78A4D7

    oklch(70.7% 0.089 252.7)

  6. Step 500

    500

    #548CCD

    oklch(63% 0.115 253.2)

  7. Step 600

    600 (this color)

    #407EC3

    oklch(58.4% 0.124 252.8)

  8. Step 700

    700

    #2962A0

    oklch(49% 0.116 252.9)

  9. Step 800

    800

    #245082

    oklch(42.6% 0.097 253.5)

  10. Step 900

    900

    #224368

    oklch(37.7% 0.075 252.8)

  11. Step 950

    950

    #15273D

    oklch(26.9% 0.048 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#407EC3 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)#5F82C60.035
Deuteranopia (no green cones)#4D76C20.023
Tritanopia (no blue cones)#008E970.098
Achromatopsia (no color)#7B7B7B0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #407EC3

    #407EC3

    oklch(58.4% 0.124 252.8)

  • #A86E01

    #A86E01

    oklch(58.6% 0.125 72.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407EC3

    #407EC3

    oklch(58.4% 0.124 252.8)

  • #0089AA

    #0089AA

    oklch(58.5% 0.109 222.6)

  • #7270C3

    #7270C3

    oklch(58.4% 0.125 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #407EC3

    #407EC3

    oklch(58.4% 0.124 252.8)

  • #B7603A

    #B7603A

    oklch(58.4% 0.124 43.3)

  • #8A7E00

    #8A7E00

    oklch(58.6% 0.123 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407EC3

    #407EC3

    oklch(58.4% 0.124 252.8)

  • #B95967

    #B95967

    oklch(58.5% 0.124 12.6)

  • #5E8B37

    #5E8B37

    oklch(58.5% 0.125 132.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407EC3

    #407EC3

    oklch(58.4% 0.124 252.8)

  • #AD5B8F

    #AD5B8F

    oklch(58.4% 0.124 342.9)

  • #A86E01

    #A86E01

    oklch(58.6% 0.125 72.8)

  • #0B9266

    #0B9266

    oklch(58.5% 0.124 163)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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