#AFB8FE

Closest named color: Pastel Blue (#A2BFFE). oklch(80.1% 0.1 278.2), rgb(175, 184, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnesslight (80%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.11:1
White text1.89:1

Values

HEX#AFB8FE
RGBrgb(175, 184, 254)
HSLhsl(233, 98%, 84%)
OKLCHoklch(80.1% 0.1 278.2)

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 #AFB8FE 1.89:1 Fails Lc -40.1 Non-text elements, placeholder text
Black text on #AFB8FE 11.11:1 AAA Lc 68.0 Content text, not long reading
#AFB8FE text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#AFB8FE text on black 11.11:1 AAA Lc -66.6 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

    #D0D6FE

    oklch(88.4% 0.055 278.5)

  4. Step 300

    300 (this color)

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5E57F0

    oklch(55.6% 0.222 278.4)

  8. Step 700

    700

    #4E46D1

    oklch(49.2% 0.206 278.2)

  9. Step 800

    800

    #3F3BA9

    oklch(42.8% 0.17 278)

  10. Step 900

    900

    #353486

    oklch(37.7% 0.134 278.4)

  11. Step 950

    950

    #1E1F4E

    oklch(26.9% 0.085 278.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB8FE 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)#A3C0FF0.024
Deuteranopia (no green cones)#9EBAFC0.022
Tritanopia (no blue cones)#9AC5D10.088
Achromatopsia (no color)#BCBCBC0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB8FE

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  • #CFBF72

    #CFBF72

    oklch(80.1% 0.099 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB8FE

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  • #8AC4FC

    #8AC4FC

    oklch(80.2% 0.1 248.3)

  • #D0ADF0

    #D0ADF0

    oklch(80.1% 0.1 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFB8FE

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  • #E9B276

    #E9B276

    oklch(80.1% 0.1 68)

  • #ABCB85

    #ABCB85

    oklch(80.2% 0.1 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB8FE

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  • #F6A88F

    #F6A88F

    oklch(80.1% 0.099 38.5)

  • #84D2A6

    #84D2A6

    oklch(80.1% 0.1 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB8FE

    #AFB8FE

    oklch(80.1% 0.1 278.2)

  • #F6A3B1

    #F6A3B1

    oklch(80.1% 0.1 8.5)

  • #CFBF72

    #CFBF72

    oklch(80.1% 0.099 97.9)

  • #68D3CA

    #68D3CA

    oklch(80.1% 0.1 188.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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