#AFB7FB

Closest named color: Pastel Blue (#A2BFFE). oklch(79.8% 0.097 278.8), rgb(175, 183, 251).

Aa

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

About this color

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

Hue familyBlues
Lightnesslight (80%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.98:1
White text1.91:1

Values

HEX#AFB7FB
RGBrgb(175, 183, 251)
HSLhsl(234, 90%, 84%)
OKLCHoklch(79.8% 0.097 278.8)

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 #AFB7FB 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #AFB7FB 10.98:1 AAA Lc 67.5 Content text, not long reading
#AFB7FB text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#AFB7FB text on black 10.98:1 AAA Lc -66.0 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300 (this color)

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  5. Step 400

    400

    #8D94FF

    oklch(70.8% 0.155 278.8)

  6. Step 500

    500

    #7475FD

    oklch(63.2% 0.197 278.8)

  7. Step 600

    600

    #5F58EC

    oklch(55.5% 0.215 278.8)

  8. Step 700

    700

    #4F47CD

    oklch(49.1% 0.199 278.8)

  9. Step 800

    800

    #403BA6

    oklch(42.6% 0.166 278.7)

  10. Step 900

    900

    #363584

    oklch(37.8% 0.129 278.8)

  11. Step 950

    950

    #1F204D

    oklch(27.1% 0.081 278.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7FB 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)#A3BEFE0.022
Deuteranopia (no green cones)#9FB9F90.021
Tritanopia (no blue cones)#9BC4CF0.086
Achromatopsia (no color)#BBBBBB0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7FB

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  • #CDBE74

    #CDBE74

    oklch(79.8% 0.096 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7FB

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  • #8BC3F9

    #8BC3F9

    oklch(79.9% 0.097 248.2)

  • #CFACED

    #CFACED

    oklch(79.7% 0.097 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7FB

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  • #E6B277

    #E6B277

    oklch(79.8% 0.097 69.2)

  • #AACA86

    #AACA86

    oklch(79.9% 0.098 128.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7FB

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  • #F4A88F

    #F4A88F

    oklch(79.9% 0.097 39)

  • #85D0A6

    #85D0A6

    oklch(79.7% 0.096 158.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7FB

    #AFB7FB

    oklch(79.8% 0.097 278.8)

  • #F4A3B0

    #F4A3B0

    oklch(79.8% 0.097 9)

  • #CDBE74

    #CDBE74

    oklch(79.8% 0.096 98.2)

  • #6BD1C9

    #6BD1C9

    oklch(79.7% 0.096 188.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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