#A8AFEF

Closest named color: Pastel Blue (#A2BFFE). oklch(77.2% 0.092 279.2), rgb(168, 175, 239).

Aa

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

About this color

#A8AFEF is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.092 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.041 away. Black text reads best on it, at 10.04:1.

Hue familyBlues
Lightnessmedium-light (77%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.04:1
White text2.09:1

Values

HEX#A8AFEF
RGBrgb(168, 175, 239)
HSLhsl(234, 69%, 80%)
OKLCHoklch(77.2% 0.092 279.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 #A8AFEF 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #A8AFEF 10.04:1 AAA Lc 63.1 Content text, not long reading
#A8AFEF text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#A8AFEF text on black 10.04:1 AAA Lc -61.4 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

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D1D6FB

    oklch(88.4% 0.051 279.2)

  4. Step 300

    300 (this color)

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  5. Step 400

    400

    #8E95FA

    oklch(70.8% 0.147 278.9)

  6. Step 500

    500

    #7576F7

    oklch(63% 0.188 279.2)

  7. Step 600

    600

    #605BE6

    oklch(55.6% 0.204 279)

  8. Step 700

    700

    #5049C8

    oklch(49% 0.19 279.2)

  9. Step 800

    800

    #413DA1

    oklch(42.6% 0.157 279.2)

  10. Step 900

    900

    #363680

    oklch(37.7% 0.122 278.8)

  11. Step 950

    950

    #20204B

    oklch(27% 0.078 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#A8AFEF 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)#9CB6F20.022
Deuteranopia (no green cones)#98B1ED0.021
Tritanopia (no blue cones)#96BBC50.082
Achromatopsia (no color)#B3B3B30.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8AFEF

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  • #C3B670

    #C3B670

    oklch(77.1% 0.092 99)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8AFEF

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  • #87BAED

    #87BAED

    oklch(77.2% 0.091 249.1)

  • #C6A5E2

    #C6A5E2

    oklch(77.2% 0.092 308.9)

Open the analogous palette in the generator

Split complementary

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

  • #A8AFEF

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  • #DBAA73

    #DBAA73

    oklch(77.1% 0.092 69)

  • #A2C182

    #A2C182

    oklch(77.2% 0.092 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8AFEF

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  • #E8A189

    #E8A189

    oklch(77.2% 0.092 39.5)

  • #80C7A0

    #80C7A0

    oklch(77.2% 0.091 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8AFEF

    #A8AFEF

    oklch(77.2% 0.092 279.2)

  • #E89CA8

    #E89CA8

    oklch(77.1% 0.092 9.1)

  • #C3B670

    #C3B670

    oklch(77.1% 0.092 99)

  • #68C8C1

    #68C8C1

    oklch(77.2% 0.092 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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