#AFB8EA

Closest named color: Pastel Blue (#A2BFFE). oklch(79.3% 0.072 276.7), rgb(175, 184, 234).

Aa

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

About this color

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

Hue familyBlues
Lightnesslight (79%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.86:1
White text1.93:1

Values

HEX#AFB8EA
RGBrgb(175, 184, 234)
HSLhsl(231, 58%, 80%)
OKLCHoklch(79.3% 0.072 276.7)

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 #AFB8EA 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #AFB8EA 10.86:1 AAA Lc 66.9 Content text, not long reading
#AFB8EA text on white 1.93:1 Fails Lc 37.0 Non-text elements, placeholder text
#AFB8EA text on black 10.86:1 AAA Lc -65.4 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

    #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)

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  5. Step 400

    400

    #8E9AE8

    oklch(70.8% 0.115 276.4)

  6. Step 500

    500

    #747EE0

    oklch(63% 0.146 276.9)

  7. Step 600

    600

    #5E65CE

    oklch(55.5% 0.16 277)

  8. Step 700

    700

    #4E54B3

    oklch(49.2% 0.148 276.8)

  9. Step 800

    800

    #3F4591

    oklch(42.7% 0.123 276.4)

  10. Step 900

    900

    #353B73

    oklch(37.7% 0.095 276.2)

  11. Step 950

    950

    #1F2344

    oklch(27.1% 0.061 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFB8EA 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)#AABDEC0.013
Deuteranopia (no green cones)#A6B8E90.012
Tritanopia (no blue cones)#A1C1C90.064
Achromatopsia (no color)#BABABA0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB8EA

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  • #C8BC87

    #C8BC87

    oklch(79.2% 0.071 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB8EA

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  • #96C1E8

    #96C1E8

    oklch(79.4% 0.072 246.2)

  • #C7B0E0

    #C7B0E0

    oklch(79.3% 0.071 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB8EA

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  • #DBB38A

    #DBB38A

    oklch(79.2% 0.072 67.2)

  • #AFC493

    #AFC493

    oklch(79.2% 0.071 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB8EA

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  • #E5AC9B

    #E5AC9B

    oklch(79.3% 0.072 37.3)

  • #96CAA9

    #96CAA9

    oklch(79.3% 0.072 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB8EA

    #AFB8EA

    oklch(79.3% 0.072 276.7)

  • #E5A9B4

    #E5A9B4

    oklch(79.4% 0.072 6.7)

  • #C8BC87

    #C8BC87

    oklch(79.2% 0.071 96.9)

  • #85CBC3

    #85CBC3

    oklch(79.3% 0.071 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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