#7FA2FE

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.6% 0.14 267.1), rgb(127, 162, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (73%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.50:1
White text2.47:1

Values

HEX#7FA2FE
RGBrgb(127, 162, 254)
HSLhsl(223, 98%, 75%)
OKLCHoklch(72.6% 0.14 267.1)

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 #7FA2FE 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #7FA2FE 8.50:1 AAA Lc 55.6 Large or bold text, headings
#7FA2FE text on white 2.47:1 Fails Lc 48.4 Large or bold text, headings
#7FA2FE text on black 8.50:1 AAA Lc -53.6 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9FA

    oklch(88.5% 0.048 267.2)

  4. Step 300

    300

    #A7BFFA

    oklch(80.8% 0.088 267.3)

  5. Step 400

    400 (this color)

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  6. Step 500

    500

    #5980F4

    oklch(63% 0.179 267.2)

  7. Step 600

    600

    #4166E3

    oklch(55.6% 0.194 267.2)

  8. Step 700

    700

    #3354C5

    oklch(49.1% 0.18 267)

  9. Step 800

    800

    #2B469F

    oklch(42.8% 0.148 267.1)

  10. Step 900

    900

    #263C7F

    oklch(37.8% 0.117 267)

  11. Step 950

    950

    #16234A

    oklch(26.9% 0.074 267.4)

Export this scale for Tailwind in the Tailwind colors tool

#7FA2FE 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)#7EABFF0.023
Deuteranopia (no green cones)#70A0FC0.019
Tritanopia (no blue cones)#46B6C40.126
Achromatopsia (no color)#A5A5A50.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA2FE

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  • #CC9F22

    #CC9F22

    oklch(72.5% 0.14 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA2FE

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  • #39B2F2

    #39B2F2

    oklch(72.6% 0.139 236.9)

  • #B092F3

    #B092F3

    oklch(72.6% 0.14 297)

Open the analogous palette in the generator

Split complementary

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

  • #7FA2FE

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  • #E78D44

    #E78D44

    oklch(72.5% 0.14 56.9)

  • #A0B13E

    #A0B13E

    oklch(72.5% 0.14 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA2FE

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  • #F18175

    #F18175

    oklch(72.5% 0.139 27.4)

  • #64BE71

    #64BE71

    oklch(72.6% 0.14 147.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA2FE

    #7FA2FE

    oklch(72.6% 0.14 267.1)

  • #EB7EA7

    #EB7EA7

    oklch(72.6% 0.141 357.3)

  • #CC9F22

    #CC9F22

    oklch(72.5% 0.14 86.7)

  • #00C1A5

    #00C1A5

    oklch(72.5% 0.134 177.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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