#7FA4FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(73% 0.139 266.3), rgb(127, 164, 255).

Aa

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

About this color

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

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

Values

HEX#7FA4FF
RGBrgb(127, 164, 255)
HSLhsl(223, 100%, 75%)
OKLCHoklch(73% 0.139 266.3)

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 #7FA4FF 2.42:1 Fails Lc -52.6 Large or bold text, headings
Black text on #7FA4FF 8.65:1 AAA Lc 56.4 Large or bold text, headings
#7FA4FF text on white 2.42:1 Fails Lc 47.6 Large or bold text, headings
#7FA4FF text on black 8.65:1 AAA Lc -54.4 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

    #CAD9FA

    oklch(88.5% 0.048 266)

  4. Step 300

    300

    #A7C0FA

    oklch(81% 0.087 266.4)

  5. Step 400

    400 (this color)

    #7FA4FF

    oklch(73% 0.139 266.3)

  6. Step 500

    500

    #5781F4

    oklch(63.1% 0.178 266.3)

  7. Step 600

    600

    #3E67E2

    oklch(55.5% 0.193 266.2)

  8. Step 700

    700

    #3155C5

    oklch(49.2% 0.18 266.2)

  9. Step 800

    800

    #29469F

    oklch(42.7% 0.149 266.4)

  10. Step 900

    900

    #253C7E

    oklch(37.7% 0.115 266.4)

  11. Step 950

    950

    #16244A

    oklch(27.1% 0.073 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#7FA4FF 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)#81ADFF0.024
Deuteranopia (no green cones)#72A1FD0.018
Tritanopia (no blue cones)#45B8C60.125
Achromatopsia (no color)#A6A6A60.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FA4FF

    #7FA4FF

    oklch(73% 0.139 266.3)

  • #CEA027

    #CEA027

    oklch(72.9% 0.138 86)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FA4FF

    #7FA4FF

    oklch(73% 0.139 266.3)

  • #39B4F3

    #39B4F3

    oklch(73.1% 0.139 236.1)

  • #B094F4

    #B094F4

    oklch(73% 0.138 296.2)

Open the analogous palette in the generator

Split complementary

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

  • #7FA4FF

    #7FA4FF

    oklch(73% 0.139 266.3)

  • #E98F48

    #E98F48

    oklch(73.1% 0.139 56.4)

  • #A3B23F

    #A3B23F

    oklch(73% 0.139 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FA4FF

    #7FA4FF

    oklch(73% 0.139 266.3)

  • #F38279

    #F38279

    oklch(73% 0.14 25.8)

  • #68BF71

    #68BF71

    oklch(73.1% 0.14 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FA4FF

    #7FA4FF

    oklch(73% 0.139 266.3)

  • #EB80AA

    #EB80AA

    oklch(72.9% 0.139 356.2)

  • #CEA027

    #CEA027

    oklch(72.9% 0.138 86)

  • #00C3A5

    #00C3A5

    oklch(73% 0.136 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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