#407BAC

Closest named color: Steel Blue (#4682B4). oklch(56.5% 0.098 245.8), rgb(64, 123, 172).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameSteel Blue (#4682B4)
Black text4.64:1
White text4.51:1

Values

HEX#407BAC
RGBrgb(64, 123, 172)
HSLhsl(207, 46%, 46%)
OKLCHoklch(56.5% 0.098 245.8)

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 #407BAC 4.51:1 AA Lc -76.7 Fine for body text
Black text on #407BAC 4.64:1 AA Lc 32.9 Non-text elements, placeholder text
#407BAC text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#407BAC text on black 4.64:1 AA Lc -30.5 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

    #AAC4DC

    oklch(80.9% 0.044 246.2)

  5. Step 400

    400

    #7CA6CA

    oklch(70.8% 0.07 244.9)

  6. Step 500

    500

    #598FBD

    oklch(63.1% 0.09 245.6)

  7. Step 600

    600 (this color)

    #407BAC

    oklch(56.5% 0.098 245.8)

  8. Step 700

    700

    #2F6591

    oklch(49.1% 0.091 245.8)

  9. Step 800

    800

    #285376

    oklch(42.8% 0.076 245.4)

  10. Step 900

    900

    #25445F

    oklch(37.6% 0.059 246.5)

  11. Step 950

    950

    #162838

    oklch(26.9% 0.038 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#407BAC 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)#667CAE0.043
Deuteranopia (no green cones)#5772AB0.032
Tritanopia (no blue cones)#00878C0.077
Achromatopsia (no color)#7676760.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #407BAC

    #407BAC

    oklch(56.5% 0.098 245.8)

  • #9D6930

    #9D6930

    oklch(56.5% 0.099 65.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407BAC

    #407BAC

    oklch(56.5% 0.098 245.8)

  • #0B849A

    #0B849A

    oklch(56.5% 0.098 215.2)

  • #6670AF

    #6670AF

    oklch(56.4% 0.098 275.9)

Open the analogous palette in the generator

Split complementary

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

  • #407BAC

    #407BAC

    oklch(56.5% 0.098 245.8)

  • #A7604D

    #A7604D

    oklch(56.5% 0.097 35.8)

  • #877528

    #877528

    oklch(56.4% 0.098 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407BAC

    #407BAC

    oklch(56.5% 0.098 245.8)

  • #A65C6D

    #A65C6D

    oklch(56.5% 0.098 6)

  • #68803D

    #68803D

    oklch(56.5% 0.097 125.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407BAC

    #407BAC

    oklch(56.5% 0.098 245.8)

  • #9A5F8C

    #9A5F8C

    oklch(56.6% 0.098 336)

  • #9D6930

    #9D6930

    oklch(56.5% 0.099 65.8)

  • #3F875D

    #3F875D

    oklch(56.5% 0.098 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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