#AFB7FF

Closest named color: Pastel Blue (#A2BFFE). oklch(80% 0.102 278.9), rgb(175, 183, 255).

Aa

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

About this color

#AFB7FF is a light, moderately saturated blue. In OKLCH its lightness is 80%, its chroma 0.102 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.025 away. Black text reads best on it, at 11.04:1.

Hue familyBlues
Lightnesslight (80%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.04:1
White text1.90:1

Values

HEX#AFB7FF
RGBrgb(175, 183, 255)
HSLhsl(234, 100%, 84%)
OKLCHoklch(80% 0.102 278.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 #AFB7FF 1.90:1 Fails Lc -40.5 Non-text elements, placeholder text
Black text on #AFB7FF 11.04:1 AAA Lc 67.7 Content text, not long reading
#AFB7FF text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#AFB7FF text on black 11.04:1 AAA Lc -66.3 Content text, not long reading

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 300.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300 (this color)

    #AFB7FF

    oklch(80% 0.102 278.9)

  5. Step 400

    400

    #8D94FF

    oklch(70.8% 0.155 278.8)

  6. Step 500

    500

    #7474FF

    oklch(63.2% 0.201 278.9)

  7. Step 600

    600

    #5F55F3

    oklch(55.6% 0.227 278.8)

  8. Step 700

    700

    #4F43D3

    oklch(49% 0.211 278.9)

  9. Step 800

    800

    #4039AB

    oklch(42.7% 0.175 278.7)

  10. Step 900

    900

    #363387

    oklch(37.7% 0.136 279.2)

  11. Step 950

    950

    #1F1F4F

    oklch(27% 0.086 279)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7FF 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)#A1BFFF0.026
Deuteranopia (no green cones)#9DB9FD0.023
Tritanopia (no blue cones)#9AC4D00.090
Achromatopsia (no color)#BCBCBC0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #CEBF6F

    #CEBF6F

    oklch(80% 0.102 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #89C3FD

    #89C3FD

    oklch(79.9% 0.102 249.2)

  • #D1ACF0

    #D1ACF0

    oklch(80% 0.102 309)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #E9B273

    #E9B273

    oklch(80.1% 0.103 69.3)

  • #A9CB83

    #A9CB83

    oklch(80% 0.103 129.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #F7A78D

    #F7A78D

    oklch(80% 0.102 38.8)

  • #81D2A6

    #81D2A6

    oklch(80% 0.102 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7FF

    #AFB7FF

    oklch(80% 0.102 278.9)

  • #F7A2B0

    #F7A2B0

    oklch(80% 0.102 8.9)

  • #CEBF6F

    #CEBF6F

    oklch(80% 0.102 98.9)

  • #64D3CB

    #64D3CB

    oklch(80% 0.102 189)

Open the square palette in the generator

Palettes and gradients that use #AFB7FF

These curated palettes and gradients contain exactly #AFB7FF. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

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