#407EB7

Closest named color: Steel Blue (#4682B4). oklch(57.8% 0.109 248.5), rgb(64, 126, 183).

Aa

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

About this color

#407EB7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.109 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Steel Blue (#4682B4), ΔE 0.015 away. Black text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameSteel Blue (#4682B4)
Black text4.88:1
White text4.29:1

Values

HEX#407EB7
RGBrgb(64, 126, 183)
HSLhsl(209, 48%, 48%)
OKLCHoklch(57.8% 0.109 248.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 #407EB7 4.29:1 AA large text Lc -75.0 Content text, not long reading
Black text on #407EB7 4.88:1 AA Lc 34.6 Non-text elements, placeholder text
#407EB7 text on white 4.29:1 AA large text Lc 69.5 Content text, not long reading
#407EB7 text on black 4.88:1 AA Lc -32.2 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

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CCDBEB

    oklch(88.5% 0.027 249.9)

  4. Step 300

    300

    #A9C4E0

    oklch(80.9% 0.049 249.4)

  5. Step 400

    400

    #7AA5D0

    oklch(70.7% 0.079 249)

  6. Step 500

    500

    #568EC3

    oklch(63% 0.1 248.4)

  7. Step 600

    600 (this color)

    #407EB7

    oklch(57.8% 0.109 248.5)

  8. Step 700

    700

    #2B6497

    oklch(49% 0.101 248.4)

  9. Step 800

    800

    #25527B

    oklch(42.7% 0.084 248.5)

  10. Step 900

    900

    #234463

    oklch(37.7% 0.066 248.6)

  11. Step 950

    950

    #15283A

    oklch(27% 0.042 248.4)

Export this scale for Tailwind in the Tailwind colors tool

#407EB7 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)#6580B90.041
Deuteranopia (no green cones)#5575B60.030
Tritanopia (no blue cones)#008B920.084
Achromatopsia (no color)#7A7A7A0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #407EB7

    #407EB7

    oklch(57.8% 0.109 248.5)

  • #A36C26

    #A36C26

    oklch(57.7% 0.109 68.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407EB7

    #407EB7

    oklch(57.8% 0.109 248.5)

  • #0088A3

    #0088A3

    oklch(57.9% 0.104 218.3)

  • #6C72B9

    #6C72B9

    oklch(57.8% 0.109 278.7)

Open the analogous palette in the generator

Split complementary

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

  • #407EB7

    #407EB7

    oklch(57.8% 0.109 248.5)

  • #B06148

    #B06148

    oklch(57.8% 0.109 38.3)

  • #8A7A1D

    #8A7A1D

    oklch(57.8% 0.109 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407EB7

    #407EB7

    oklch(57.8% 0.109 248.5)

  • #AF5C6D

    #AF5C6D

    oklch(57.7% 0.109 8)

  • #66863B

    #66863B

    oklch(57.8% 0.109 128.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407EB7

    #407EB7

    oklch(57.8% 0.109 248.5)

  • #A35F8F

    #A35F8F

    oklch(57.8% 0.108 338.8)

  • #A36C26

    #A36C26

    oklch(57.7% 0.109 68.5)

  • #348D61

    #348D61

    oklch(57.8% 0.109 158.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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