#AFBAF4

Closest named color: Pastel Blue (#A2BFFE). oklch(80.1% 0.083 276), rgb(175, 186, 244).

Aa

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

About this color

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

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

Values

HEX#AFBAF4
RGBrgb(175, 186, 244)
HSLhsl(230, 76%, 82%)
OKLCHoklch(80.1% 0.083 276)

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 #AFBAF4 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #AFBAF4 11.15:1 AAA Lc 68.2 Content text, not long reading
#AFBAF4 text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#AFBAF4 text on black 11.15:1 AAA Lc -66.8 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

    #D0D7F8

    oklch(88.4% 0.046 276)

  4. Step 300

    300 (this color)

    #AFBAF4

    oklch(80.1% 0.083 276)

  5. Step 400

    400

    #8B98F3

    oklch(70.8% 0.133 276.3)

  6. Step 500

    500

    #707BEE

    oklch(63% 0.171 276.2)

  7. Step 600

    600

    #5A61DC

    oklch(55.5% 0.185 276.1)

  8. Step 700

    700

    #4A50BF

    oklch(49.1% 0.171 275.8)

  9. Step 800

    800

    #3D429B

    oklch(42.7% 0.143 276.1)

  10. Step 900

    900

    #33397B

    oklch(37.7% 0.111 275.8)

  11. Step 950

    950

    #1E2248

    oklch(27% 0.07 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFBAF4 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)#A9C0F70.016
Deuteranopia (no green cones)#A5BAF30.013
Tritanopia (no blue cones)#9DC5CE0.075
Achromatopsia (no color)#BDBDBD0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBAF4

    #AFBAF4

    oklch(80.1% 0.083 276)

  • #CEBE80

    #CEBE80

    oklch(80% 0.083 95.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBAF4

    #AFBAF4

    oklch(80.1% 0.083 276)

  • #92C4F1

    #92C4F1

    oklch(80.1% 0.083 246.2)

  • #CBB1E9

    #CBB1E9

    oklch(80.2% 0.082 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBAF4

    #AFBAF4

    oklch(80.1% 0.083 276)

  • #E3B484

    #E3B484

    oklch(80.1% 0.083 66.8)

  • #B1C88E

    #B1C88E

    oklch(80.1% 0.082 125.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBAF4

    #AFBAF4

    oklch(80.1% 0.083 276)

  • #EEAB99

    #EEAB99

    oklch(80% 0.083 35.6)

  • #92CFA8

    #92CFA8

    oklch(80.2% 0.084 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBAF4

    #AFBAF4

    oklch(80.1% 0.083 276)

  • #EDA8B6

    #EDA8B6

    oklch(80.1% 0.083 5.7)

  • #CEBE80

    #CEBE80

    oklch(80% 0.083 95.4)

  • #7CD0C6

    #7CD0C6

    oklch(80.1% 0.083 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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