#407DDB

Closest named color: Water Blue (#0E87CC). oklch(59.7% 0.157 258.9), rgb(64, 125, 219).

Aa

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

About this color

#407DDB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.157 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.045 away. Black text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.157)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.17:1
White text4.05:1

Values

HEX#407DDB
RGBrgb(64, 125, 219)
HSLhsl(216, 68%, 55%)
OKLCHoklch(59.7% 0.157 258.9)

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 #407DDB 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #407DDB 5.17:1 AA Lc 36.6 Non-text elements, placeholder text
#407DDB text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#407DDB text on black 5.17:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A3C2F3

    oklch(80.9% 0.077 259.4)

  5. Step 400

    400

    #71A1ED

    oklch(70.7% 0.124 259.3)

  6. Step 500

    500 (this color)

    #407DDB

    oklch(59.7% 0.157 258.9)

  7. Step 600

    600

    #2C6FD5

    oklch(55.6% 0.171 259)

  8. Step 700

    700

    #1F5CB9

    oklch(49.1% 0.16 259.1)

  9. Step 800

    800

    #1B4C95

    oklch(42.7% 0.131 258.7)

  10. Step 900

    900

    #1C4077

    oklch(37.7% 0.103 258.8)

  11. Step 950

    950

    #112646

    oklch(27% 0.066 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#407DDB 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)#4F86DF0.030
Deuteranopia (no green cones)#3477D90.020
Tritanopia (no blue cones)#0093A10.125
Achromatopsia (no color)#7E7E7E0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #407DDB

    #407DDB

    oklch(59.7% 0.157 258.9)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407DDB

    #407DDB

    oklch(59.7% 0.157 258.9)

  • #008BB6

    #008BB6

    oklch(59.5% 0.117 228.9)

  • #7E6BD6

    #7E6BD6

    oklch(59.6% 0.158 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #407DDB

    #407DDB

    oklch(59.7% 0.157 258.9)

  • #C75C0A

    #C75C0A

    oklch(59.8% 0.157 48.9)

  • #868400

    #868400

    oklch(59.6% 0.129 108.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407DDB

    #407DDB

    oklch(59.7% 0.157 258.9)

  • #CC5059

    #CC5059

    oklch(59.7% 0.157 18.9)

  • #48942E

    #48942E

    oklch(59.6% 0.156 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407DDB

    #407DDB

    oklch(59.7% 0.157 258.9)

  • #C0518E

    #C0518E

    oklch(59.6% 0.157 348.8)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

  • #009573

    #009573

    oklch(59.5% 0.119 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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