#AFBEF7

Closest named color: Pastel Blue (#A2BFFE). oklch(81% 0.082 273), rgb(175, 190, 247).

Aa

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

About this color

#AFBEF7 is a light, moderately saturated blue. In OKLCH its lightness is 81%, its chroma 0.082 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.018 away. Black text reads best on it, at 11.53:1.

Hue familyBlues
Lightnesslight (81%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.53:1
White text1.82:1

Values

HEX#AFBEF7
RGBrgb(175, 190, 247)
HSLhsl(228, 82%, 83%)
OKLCHoklch(81% 0.082 273)

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 #AFBEF7 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #AFBEF7 11.53:1 AAA Lc 69.9 Content text, not long reading
#AFBEF7 text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#AFBEF7 text on black 11.53:1 AAA Lc -68.6 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

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CFD8F8

    oklch(88.5% 0.045 273)

  4. Step 300

    300 (this color)

    #AFBEF7

    oklch(81% 0.082 273)

  5. Step 400

    400

    #869AF2

    oklch(70.8% 0.131 272.9)

  6. Step 500

    500

    #6A7EEE

    oklch(63.2% 0.168 273.1)

  7. Step 600

    600

    #5364DC

    oklch(55.6% 0.183 272.9)

  8. Step 700

    700

    #4452BF

    oklch(49.1% 0.17 272.9)

  9. Step 800

    800

    #38449B

    oklch(42.8% 0.141 273)

  10. Step 900

    900

    #303A7B

    oklch(37.7% 0.11 273.4)

  11. Step 950

    950

    #1C2348

    oklch(27.1% 0.069 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFBEF7 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)#ADC3FA0.013
Deuteranopia (no green cones)#A7BDF60.011
Tritanopia (no blue cones)#9CC9D10.075
Achromatopsia (no color)#C0C0C00.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBEF7

    #AFBEF7

    oklch(81% 0.082 273)

  • #D3C083

    #D3C083

    oklch(81% 0.082 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBEF7

    #AFBEF7

    oklch(81% 0.082 273)

  • #92C8F2

    #92C8F2

    oklch(81% 0.082 242.4)

  • #CBB5ED

    #CBB5ED

    oklch(81.1% 0.081 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFBEF7

    #AFBEF7

    oklch(81% 0.082 273)

  • #E8B689

    #E8B689

    oklch(81.1% 0.083 63.2)

  • #B7CA8F

    #B7CA8F

    oklch(81% 0.082 122.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBEF7

    #AFBEF7

    oklch(81% 0.082 273)

  • #F1AE9F

    #F1AE9F

    oklch(81% 0.082 33)

  • #98D1A8

    #98D1A8

    oklch(81% 0.082 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBEF7

    #AFBEF7

    oklch(81% 0.082 273)

  • #EFABBC

    #EFABBC

    oklch(81% 0.082 2.6)

  • #D3C083

    #D3C083

    oklch(81% 0.082 92.8)

  • #81D3C6

    #81D3C6

    oklch(81.1% 0.083 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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