#A8B2EC

Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.084 276.7), rgb(168, 178, 236).

Aa

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

About this color

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

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

Values

HEX#A8B2EC
RGBrgb(168, 178, 236)
HSLhsl(231, 64%, 79%)
OKLCHoklch(77.7% 0.084 276.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 #A8B2EC 2.04:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #A8B2EC 10.24:1 AAA Lc 64.0 Content text, not long reading
#A8B2EC text on white 2.04:1 Fails Lc 39.9 Non-text elements, placeholder text
#A8B2EC text on black 10.24:1 AAA Lc -62.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300 (this color)

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  5. Step 400

    400

    #8B98F3

    oklch(70.8% 0.133 276.3)

  6. Step 500

    500

    #717BEE

    oklch(63.1% 0.17 276.6)

  7. Step 600

    600

    #5C61DD

    oklch(55.7% 0.186 276.8)

  8. Step 700

    700

    #4C4FC0

    oklch(49.1% 0.173 276.8)

  9. Step 800

    800

    #3E429B

    oklch(42.8% 0.142 276.6)

  10. Step 900

    900

    #34397B

    oklch(37.8% 0.11 276.5)

  11. Step 950

    950

    #1E2248

    oklch(27% 0.07 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#A8B2EC 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)#A1B8EF0.017
Deuteranopia (no green cones)#9DB3EB0.014
Tritanopia (no blue cones)#97BDC60.075
Achromatopsia (no color)#B5B5B50.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8B2EC

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  • #C5B778

    #C5B778

    oklch(77.7% 0.084 97.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8B2EC

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  • #8ABCE9

    #8ABCE9

    oklch(77.7% 0.083 246.3)

  • #C4A9E1

    #C4A9E1

    oklch(77.7% 0.083 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #A8B2EC

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  • #DBAC7C

    #DBAC7C

    oklch(77.6% 0.084 66.7)

  • #A8C186

    #A8C186

    oklch(77.7% 0.085 126.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8B2EC

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  • #E6A491

    #E6A491

    oklch(77.7% 0.083 36.7)

  • #89C7A1

    #89C7A1

    oklch(77.7% 0.084 156.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8B2EC

    #A8B2EC

    oklch(77.7% 0.084 276.7)

  • #E5A0AD

    #E5A0AD

    oklch(77.6% 0.084 6.8)

  • #C5B778

    #C5B778

    oklch(77.7% 0.084 97.2)

  • #74C8BF

    #74C8BF

    oklch(77.7% 0.083 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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