#7FA8FE

Closest named color: Periwinkle Blue (#8F99FB). oklch(73.8% 0.133 264), rgb(127, 168, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (74%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.93:1
White text2.35:1

Values

HEX#7FA8FE
RGBrgb(127, 168, 254)
HSLhsl(221, 98%, 75%)
OKLCHoklch(73.8% 0.133 264)

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 #7FA8FE 2.35:1 Fails Lc -51.1 Large or bold text, headings
Black text on #7FA8FE 8.93:1 AAA Lc 57.8 Large or bold text, headings
#7FA8FE text on white 2.35:1 Fails Lc 46.2 Large or bold text, headings
#7FA8FE text on black 8.93:1 AAA Lc -55.9 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CADAF9

    oklch(88.6% 0.046 263.7)

  4. Step 300

    300

    #A5C1F7

    oklch(80.9% 0.083 263.3)

  5. Step 400

    400 (this color)

    #7FA8FE

    oklch(73.8% 0.133 264)

  6. Step 500

    500

    #5383EF

    oklch(63% 0.17 264.1)

  7. Step 600

    600

    #396ADE

    oklch(55.6% 0.185 264)

  8. Step 700

    700

    #2C58C0

    oklch(49.2% 0.171 263.9)

  9. Step 800

    800

    #25489C

    oklch(42.7% 0.143 264.2)

  10. Step 900

    900

    #223D7C

    oklch(37.6% 0.112 264.3)

  11. Step 950

    950

    #142448

    oklch(26.8% 0.07 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#7FA8FE 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)#87AFFF0.022
Deuteranopia (no green cones)#78A4FC0.014
Tritanopia (no blue cones)#45BBC70.120
Achromatopsia (no color)#A9A9A90.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA8FE

    #7FA8FE

    oklch(73.8% 0.133 264)

  • #D1A235

    #D1A235

    oklch(73.7% 0.133 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA8FE

    #7FA8FE

    oklch(73.8% 0.133 264)

  • #3FB7F1

    #3FB7F1

    oklch(73.8% 0.133 234.1)

  • #AF99F5

    #AF99F5

    oklch(73.8% 0.132 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #7FA8FE

    #7FA8FE

    oklch(73.8% 0.133 264)

  • #EA9153

    #EA9153

    oklch(73.7% 0.133 53.9)

  • #A9B346

    #A9B346

    oklch(73.7% 0.133 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA8FE

    #7FA8FE

    oklch(73.8% 0.133 264)

  • #F38681

    #F38681

    oklch(73.8% 0.134 23.6)

  • #73C073

    #73C073

    oklch(73.9% 0.133 144.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA8FE

    #7FA8FE

    oklch(73.8% 0.133 264)

  • #EA85B0

    #EA85B0

    oklch(73.8% 0.133 353.9)

  • #D1A235

    #D1A235

    oklch(73.7% 0.133 84.3)

  • #26C5A4

    #26C5A4

    oklch(73.8% 0.133 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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