#407DE4

Closest named color: Clear Blue (#247AFD). oklch(60.2% 0.169 260.2), rgb(64, 125, 228).

Aa

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

About this color

#407DE4 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.169 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.043 away. Black text reads best on it, at 5.27:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.169)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.27:1
White text3.98:1

Values

HEX#407DE4
RGBrgb(64, 125, 228)
HSLhsl(218, 75%, 57%)
OKLCHoklch(60.2% 0.169 260.2)

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 #407DE4 3.98:1 AA large text Lc -72.3 Content text, not long reading
Black text on #407DE4 5.27:1 AA Lc 37.3 Non-text elements, placeholder text
#407DE4 text on white 3.98:1 AA large text Lc 66.8 Content text, not long reading
#407DE4 text on black 5.27:1 AA Lc -34.9 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

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400

    #6FA0F2

    oklch(70.6% 0.132 260.2)

  6. Step 500

    500 (this color)

    #407DE4

    oklch(60.2% 0.169 260.2)

  7. Step 600

    600

    #2A6DDC

    oklch(55.6% 0.183 260.1)

  8. Step 700

    700

    #1D5ABF

    oklch(49% 0.171 260.2)

  9. Step 800

    800

    #1A4A9B

    oklch(42.6% 0.142 260.3)

  10. Step 900

    900

    #1B3F7B

    oklch(37.7% 0.11 260)

  11. Step 950

    950

    #112548

    oklch(26.9% 0.07 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#407DE4 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)#4887E80.028
Deuteranopia (no green cones)#2578E20.025
Tritanopia (no blue cones)#0095A50.134
Achromatopsia (no color)#7F7F7F0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #407DE4

    #407DE4

    oklch(60.2% 0.169 260.2)

  • #A77700

    #A77700

    oklch(60.2% 0.125 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407DE4

    #407DE4

    oklch(60.2% 0.169 260.2)

  • #008DBB

    #008DBB

    oklch(60.3% 0.121 230.3)

  • #826ADD

    #826ADD

    oklch(60.2% 0.169 290)

Open the analogous palette in the generator

Split complementary

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

  • #407DE4

    #407DE4

    oklch(60.2% 0.169 260.2)

  • #C95E00

    #C95E00

    oklch(60.3% 0.159 50.2)

  • #868700

    #868700

    oklch(60.3% 0.132 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407DE4

    #407DE4

    oklch(60.2% 0.169 260.2)

  • #D34D55

    #D34D55

    oklch(60.4% 0.169 20.3)

  • #3F9829

    #3F9829

    oklch(60.3% 0.169 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407DE4

    #407DE4

    oklch(60.2% 0.169 260.2)

  • #C74E8F

    #C74E8F

    oklch(60.3% 0.169 350)

  • #A77700

    #A77700

    oklch(60.2% 0.125 80.4)

  • #009776

    #009776

    oklch(60.2% 0.119 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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