#407AAF

Closest named color: Flat Blue (#3C73A8). oklch(56.4% 0.103 248.2), rgb(64, 122, 175).

Aa

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

About this color

#407AAF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.103 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.022 away. Black text reads best on it, at 4.62:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.62:1
White text4.54:1

Values

HEX#407AAF
RGBrgb(64, 122, 175)
HSLhsl(209, 46%, 47%)
OKLCHoklch(56.4% 0.103 248.2)

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 #407AAF 4.54:1 AA Lc -76.8 Fine for body text
Black text on #407AAF 4.62:1 AA Lc 32.7 Non-text elements, placeholder text
#407AAF text on white 4.54:1 AA Lc 71.4 Content text, not long reading
#407AAF text on black 4.62:1 AA Lc -30.3 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CCDBEA

    oklch(88.5% 0.026 248.1)

  4. Step 300

    300

    #AAC4DE

    oklch(80.9% 0.046 248.4)

  5. Step 400

    400

    #7CA5CD

    oklch(70.7% 0.074 248.3)

  6. Step 500

    500

    #598EC0

    oklch(63% 0.095 248.2)

  7. Step 600

    600 (this color)

    #407AAF

    oklch(56.4% 0.103 248.2)

  8. Step 700

    700

    #2F6494

    oklch(49% 0.096 248.3)

  9. Step 800

    800

    #285278

    oklch(42.7% 0.079 248)

  10. Step 900

    900

    #254461

    oklch(37.7% 0.062 248.3)

  11. Step 950

    950

    #162839

    oklch(27% 0.04 248.2)

Export this scale for Tailwind in the Tailwind colors tool

#407AAF 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)#637CB10.040
Deuteranopia (no green cones)#5471AE0.030
Tritanopia (no blue cones)#00878D0.081
Achromatopsia (no color)#7676760.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #407AAF

    #407AAF

    oklch(56.4% 0.103 248.2)

  • #9D6929

    #9D6929

    oklch(56.4% 0.103 68.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407AAF

    #407AAF

    oklch(56.4% 0.103 248.2)

  • #00839D

    #00839D

    oklch(56.3% 0.101 218.3)

  • #686FB1

    #686FB1

    oklch(56.5% 0.102 278)

Open the analogous palette in the generator

Split complementary

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

  • #407AAF

    #407AAF

    oklch(56.4% 0.103 248.2)

  • #A95F48

    #A95F48

    oklch(56.5% 0.103 38)

  • #867622

    #867622

    oklch(56.5% 0.103 98.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407AAF

    #407AAF

    oklch(56.4% 0.103 248.2)

  • #A85A6A

    #A85A6A

    oklch(56.4% 0.103 7.8)

  • #64813B

    #64813B

    oklch(56.4% 0.103 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407AAF

    #407AAF

    oklch(56.4% 0.103 248.2)

  • #9C5D8A

    #9C5D8A

    oklch(56.4% 0.102 338.3)

  • #9D6929

    #9D6929

    oklch(56.4% 0.103 68.2)

  • #37885E

    #37885E

    oklch(56.5% 0.103 157.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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