#407ACC

Closest named color: Windows Blue (#3778BF). oklch(58.1% 0.14 257.4), rgb(64, 122, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.140)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.87:1
White text4.30:1

Values

HEX#407ACC
RGBrgb(64, 122, 204)
HSLhsl(215, 58%, 53%)
OKLCHoklch(58.1% 0.14 257.4)

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 #407ACC 4.30:1 AA large text Lc -75.0 Fine for body text
Black text on #407ACC 4.87:1 AA Lc 34.6 Non-text elements, placeholder text
#407ACC text on white 4.30:1 AA large text Lc 69.5 Content text, not long reading
#407ACC text on black 4.87:1 AA Lc -32.1 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

    #CBDAF1

    oklch(88.4% 0.036 258.9)

  4. Step 300

    300

    #A7C3EA

    oklch(81% 0.063 256.7)

  5. Step 400

    400

    #78A2DF

    oklch(70.6% 0.101 257.6)

  6. Step 500

    500

    #558AD6

    oklch(63.1% 0.128 257.5)

  7. Step 600

    600 (this color)

    #407ACC

    oklch(58.1% 0.14 257.4)

  8. Step 700

    700

    #2B60A9

    oklch(49.2% 0.13 257.2)

  9. Step 800

    800

    #254E89

    oklch(42.6% 0.108 257.8)

  10. Step 900

    900

    #23426E

    oklch(37.9% 0.084 257.4)

  11. Step 950

    950

    #152740

    oklch(27.1% 0.053 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#407ACC 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)#5481CF0.030
Deuteranopia (no green cones)#3E74CA0.017
Tritanopia (no blue cones)#008D990.112
Achromatopsia (no color)#7A7A7A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #407ACC

    #407ACC

    oklch(58.1% 0.14 257.4)

  • #A26F00

    #A26F00

    oklch(58% 0.121 76.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407ACC

    #407ACC

    oklch(58.1% 0.14 257.4)

  • #0087AE

    #0087AE

    oklch(58.1% 0.112 227.1)

  • #776AC8

    #776AC8

    oklch(58% 0.141 287.5)

Open the analogous palette in the generator

Split complementary

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

  • #407ACC

    #407ACC

    oklch(58.1% 0.14 257.4)

  • #BB5C23

    #BB5C23

    oklch(58.1% 0.14 47.7)

  • #837F00

    #837F00

    oklch(58.1% 0.125 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407ACC

    #407ACC

    oklch(58.1% 0.14 257.4)

  • #BF525B

    #BF525B

    oklch(58% 0.14 17.5)

  • #4E8D32

    #4E8D32

    oklch(58.1% 0.141 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407ACC

    #407ACC

    oklch(58.1% 0.14 257.4)

  • #B4538A

    #B4538A

    oklch(58% 0.141 347.3)

  • #A26F00

    #A26F00

    oklch(58% 0.121 76.9)

  • #00906C

    #00906C

    oklch(58% 0.118 167.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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