#407FF7

Closest named color: Clear Blue (#247AFD). oklch(61.9% 0.191 261.7), rgb(64, 127, 247).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.191)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.59:1
White text3.75:1

Values

HEX#407FF7
RGBrgb(64, 127, 247)
HSLhsl(219, 92%, 61%)
OKLCHoklch(61.9% 0.191 261.7)

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 #407FF7 3.75:1 AA large text Lc -70.1 Content text, not long reading
Black text on #407FF7 5.59:1 AA Lc 39.5 Non-text elements, placeholder text
#407FF7 text on white 3.75:1 AA large text Lc 64.6 Content text, not long reading
#407FF7 text on black 5.59:1 AA Lc -37.0 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #9FC1FE

    oklch(80.8% 0.094 261.9)

  5. Step 400

    400

    #6B9FFD

    oklch(70.8% 0.149 261.4)

  6. Step 500

    500 (this color)

    #407FF7

    oklch(61.9% 0.191 261.7)

  7. Step 600

    600

    #2568EA

    oklch(55.5% 0.208 261.8)

  8. Step 700

    700

    #1856CC

    oklch(49.2% 0.193 261.7)

  9. Step 800

    800

    #1647A5

    oklch(42.7% 0.161 261.7)

  10. Step 900

    900

    #193D83

    oklch(37.8% 0.125 261.9)

  11. Step 950

    950

    #0F244C

    oklch(26.9% 0.079 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#407FF7 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)#398DFB0.035
Deuteranopia (no green cones)#007CF50.031
Tritanopia (no blue cones)#009CAF0.151
Achromatopsia (no color)#8484840.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #407FF7

    #407FF7

    oklch(61.9% 0.191 261.7)

  • #AC7D00

    #AC7D00

    oklch(62% 0.128 82.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407FF7

    #407FF7

    oklch(61.9% 0.191 261.7)

  • #0092C4

    #0092C4

    oklch(62% 0.126 231.7)

  • #8B69ED

    #8B69ED

    oklch(61.9% 0.191 291.7)

Open the analogous palette in the generator

Split complementary

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

  • #407FF7

    #407FF7

    oklch(61.9% 0.191 261.7)

  • #CE6400

    #CE6400

    oklch(62% 0.16 51.9)

  • #898D00

    #898D00

    oklch(61.9% 0.137 111.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407FF7

    #407FF7

    oklch(61.9% 0.191 261.7)

  • #E2474F

    #E2474F

    oklch(62% 0.191 21.9)

  • #2CA01F

    #2CA01F

    oklch(61.8% 0.191 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407FF7

    #407FF7

    oklch(61.9% 0.191 261.7)

  • #D64892

    #D64892

    oklch(62% 0.191 352)

  • #AC7D00

    #AC7D00

    oklch(62% 0.128 82.1)

  • #009D7D

    #009D7D

    oklch(62% 0.121 171.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #407FF7.

Similar named colors

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

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