#AFB7ED

Closest named color: Pastel Blue (#A2BFFE). oklch(79.2% 0.077 277.9), rgb(175, 183, 237).

Aa

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

About this color

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

Hue familyBlues
Lightnesslight (79%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.81:1
White text1.94:1

Values

HEX#AFB7ED
RGBrgb(175, 183, 237)
HSLhsl(232, 63%, 81%)
OKLCHoklch(79.2% 0.077 277.9)

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 #AFB7ED 1.94:1 Fails Lc -41.6 Non-text elements, placeholder text
Black text on #AFB7ED 10.81:1 AAA Lc 66.7 Content text, not long reading
#AFB7ED text on white 1.94:1 Fails Lc 37.2 Non-text elements, placeholder text
#AFB7ED text on black 10.81:1 AAA Lc -65.2 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F6

    oklch(88.5% 0.043 278.2)

  4. Step 300

    300 (this color)

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  5. Step 400

    400

    #8F98ED

    oklch(70.7% 0.124 278.1)

  6. Step 500

    500

    #757CE7

    oklch(63.1% 0.159 278)

  7. Step 600

    600

    #5F63D5

    oklch(55.7% 0.172 277.7)

  8. Step 700

    700

    #4F51B8

    oklch(49.1% 0.159 278)

  9. Step 800

    800

    #404395

    oklch(42.7% 0.132 277.7)

  10. Step 900

    900

    #363977

    oklch(37.6% 0.104 278.1)

  11. Step 950

    950

    #1F2246

    oklch(27% 0.066 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7ED 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)#A8BCEF0.015
Deuteranopia (no green cones)#A4B8EC0.015
Tritanopia (no blue cones)#A0C1C90.069
Achromatopsia (no color)#BABABA0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7ED

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  • #C8BC82

    #C8BC82

    oklch(79.1% 0.077 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7ED

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  • #94C0EB

    #94C0EB

    oklch(79.2% 0.077 248.2)

  • #C9AEE2

    #C9AEE2

    oklch(79.1% 0.078 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7ED

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  • #DDB286

    #DDB286

    oklch(79.2% 0.077 67)

  • #ADC590

    #ADC590

    oklch(79.2% 0.077 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7ED

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  • #E8AB98

    #E8AB98

    oklch(79.3% 0.077 38)

  • #91CBA8

    #91CBA8

    oklch(79.3% 0.078 157.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7ED

    #AFB7ED

    oklch(79.2% 0.077 277.9)

  • #E7A7B2

    #E7A7B2

    oklch(79.2% 0.077 7.6)

  • #C8BC82

    #C8BC82

    oklch(79.1% 0.077 97.9)

  • #7FCCC4

    #7FCCC4

    oklch(79.3% 0.077 187.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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