#AFB7FC

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

Aa

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

About this color

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

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

Values

HEX#AFB7FC
RGBrgb(175, 183, 252)
HSLhsl(234, 93%, 84%)
OKLCHoklch(79.8% 0.098 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 #AFB7FC 1.90:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #AFB7FC 11.00:1 AAA Lc 67.5 Content text, not long reading
#AFB7FC text on white 1.90:1 Fails Lc 36.4 Non-text elements, placeholder text
#AFB7FC text on black 11.00:1 AAA Lc -66.1 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

    #D1D6FE

    oklch(88.5% 0.055 279.6)

  4. Step 300

    300 (this color)

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  5. Step 400

    400

    #8D94FF

    oklch(70.8% 0.155 278.8)

  6. Step 500

    500

    #7474FE

    oklch(63.1% 0.2 279)

  7. Step 600

    600

    #5F58EE

    oklch(55.7% 0.218 278.7)

  8. Step 700

    700

    #4F46CF

    oklch(49.1% 0.203 278.8)

  9. Step 800

    800

    #403BA7

    oklch(42.7% 0.168 278.6)

  10. Step 900

    900

    #363484

    oklch(37.7% 0.13 279.2)

  11. Step 950

    950

    #1F1F4E

    oklch(26.9% 0.084 279.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7FC 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)#A3BFFF0.023
Deuteranopia (no green cones)#9EB9FA0.022
Tritanopia (no blue cones)#9BC4CF0.087
Achromatopsia (no color)#BCBCBC0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7FC

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  • #CDBF72

    #CDBF72

    oklch(79.9% 0.099 99.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7FC

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  • #8BC3FA

    #8BC3FA

    oklch(79.9% 0.098 248.7)

  • #CFACEE

    #CFACEE

    oklch(79.8% 0.099 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7FC

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  • #E7B276

    #E7B276

    oklch(79.9% 0.099 69.1)

  • #AACA85

    #AACA85

    oklch(79.9% 0.099 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7FC

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  • #F4A78E

    #F4A78E

    oklch(79.7% 0.098 38.7)

  • #84D1A6

    #84D1A6

    oklch(79.9% 0.098 158.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7FC

    #AFB7FC

    oklch(79.8% 0.098 278.8)

  • #F5A3B0

    #F5A3B0

    oklch(79.9% 0.098 9.1)

  • #CDBF72

    #CDBF72

    oklch(79.9% 0.099 99.2)

  • #69D2CA

    #69D2CA

    oklch(79.9% 0.098 188.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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