#AFB8EC

Closest named color: Pastel Blue (#A2BFFE). oklch(79.4% 0.075 276.9), rgb(175, 184, 236).

Aa

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

About this color

#AFB8EC is a light, moderately saturated blue. In OKLCH its lightness is 79%, its chroma 0.075 and its hue 277°. 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.89:1.

Hue familyBlues
Lightnesslight (79%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.89:1
White text1.92:1

Values

HEX#AFB8EC
RGBrgb(175, 184, 236)
HSLhsl(231, 62%, 81%)
OKLCHoklch(79.4% 0.075 276.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 #AFB8EC 1.92:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #AFB8EC 10.89:1 AAA Lc 67.0 Content text, not long reading
#AFB8EC text on white 1.92:1 Fails Lc 36.9 Non-text elements, placeholder text
#AFB8EC text on black 10.89:1 AAA Lc -65.5 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300 (this color)

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  5. Step 400

    400

    #8E99EA

    oklch(70.7% 0.119 277)

  6. Step 500

    500

    #747DE4

    oklch(63.1% 0.153 277.3)

  7. Step 600

    600

    #5E64D2

    oklch(55.6% 0.166 277.2)

  8. Step 700

    700

    #4D53B6

    oklch(49.2% 0.154 276.5)

  9. Step 800

    800

    #3F4493

    oklch(42.7% 0.128 276.8)

  10. Step 900

    900

    #353A75

    oklch(37.6% 0.1 276.8)

  11. Step 950

    950

    #1F2345

    oklch(27.1% 0.063 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFB8EC 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)#A9BDEE0.014
Deuteranopia (no green cones)#A5B8EB0.013
Tritanopia (no blue cones)#A0C1CA0.065
Achromatopsia (no color)#BBBBBB0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB8EC

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  • #C9BC85

    #C9BC85

    oklch(79.3% 0.074 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB8EC

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  • #95C1EA

    #95C1EA

    oklch(79.4% 0.075 247)

  • #C8B0E2

    #C8B0E2

    oklch(79.4% 0.074 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB8EC

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  • #DDB388

    #DDB388

    oklch(79.4% 0.075 67.1)

  • #AFC591

    #AFC591

    oklch(79.4% 0.075 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB8EC

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  • #E7AB9A

    #E7AB9A

    oklch(79.3% 0.075 36.4)

  • #94CBA9

    #94CBA9

    oklch(79.5% 0.075 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB8EC

    #AFB8EC

    oklch(79.4% 0.075 276.9)

  • #E6A8B3

    #E6A8B3

    oklch(79.3% 0.074 7.1)

  • #C9BC85

    #C9BC85

    oklch(79.3% 0.074 96.4)

  • #82CCC4

    #82CCC4

    oklch(79.4% 0.075 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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