#AFC7FE

Closest named color: Light Periwinkle (#C1C6FC). oklch(83.1% 0.082 266.3), rgb(175, 199, 254).

Aa

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

About this color

#AFC7FE is a light, moderately saturated blue. In OKLCH its lightness is 83%, its chroma 0.082 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Light Periwinkle (#C1C6FC), ΔE 0.023 away. Black text reads best on it, at 12.42:1.

Hue familyBlues
Lightnesslight (83%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameLight Periwinkle (#C1C6FC)
Black text12.42:1
White text1.69:1

Values

HEX#AFC7FE
RGBrgb(175, 199, 254)
HSLhsl(222, 98%, 84%)
OKLCHoklch(83.1% 0.082 266.3)

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 #AFC7FE 1.69:1 Fails Lc -33.8 Non-text elements, placeholder text
Black text on #AFC7FE 12.42:1 AAA Lc 73.8 Content text, not long reading
#AFC7FE text on white 1.69:1 Fails Lc 30.0 Non-text elements, placeholder text
#AFC7FE text on black 12.42:1 AAA Lc -72.8 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CBD9F8

    oklch(88.5% 0.045 266.2)

  4. Step 300

    300 (this color)

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  5. Step 400

    400

    #7A9DF2

    oklch(70.6% 0.131 266.1)

  6. Step 500

    500

    #5A82EE

    oklch(63.1% 0.168 266.4)

  7. Step 600

    600

    #4169DC

    oklch(55.6% 0.182 266.1)

  8. Step 700

    700

    #3456BF

    oklch(49% 0.17 266.5)

  9. Step 800

    800

    #2B479B

    oklch(42.7% 0.141 266.5)

  10. Step 900

    900

    #263D7B

    oklch(37.7% 0.109 266)

  11. Step 950

    950

    #172448

    oklch(27% 0.069 266.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFC7FE 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)#B5CBFF0.014
Deuteranopia (no green cones)#AEC4FD0.008
Tritanopia (no blue cones)#99D2DA0.073
Achromatopsia (no color)#C7C7C70.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC7FE

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  • #DFC58A

    #DFC58A

    oklch(83.2% 0.082 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC7FE

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  • #93D0F6

    #93D0F6

    oklch(83% 0.082 236.4)

  • #CCBDF7

    #CCBDF7

    oklch(83% 0.082 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFC7FE

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  • #F2BA94

    #F2BA94

    oklch(83.1% 0.082 55.5)

  • #C4CF92

    #C4CF92

    oklch(83.1% 0.082 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC7FE

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  • #F9B4AC

    #F9B4AC

    oklch(83.2% 0.082 26.4)

  • #A5D7A8

    #A5D7A8

    oklch(83.2% 0.083 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC7FE

    #AFC7FE

    oklch(83.1% 0.082 266.3)

  • #F4B2C9

    #F4B2C9

    oklch(83.1% 0.082 356.4)

  • #DFC58A

    #DFC58A

    oklch(83.2% 0.082 86.8)

  • #8CDAC6

    #8CDAC6

    oklch(83.2% 0.082 176.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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