#407E9D

Closest named color: Cerulean (#457B9D). oklch(56.5% 0.08 232.3), rgb(64, 126, 157).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.68:1
White text4.47:1

Values

HEX#407E9D
RGBrgb(64, 126, 157)
HSLhsl(200, 42%, 43%)
OKLCHoklch(56.5% 0.08 232.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 #407E9D 4.47:1 AA large text Lc -76.4 Fine for body text
Black text on #407E9D 4.68:1 AA Lc 33.2 Non-text elements, placeholder text
#407E9D text on white 4.47:1 AA large text Lc 70.9 Content text, not long reading
#407E9D text on black 4.68:1 AA Lc -30.8 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE4

    oklch(88.6% 0.02 230.7)

  4. Step 300

    300

    #AAC5D4

    oklch(80.8% 0.036 232.2)

  5. Step 400

    400

    #7CA7BF

    oklch(70.6% 0.058 233.1)

  6. Step 500

    500

    #5A91AF

    oklch(63% 0.074 233.5)

  7. Step 600

    600 (this color)

    #407E9D

    oklch(56.5% 0.08 232.3)

  8. Step 700

    700

    #2F6884

    oklch(49.1% 0.074 232.4)

  9. Step 800

    800

    #28556B

    oklch(42.8% 0.061 231.9)

  10. Step 900

    900

    #254657

    oklch(37.7% 0.048 232.5)

  11. Step 950

    950

    #172933

    oklch(27% 0.03 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#407E9D 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)#6F7D9F0.054
Deuteranopia (no green cones)#62739D0.046
Tritanopia (no blue cones)#0086880.056
Achromatopsia (no color)#7777770.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #407E9D

    #407E9D

    oklch(56.5% 0.08 232.3)

  • #9B6849

    #9B6849

    oklch(56.4% 0.079 51.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407E9D

    #407E9D

    oklch(56.5% 0.08 232.3)

  • #2F848A

    #2F848A

    oklch(56.6% 0.08 201.8)

  • #5C76A5

    #5C76A5

    oklch(56.5% 0.079 261.9)

Open the analogous palette in the generator

Split complementary

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

  • #407E9D

    #407E9D

    oklch(56.5% 0.08 232.3)

  • #A06360

    #A06360

    oklch(56.6% 0.08 22.9)

  • #8D713B

    #8D713B

    oklch(56.4% 0.08 82.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407E9D

    #407E9D

    oklch(56.5% 0.08 232.3)

  • #9A627A

    #9A627A

    oklch(56.4% 0.079 352.6)

  • #777B41

    #777B41

    oklch(56.6% 0.08 112.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407E9D

    #407E9D

    oklch(56.5% 0.08 232.3)

  • #8C6692

    #8C6692

    oklch(56.5% 0.08 321.8)

  • #9B6849

    #9B6849

    oklch(56.4% 0.079 51.8)

  • #5A8256

    #5A8256

    oklch(56.5% 0.08 142.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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