#407FCF

Closest named color: Windows Blue (#3778BF). oklch(59.4% 0.139 255.5), rgb(64, 127, 207).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text5.15:1
White text4.07:1

Values

HEX#407FCF
RGBrgb(64, 127, 207)
HSLhsl(214, 60%, 53%)
OKLCHoklch(59.4% 0.139 255.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 #407FCF 4.07:1 AA large text Lc -73.1 Content text, not long reading
Black text on #407FCF 5.15:1 AA Lc 36.4 Non-text elements, placeholder text
#407FCF text on white 4.07:1 AA large text Lc 67.6 Content text, not long reading
#407FCF text on black 5.15:1 AA Lc -34.0 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 500.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A4C3ED

    oklch(80.9% 0.069 256.1)

  5. Step 400

    400

    #72A3E3

    oklch(70.7% 0.108 255.5)

  6. Step 500

    500 (this color)

    #407FCF

    oklch(59.4% 0.139 255.5)

  7. Step 600

    600

    #2C73C9

    oklch(55.6% 0.151 255.4)

  8. Step 700

    700

    #1F60AE

    oklch(49.2% 0.14 255.5)

  9. Step 800

    800

    #1C4F8D

    oklch(42.8% 0.116 255.4)

  10. Step 900

    900

    #1D4270

    oklch(37.7% 0.09 255.2)

  11. Step 950

    950

    #122742

    oklch(27.1% 0.057 255.5)

Export this scale for Tailwind in the Tailwind colors tool

#407FCF 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)#5A85D20.033
Deuteranopia (no green cones)#4578CD0.018
Tritanopia (no blue cones)#00929D0.110
Achromatopsia (no color)#7E7E7E0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #407FCF

    #407FCF

    oklch(59.4% 0.139 255.5)

  • #A97200

    #A97200

    oklch(59.5% 0.125 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407FCF

    #407FCF

    oklch(59.4% 0.139 255.5)

  • #008BB1

    #008BB1

    oklch(59.3% 0.113 225.7)

  • #786FCD

    #786FCD

    oklch(59.3% 0.14 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #407FCF

    #407FCF

    oklch(59.4% 0.139 255.5)

  • #C05F2D

    #C05F2D

    oklch(59.4% 0.14 45.5)

  • #898200

    #898200

    oklch(59.4% 0.127 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407FCF

    #407FCF

    oklch(59.4% 0.139 255.5)

  • #C35662

    #C35662

    oklch(59.4% 0.14 15.6)

  • #579034

    #579034

    oklch(59.4% 0.138 135.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407FCF

    #407FCF

    oklch(59.4% 0.139 255.5)

  • #B75890

    #B75890

    oklch(59.4% 0.139 345.8)

  • #A97200

    #A97200

    oklch(59.5% 0.125 75.4)

  • #00956C

    #00956C

    oklch(59.4% 0.124 165.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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