#407FCB

Closest named color: Windows Blue (#3778BF). oklch(59.1% 0.134 254.5), rgb(64, 127, 203).

Aa

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

About this color

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

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

Values

HEX#407FCB
RGBrgb(64, 127, 203)
HSLhsl(213, 57%, 52%)
OKLCHoklch(59.1% 0.134 254.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 #407FCB 4.10:1 AA large text Lc -73.4 Content text, not long reading
Black text on #407FCB 5.11:1 AA Lc 36.2 Non-text elements, placeholder text
#407FCB text on white 4.10:1 AA large text Lc 67.9 Content text, not long reading
#407FCB text on black 5.11:1 AA Lc -33.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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBEF

    oklch(88.6% 0.033 254)

  4. Step 300

    300

    #A7C3E8

    oklch(80.9% 0.061 255.5)

  5. Step 400

    400

    #77A3DC

    oklch(70.6% 0.097 255.2)

  6. Step 500

    500

    #528CD2

    oklch(63.2% 0.123 254.2)

  7. Step 600

    600 (this color)

    #407FCB

    oklch(59.1% 0.134 254.5)

  8. Step 700

    700

    #2761A5

    oklch(49% 0.125 254.5)

  9. Step 800

    800

    #225086

    oklch(42.8% 0.103 254.3)

  10. Step 900

    900

    #21426B

    oklch(37.6% 0.081 254.9)

  11. Step 950

    950

    #14273F

    oklch(27% 0.052 255)

Export this scale for Tailwind in the Tailwind colors tool

#407FCB 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)#5D84CE0.034
Deuteranopia (no green cones)#4877C90.021
Tritanopia (no blue cones)#00919B0.106
Achromatopsia (no color)#7D7D7D0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #407FCB

    #407FCB

    oklch(59.1% 0.134 254.5)

  • #A97100

    #A97100

    oklch(59.3% 0.125 74.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407FCB

    #407FCB

    oklch(59.1% 0.134 254.5)

  • #008BAF

    #008BAF

    oklch(59.2% 0.112 224.4)

  • #7670C9

    #7670C9

    oklch(59.1% 0.133 284.6)

Open the analogous palette in the generator

Split complementary

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

  • #407FCB

    #407FCB

    oklch(59.1% 0.134 254.5)

  • #BD6033

    #BD6033

    oklch(59.2% 0.133 44.8)

  • #8A8100

    #8A8100

    oklch(59.2% 0.125 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407FCB

    #407FCB

    oklch(59.1% 0.134 254.5)

  • #BF5864

    #BF5864

    oklch(59.1% 0.133 14.8)

  • #5A8E35

    #5A8E35

    oklch(59% 0.133 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407FCB

    #407FCB

    oklch(59.1% 0.134 254.5)

  • #B35990

    #B35990

    oklch(59% 0.134 344.4)

  • #A97100

    #A97100

    oklch(59.3% 0.125 74.7)

  • #00946A

    #00946A

    oklch(59% 0.125 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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