#7FA2FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(72.6% 0.141 267.2), rgb(127, 162, 255).

Aa

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

About this color

#7FA2FF is a medium-light, vivid blue. In OKLCH its lightness is 73%, its chroma 0.141 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.51:1.

Hue familyBlues
Lightnessmedium-light (73%)
Chromavivid (0.141)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.51:1
White text2.46:1

Values

HEX#7FA2FF
RGBrgb(127, 162, 255)
HSLhsl(224, 100%, 75%)
OKLCHoklch(72.6% 0.141 267.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 #7FA2FF 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #7FA2FF 8.51:1 AAA Lc 55.7 Large or bold text, headings
#7FA2FF text on white 2.46:1 Fails Lc 48.3 Large or bold text, headings
#7FA2FF text on black 8.51: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

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CBD9FB

    oklch(88.6% 0.049 267.7)

  4. Step 300

    300

    #A7BFFB

    oklch(80.8% 0.089 267.5)

  5. Step 400

    400 (this color)

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  6. Step 500

    500

    #5980F5

    oklch(63.1% 0.18 267.2)

  7. Step 600

    600

    #4166E4

    oklch(55.6% 0.196 267.3)

  8. Step 700

    700

    #3354C6

    oklch(49.1% 0.182 267.1)

  9. Step 800

    800

    #2B45A0

    oklch(42.7% 0.151 267.5)

  10. Step 900

    900

    #263B7F

    oklch(37.6% 0.118 267.5)

  11. Step 950

    950

    #16234A

    oklch(26.9% 0.074 267.4)

Export this scale for Tailwind in the Tailwind colors tool

#7FA2FF 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.024
Deuteranopia (no green cones)#70A0FD0.019
Tritanopia (no blue cones)#45B6C40.127
Achromatopsia (no color)#A5A5A50.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA2FF

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  • #CCA01F

    #CCA01F

    oklch(72.7% 0.141 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA2FF

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  • #37B2F3

    #37B2F3

    oklch(72.6% 0.141 237.1)

  • #B192F4

    #B192F4

    oklch(72.7% 0.142 297.3)

Open the analogous palette in the generator

Split complementary

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

  • #7FA2FF

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  • #E88D42

    #E88D42

    oklch(72.6% 0.142 57.1)

  • #A0B13D

    #A0B13D

    oklch(72.5% 0.14 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA2FF

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  • #F28175

    #F28175

    oklch(72.6% 0.141 27.4)

  • #63BE71

    #63BE71

    oklch(72.6% 0.141 147.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA2FF

    #7FA2FF

    oklch(72.6% 0.141 267.2)

  • #EB7EA7

    #EB7EA7

    oklch(72.6% 0.141 357.3)

  • #CCA01F

    #CCA01F

    oklch(72.7% 0.141 87.6)

  • #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 #7FA2FF, closest first.

Similar named colors

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

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