#AFBAF2

Closest named color: Pastel Blue (#A2BFFE). oklch(80% 0.08 275.8), rgb(175, 186, 242).

Aa

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

About this color

#AFBAF2 is a light, moderately saturated blue. In OKLCH its lightness is 80%, its chroma 0.080 and its hue 276°. 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.12:1.

Hue familyBlues
Lightnesslight (80%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.12:1
White text1.88:1

Values

HEX#AFBAF2
RGBrgb(175, 186, 242)
HSLhsl(230, 72%, 82%)
OKLCHoklch(80% 0.08 275.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 #AFBAF2 1.88:1 Fails Lc -40.1 Non-text elements, placeholder text
Black text on #AFBAF2 11.12:1 AAA Lc 68.1 Content text, not long reading
#AFBAF2 text on white 1.88:1 Fails Lc 35.8 Non-text elements, placeholder text
#AFBAF2 text on black 11.12:1 AAA Lc -66.7 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

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D7F7

    oklch(88.4% 0.045 275.7)

  4. Step 300

    300 (this color)

    #AFBAF2

    oklch(80% 0.08 275.8)

  5. Step 400

    400

    #8B99F0

    oklch(70.8% 0.128 275.7)

  6. Step 500

    500

    #707CEB

    oklch(63% 0.165 275.9)

  7. Step 600

    600

    #5A63D9

    oklch(55.6% 0.178 275.7)

  8. Step 700

    700

    #4A51BC

    oklch(49.1% 0.166 275.6)

  9. Step 800

    800

    #3D4398

    oklch(42.7% 0.137 275.9)

  10. Step 900

    900

    #333A79

    oklch(37.8% 0.106 275.3)

  11. Step 950

    950

    #1E2247

    oklch(27% 0.068 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFBAF2 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)#AABFF40.013
Deuteranopia (no green cones)#A5BAF10.013
Tritanopia (no blue cones)#9EC4CD0.071
Achromatopsia (no color)#BDBDBD0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBAF2

    #AFBAF2

    oklch(80% 0.08 275.8)

  • #CDBE82

    #CDBE82

    oklch(80% 0.08 95.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBAF2

    #AFBAF2

    oklch(80% 0.08 275.8)

  • #93C4EF

    #93C4EF

    oklch(80.1% 0.08 245.5)

  • #CAB1E7

    #CAB1E7

    oklch(80% 0.08 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBAF2

    #AFBAF2

    oklch(80% 0.08 275.8)

  • #E2B486

    #E2B486

    oklch(80.1% 0.081 66.2)

  • #B1C88F

    #B1C88F

    oklch(80.1% 0.081 126)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBAF2

    #AFBAF2

    oklch(80% 0.08 275.8)

  • #ECAC9A

    #ECAC9A

    oklch(80% 0.08 36.3)

  • #93CEA8

    #93CEA8

    oklch(80.1% 0.081 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBAF2

    #AFBAF2

    oklch(80% 0.08 275.8)

  • #EBA9B6

    #EBA9B6

    oklch(80.1% 0.079 6)

  • #CDBE82

    #CDBE82

    oklch(80% 0.08 95.8)

  • #7FCFC5

    #7FCFC5

    oklch(80% 0.08 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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