#7FA2EF

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.8% 0.119 264.9), rgb(127, 162, 239).

Aa

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

About this color

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

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

Values

HEX#7FA2EF
RGBrgb(127, 162, 239)
HSLhsl(221, 78%, 72%)
OKLCHoklch(71.8% 0.119 264.9)

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 #7FA2EF 2.52:1 Fails Lc -54.5 Large or bold text, headings
Black text on #7FA2EF 8.31:1 AAA Lc 54.6 Large or bold text, headings
#7FA2EF text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#7FA2EF text on black 8.31:1 AAA Lc -52.5 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400 (this color)

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  6. Step 500

    500

    #5B84E5

    oklch(63% 0.153 265.1)

  7. Step 600

    600

    #426CD3

    oklch(55.6% 0.166 264.8)

  8. Step 700

    700

    #3459B7

    oklch(49% 0.155 265)

  9. Step 800

    800

    #2B4A94

    oklch(42.8% 0.127 264.5)

  10. Step 900

    900

    #273E76

    oklch(37.7% 0.1 265.2)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#7FA2EF 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)#85A8F20.018
Deuteranopia (no green cones)#799EED0.014
Tritanopia (no blue cones)#52B2BE0.106
Achromatopsia (no color)#A3A3A30.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA2EF

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  • #C69D41

    #C69D41

    oklch(71.7% 0.119 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA2EF

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  • #4CAFE4

    #4CAFE4

    oklch(71.7% 0.12 235.4)

  • #A994E7

    #A994E7

    oklch(71.7% 0.12 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #7FA2EF

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  • #DD8F57

    #DD8F57

    oklch(71.8% 0.119 55.2)

  • #A2AD4F

    #A2AD4F

    oklch(71.9% 0.12 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA2EF

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  • #E5857E

    #E5857E

    oklch(71.8% 0.119 24.9)

  • #72B874

    #72B874

    oklch(71.9% 0.12 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA2EF

    #7FA2EF

    oklch(71.8% 0.119 264.9)

  • #DE83A8

    #DE83A8

    oklch(71.7% 0.12 354.7)

  • #C69D41

    #C69D41

    oklch(71.7% 0.119 84.6)

  • #39BCA0

    #39BCA0

    oklch(71.8% 0.119 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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