#A5AFEA

Closest named color: Carolina Blue (#8AB8FE). oklch(76.8% 0.085 276.7), rgb(165, 175, 234).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (77%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameCarolina Blue (#8AB8FE)
Black text9.91:1
White text2.11:1

Values

HEX#A5AFEA
RGBrgb(165, 175, 234)
HSLhsl(231, 62%, 78%)
OKLCHoklch(76.8% 0.085 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 #A5AFEA 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #A5AFEA 9.91:1 AAA Lc 62.5 Content text, not long reading
#A5AFEA text on white 2.11:1 Fails Lc 41.5 Non-text elements, placeholder text
#A5AFEA text on black 9.91:1 AAA Lc -60.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7F9

    oklch(88.5% 0.047 276.2)

  4. Step 300

    300 (this color)

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  5. Step 400

    400

    #8B97F4

    oklch(70.6% 0.136 276.7)

  6. Step 500

    500

    #717AF0

    oklch(63% 0.174 276.9)

  7. Step 600

    600

    #5B60DF

    oklch(55.6% 0.19 276.6)

  8. Step 700

    700

    #4C4EC2

    oklch(49.1% 0.177 276.9)

  9. Step 800

    800

    #3E419C

    oklch(42.7% 0.145 276.9)

  10. Step 900

    900

    #34387C

    oklch(37.6% 0.113 276.9)

  11. Step 950

    950

    #1E2149

    oklch(26.9% 0.073 277.1)

Export this scale for Tailwind in the Tailwind colors tool

#A5AFEA 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)#9EB5ED0.017
Deuteranopia (no green cones)#99B0E90.016
Tritanopia (no blue cones)#93BAC30.077
Achromatopsia (no color)#B2B2B20.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5AFEA

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  • #C3B474

    #C3B474

    oklch(76.8% 0.085 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5AFEA

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  • #87B9E7

    #87B9E7

    oklch(76.8% 0.085 246.9)

  • #C1A6DF

    #C1A6DF

    oklch(76.8% 0.085 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #A5AFEA

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  • #D9A978

    #D9A978

    oklch(76.8% 0.086 66.5)

  • #A5BE82

    #A5BE82

    oklch(76.8% 0.086 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5AFEA

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  • #E4A18D

    #E4A18D

    oklch(76.9% 0.085 37.3)

  • #85C49E

    #85C49E

    oklch(76.7% 0.085 157.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5AFEA

    #A5AFEA

    oklch(76.8% 0.085 276.7)

  • #E39DAA

    #E39DAA

    oklch(76.8% 0.085 7)

  • #C3B474

    #C3B474

    oklch(76.8% 0.085 96.6)

  • #6FC5BC

    #6FC5BC

    oklch(76.7% 0.085 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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