#7FA1EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.4% 0.117 265), rgb(127, 161, 236).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.21:1
White text2.55:1

Values

HEX#7FA1EC
RGBrgb(127, 161, 236)
HSLhsl(221, 74%, 71%)
OKLCHoklch(71.4% 0.117 265)

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 #7FA1EC 2.55:1 Fails Lc -55.1 Large or bold text, headings
Black text on #7FA1EC 8.21:1 AAA Lc 54.0 Large or bold text, headings
#7FA1EC text on white 2.55:1 Fails Lc 50.0 Large or bold text, headings
#7FA1EC text on black 8.21:1 AAA Lc -52.0 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

    #AAC1F1

    oklch(81% 0.073 264.8)

  5. Step 400

    400 (this color)

    #7FA1EC

    oklch(71.4% 0.117 265)

  6. Step 500

    500

    #5C85E3

    oklch(63.1% 0.149 264.7)

  7. Step 600

    600

    #446CD1

    oklch(55.6% 0.162 265.2)

  8. Step 700

    700

    #355AB5

    oklch(49.1% 0.151 264.8)

  9. Step 800

    800

    #2D4A92

    oklch(42.7% 0.124 265.1)

  10. Step 900

    900

    #283E75

    oklch(37.6% 0.098 265.5)

  11. Step 950

    950

    #172544

    oklch(27% 0.061 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#7FA1EC 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)#85A7EF0.018
Deuteranopia (no green cones)#7A9DEA0.013
Tritanopia (no blue cones)#54B1BC0.105
Achromatopsia (no color)#A2A2A20.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA1EC

    #7FA1EC

    oklch(71.4% 0.117 265)

  • #C49D43

    #C49D43

    oklch(71.5% 0.117 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA1EC

    #7FA1EC

    oklch(71.4% 0.117 265)

  • #4EAEE1

    #4EAEE1

    oklch(71.4% 0.117 235)

  • #A894E4

    #A894E4

    oklch(71.5% 0.116 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #7FA1EC

    #7FA1EC

    oklch(71.4% 0.117 265)

  • #DB8E58

    #DB8E58

    oklch(71.4% 0.117 54.7)

  • #A1AB50

    #A1AB50

    oklch(71.4% 0.116 114.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA1EC

    #7FA1EC

    oklch(71.4% 0.117 265)

  • #E3857E

    #E3857E

    oklch(71.6% 0.117 24.9)

  • #72B675

    #72B675

    oklch(71.4% 0.116 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA1EC

    #7FA1EC

    oklch(71.4% 0.117 265)

  • #DC83A6

    #DC83A6

    oklch(71.4% 0.117 355.4)

  • #C49D43

    #C49D43

    oklch(71.5% 0.117 85.4)

  • #3DBA9F

    #3DBA9F

    oklch(71.4% 0.116 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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