#AFB7FA

Closest named color: Pastel Blue (#A2BFFE). oklch(79.8% 0.095 278.7), rgb(175, 183, 250).

Aa

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

About this color

#AFB7FA is a light, moderately saturated blue. In OKLCH its lightness is 80%, its chroma 0.095 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.97:1.

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

Values

HEX#AFB7FA
RGBrgb(175, 183, 250)
HSLhsl(234, 88%, 83%)
OKLCHoklch(79.8% 0.095 278.7)

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 #AFB7FA 1.91:1 Fails Lc -40.8 Non-text elements, placeholder text
Black text on #AFB7FA 10.97:1 AAA Lc 67.4 Content text, not long reading
#AFB7FA text on white 1.91:1 Fails Lc 36.5 Non-text elements, placeholder text
#AFB7FA text on black 10.97: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)

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  5. Step 400

    400

    #8D94FD

    oklch(70.7% 0.152 278.9)

  6. Step 500

    500

    #7475FB

    oklch(63.1% 0.195 278.9)

  7. Step 600

    600

    #5F59EA

    oklch(55.5% 0.212 278.8)

  8. Step 700

    700

    #4F48CC

    oklch(49.1% 0.197 278.7)

  9. Step 800

    800

    #403CA5

    oklch(42.7% 0.164 278.6)

  10. Step 900

    900

    #363583

    oklch(37.8% 0.128 278.9)

  11. Step 950

    950

    #1F204C

    oklch(27% 0.08 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7FA 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)#A3BEFD0.022
Deuteranopia (no green cones)#9FB9F80.021
Tritanopia (no blue cones)#9CC3CE0.084
Achromatopsia (no color)#BBBBBB0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7FA

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  • #CCBE75

    #CCBE75

    oklch(79.7% 0.095 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7FA

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  • #8CC2F8

    #8CC2F8

    oklch(79.7% 0.096 249.1)

  • #CFACEC

    #CFACEC

    oklch(79.7% 0.096 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7FA

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  • #E5B278

    #E5B278

    oklch(79.7% 0.095 69.3)

  • #AAC987

    #AAC987

    oklch(79.7% 0.095 128.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7FA

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  • #F3A890

    #F3A890

    oklch(79.8% 0.095 38.5)

  • #86D0A6

    #86D0A6

    oklch(79.7% 0.096 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7FA

    #AFB7FA

    oklch(79.8% 0.095 278.7)

  • #F3A3B0

    #F3A3B0

    oklch(79.7% 0.096 8.8)

  • #CCBE75

    #CCBE75

    oklch(79.7% 0.095 98.7)

  • #6CD1C9

    #6CD1C9

    oklch(79.8% 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 #AFB7FA, closest first.

Similar named colors

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

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