#407FB2

Closest named color: Steel Blue (#4682B4). oklch(57.7% 0.102 245.3), rgb(64, 127, 178).

Aa

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

About this color

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

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

Values

HEX#407FB2
RGBrgb(64, 127, 178)
HSLhsl(207, 47%, 47%)
OKLCHoklch(57.7% 0.102 245.3)

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 #407FB2 4.28:1 AA large text Lc -74.9 Content text, not long reading
Black text on #407FB2 4.89:1 AA Lc 34.6 Non-text elements, placeholder text
#407FB2 text on white 4.28:1 AA large text Lc 69.4 Content text, not long reading
#407FB2 text on black 4.89: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CCDBE9

    oklch(88.4% 0.025 246.2)

  4. Step 300

    300

    #A9C4DD

    oklch(80.8% 0.046 246.3)

  5. Step 400

    400

    #7AA6CC

    oklch(70.8% 0.073 245.2)

  6. Step 500

    500

    #568FBF

    oklch(63.1% 0.094 245.5)

  7. Step 600

    600 (this color)

    #407FB2

    oklch(57.7% 0.102 245.3)

  8. Step 700

    700

    #2B6593

    oklch(49% 0.095 245.5)

  9. Step 800

    800

    #255377

    oklch(42.7% 0.078 244.8)

  10. Step 900

    900

    #234560

    oklch(37.8% 0.061 244.4)

  11. Step 950

    950

    #152838

    oklch(26.9% 0.039 245.4)

Export this scale for Tailwind in the Tailwind colors tool

#407FB2 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)#6980B40.045
Deuteranopia (no green cones)#5975B10.035
Tritanopia (no blue cones)#008B910.077
Achromatopsia (no color)#7A7A7A0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #407FB2

    #407FB2

    oklch(57.7% 0.102 245.3)

  • #A36C31

    #A36C31

    oklch(57.8% 0.102 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407FB2

    #407FB2

    oklch(57.7% 0.102 245.3)

  • #00889F

    #00889F

    oklch(57.7% 0.102 215.1)

  • #6874B6

    #6874B6

    oklch(57.8% 0.103 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #407FB2

    #407FB2

    oklch(57.7% 0.102 245.3)

  • #AD624F

    #AD624F

    oklch(57.7% 0.102 35.1)

  • #8C7927

    #8C7927

    oklch(57.8% 0.102 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407FB2

    #407FB2

    oklch(57.7% 0.102 245.3)

  • #AC5E71

    #AC5E71

    oklch(57.7% 0.103 5.2)

  • #6B843D

    #6B843D

    oklch(57.7% 0.102 125.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407FB2

    #407FB2

    oklch(57.7% 0.102 245.3)

  • #9F6191

    #9F6191

    oklch(57.7% 0.103 335.6)

  • #A36C31

    #A36C31

    oklch(57.8% 0.102 65)

  • #408B5F

    #408B5F

    oklch(57.7% 0.102 155.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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