#407BAB

Closest named color: Cerulean (#457B9D). oklch(56.4% 0.097 245.3), rgb(64, 123, 171).

Aa

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

About this color

#407BAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.097 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.022 away. Black text reads best on it, at 4.63:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.63:1
White text4.52:1

Values

HEX#407BAB
RGBrgb(64, 123, 171)
HSLhsl(207, 46%, 46%)
OKLCHoklch(56.4% 0.097 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 #407BAB 4.52:1 AA Lc -76.7 Fine for body text
Black text on #407BAB 4.63:1 AA Lc 32.8 Non-text elements, placeholder text
#407BAB text on white 4.52:1 AA Lc 71.2 Content text, not long reading
#407BAB text on black 4.63:1 AA Lc -30.4 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

    #CCDBE8

    oklch(88.4% 0.024 244.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

    #598FBC

    oklch(63.1% 0.089 245)

  7. Step 600

    600 (this color)

    #407BAB

    oklch(56.4% 0.097 245.3)

  8. Step 700

    700

    #2F6590

    oklch(49% 0.09 245.2)

  9. Step 800

    800

    #285375

    oklch(42.8% 0.074 244.7)

  10. Step 900

    900

    #25455F

    oklch(37.8% 0.059 244.8)

  11. Step 950

    950

    #162837

    oklch(26.9% 0.037 244.9)

Export this scale for Tailwind in the Tailwind colors tool

#407BAB 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)#667CAD0.043
Deuteranopia (no green cones)#5872AA0.033
Tritanopia (no blue cones)#00878C0.075
Achromatopsia (no color)#7676760.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #407BAB

    #407BAB

    oklch(56.4% 0.097 245.3)

  • #9D6932

    #9D6932

    oklch(56.5% 0.097 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407BAB

    #407BAB

    oklch(56.4% 0.097 245.3)

  • #0F8499

    #0F8499

    oklch(56.5% 0.097 214.5)

  • #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°).

  • #407BAB

    #407BAB

    oklch(56.4% 0.097 245.3)

  • #A7604E

    #A7604E

    oklch(56.6% 0.097 35.1)

  • #877529

    #877529

    oklch(56.4% 0.097 95.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407BAB

    #407BAB

    oklch(56.4% 0.097 245.3)

  • #A55C6E

    #A55C6E

    oklch(56.4% 0.097 4.9)

  • #68803D

    #68803D

    oklch(56.5% 0.097 125.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407BAB

    #407BAB

    oklch(56.4% 0.097 245.3)

  • #995F8C

    #995F8C

    oklch(56.5% 0.097 335.4)

  • #9D6932

    #9D6932

    oklch(56.5% 0.097 65)

  • #40875D

    #40875D

    oklch(56.6% 0.098 155.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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