#A2AFE8

Closest named color: Carolina Blue (#8AB8FE). oklch(76.5% 0.083 274.3), rgb(162, 175, 232).

Aa

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

About this color

#A2AFE8 is a medium-light, moderately saturated blue. In OKLCH its lightness is 76%, its chroma 0.083 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Carolina Blue (#8AB8FE), ΔE 0.041 away. Black text reads best on it, at 9.83:1.

Hue familyBlues
Lightnessmedium-light (76%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameCarolina Blue (#8AB8FE)
Black text9.83:1
White text2.13:1

Values

HEX#A2AFE8
RGBrgb(162, 175, 232)
HSLhsl(229, 60%, 77%)
OKLCHoklch(76.5% 0.083 274.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 #A2AFE8 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #A2AFE8 9.83:1 AAA Lc 62.1 Content text, not long reading
#A2AFE8 text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#A2AFE8 text on black 9.83:1 AAA Lc -60.3 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #CFD8F8

    oklch(88.5% 0.045 273)

  4. Step 300

    300 (this color)

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  5. Step 400

    400

    #8899F3

    oklch(70.7% 0.133 274.4)

  6. Step 500

    500

    #6C7DEE

    oklch(63.1% 0.169 274.1)

  7. Step 600

    600

    #5663DD

    oklch(55.7% 0.184 274.2)

  8. Step 700

    700

    #4751C0

    oklch(49.2% 0.172 274.3)

  9. Step 800

    800

    #3A439B

    oklch(42.7% 0.142 274.3)

  10. Step 900

    900

    #313A7B

    oklch(37.8% 0.11 274)

  11. Step 950

    950

    #1D2248

    oklch(27% 0.07 275)

Export this scale for Tailwind in the Tailwind colors tool

#A2AFE8 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)#9EB4EB0.013
Deuteranopia (no green cones)#99AFE70.012
Tritanopia (no blue cones)#8FBAC30.074
Achromatopsia (no color)#B1B1B10.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2AFE8

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  • #C3B274

    #C3B274

    oklch(76.4% 0.083 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2AFE8

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  • #85B9E4

    #85B9E4

    oklch(76.5% 0.083 244.1)

  • #BEA6DE

    #BEA6DE

    oklch(76.5% 0.083 304.1)

Open the analogous palette in the generator

Split complementary

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

  • #A2AFE8

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  • #D8A87A

    #D8A87A

    oklch(76.5% 0.083 64.8)

  • #A7BC81

    #A7BC81

    oklch(76.4% 0.083 124.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2AFE8

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  • #E2A08F

    #E2A08F

    oklch(76.5% 0.083 35)

  • #88C39B

    #88C39B

    oklch(76.6% 0.084 154.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2AFE8

    #A2AFE8

    oklch(76.5% 0.083 274.3)

  • #E09DAC

    #E09DAC

    oklch(76.5% 0.082 4.5)

  • #C3B274

    #C3B274

    oklch(76.4% 0.083 94.6)

  • #71C4B9

    #71C4B9

    oklch(76.4% 0.083 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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