#AFB7EA

Closest named color: Pastel Blue (#A2BFFE). oklch(79.1% 0.073 277.6), rgb(175, 183, 234).

Aa

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

About this color

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

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

Values

HEX#AFB7EA
RGBrgb(175, 183, 234)
HSLhsl(232, 58%, 80%)
OKLCHoklch(79.1% 0.073 277.6)

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 #AFB7EA 1.94:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #AFB7EA 10.78:1 AAA Lc 66.5 Content text, not long reading
#AFB7EA text on white 1.94:1 Fails Lc 37.4 Non-text elements, placeholder text
#AFB7EA text on black 10.78:1 AAA Lc -65.0 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F4

    oklch(88.4% 0.04 277.8)

  4. Step 300

    300 (this color)

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  5. Step 400

    400

    #8F99E9

    oklch(70.7% 0.117 277.5)

  6. Step 500

    500

    #757EE2

    oklch(63.2% 0.149 277.4)

  7. Step 600

    600

    #5F64D0

    oklch(55.5% 0.163 277.7)

  8. Step 700

    700

    #4F53B4

    oklch(49.2% 0.151 277.5)

  9. Step 800

    800

    #414491

    oklch(42.7% 0.124 278)

  10. Step 900

    900

    #363A74

    oklch(37.6% 0.098 277.6)

  11. Step 950

    950

    #202344

    oklch(27.2% 0.061 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFB7EA 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)#A9BCEC0.014
Deuteranopia (no green cones)#A5B8E90.013
Tritanopia (no blue cones)#A1C0C80.065
Achromatopsia (no color)#BABABA0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB7EA

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  • #C7BC85

    #C7BC85

    oklch(79.1% 0.074 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB7EA

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  • #96C0E8

    #96C0E8

    oklch(79.2% 0.073 247.5)

  • #C8AFE0

    #C8AFE0

    oklch(79.2% 0.073 307.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFB7EA

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  • #DBB288

    #DBB288

    oklch(79% 0.074 67.1)

  • #AEC492

    #AEC492

    oklch(79.1% 0.072 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB7EA

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  • #E5AB99

    #E5AB99

    oklch(79.1% 0.073 37.9)

  • #94CAA9

    #94CAA9

    oklch(79.2% 0.073 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB7EA

    #AFB7EA

    oklch(79.1% 0.073 277.6)

  • #E5A8B2

    #E5A8B2

    oklch(79.1% 0.073 8)

  • #C7BC85

    #C7BC85

    oklch(79.1% 0.074 98.2)

  • #82CAC3

    #82CAC3

    oklch(79% 0.073 188)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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