#7FA1F2

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.7% 0.125 266), rgb(127, 161, 242).

Aa

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

About this color

#7FA1F2 is a medium-light, moderately saturated blue. In OKLCH its lightness is 72%, its chroma 0.125 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.032 away. Black text reads best on it, at 8.28:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.28:1
White text2.53:1

Values

HEX#7FA1F2
RGBrgb(127, 161, 242)
HSLhsl(222, 82%, 72%)
OKLCHoklch(71.7% 0.125 266)

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 #7FA1F2 2.53:1 Fails Lc -54.7 Large or bold text, headings
Black text on #7FA1F2 8.28:1 AAA Lc 54.4 Large or bold text, headings
#7FA1F2 text on white 2.53:1 Fails Lc 49.6 Large or bold text, headings
#7FA1F2 text on black 8.28:1 AAA Lc -52.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CCD9F7

    oklch(88.5% 0.044 266.9)

  4. Step 300

    300

    #A9C0F4

    oklch(80.9% 0.078 266.1)

  5. Step 400

    400 (this color)

    #7FA1F2

    oklch(71.7% 0.125 266)

  6. Step 500

    500

    #5C83E9

    oklch(63.1% 0.159 266.2)

  7. Step 600

    600

    #436AD7

    oklch(55.5% 0.173 266.1)

  8. Step 700

    700

    #3558BB

    oklch(49.2% 0.161 266)

  9. Step 800

    800

    #2C4897

    oklch(42.6% 0.134 266.1)

  10. Step 900

    900

    #273D78

    oklch(37.6% 0.104 266.1)

  11. Step 950

    950

    #172446

    oklch(26.9% 0.066 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#7FA1F2 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)#83A8F50.019
Deuteranopia (no green cones)#769EF00.014
Tritanopia (no blue cones)#50B2BE0.112
Achromatopsia (no color)#A3A3A30.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA1F2

    #7FA1F2

    oklch(71.7% 0.125 266)

  • #C69D39

    #C69D39

    oklch(71.6% 0.125 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA1F2

    #7FA1F2

    oklch(71.7% 0.125 266)

  • #47AFE7

    #47AFE7

    oklch(71.7% 0.125 236)

  • #AB93E9

    #AB93E9

    oklch(71.8% 0.125 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #7FA1F2

    #7FA1F2

    oklch(71.7% 0.125 266)

  • #DF8E51

    #DF8E51

    oklch(71.8% 0.125 56.1)

  • #A0AD4A

    #A0AD4A

    oklch(71.7% 0.125 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA1F2

    #7FA1F2

    oklch(71.7% 0.125 266)

  • #E7837A

    #E7837A

    oklch(71.6% 0.124 26)

  • #6DB973

    #6DB973

    oklch(71.9% 0.126 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA1F2

    #7FA1F2

    oklch(71.7% 0.125 266)

  • #E181A6

    #E181A6

    oklch(71.7% 0.125 356.2)

  • #C69D39

    #C69D39

    oklch(71.6% 0.125 85.9)

  • #2BBDA1

    #2BBDA1

    oklch(71.8% 0.125 176.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7FA1F2 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.