#A5AFEE

Closest named color: Carolina Blue (#8AB8FE). oklch(76.9% 0.091 277.1), rgb(165, 175, 238).

Aa

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

About this color

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

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

Values

HEX#A5AFEE
RGBrgb(165, 175, 238)
HSLhsl(232, 68%, 79%)
OKLCHoklch(76.9% 0.091 277.1)

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 #A5AFEE 2.10:1 Fails Lc -45.9 Large or bold text, headings
Black text on #A5AFEE 9.96:1 AAA Lc 62.7 Content text, not long reading
#A5AFEE text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#A5AFEE text on black 9.96:1 AAA Lc -61.0 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300 (this color)

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  5. Step 400

    400

    #8B96FA

    oklch(70.7% 0.146 277.2)

  6. Step 500

    500

    #7178F7

    oklch(63.1% 0.186 277.3)

  7. Step 600

    600

    #5B5DE6

    oklch(55.6% 0.203 276.9)

  8. Step 700

    700

    #4C4BC8

    oklch(49.1% 0.189 277.2)

  9. Step 800

    800

    #3E3FA1

    oklch(42.7% 0.155 277.2)

  10. Step 900

    900

    #343780

    oklch(37.8% 0.121 277.1)

  11. Step 950

    950

    #1E214B

    oklch(27.1% 0.077 276.9)

Export this scale for Tailwind in the Tailwind colors tool

#A5AFEE 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)#9CB6F10.020
Deuteranopia (no green cones)#98B0EC0.017
Tritanopia (no blue cones)#92BBC50.081
Achromatopsia (no color)#B3B3B30.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5AFEE

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  • #C4B570

    #C4B570

    oklch(77% 0.091 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5AFEE

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  • #84BAEB

    #84BAEB

    oklch(77% 0.091 246.7)

  • #C3A5E2

    #C3A5E2

    oklch(76.9% 0.091 306.8)

Open the analogous palette in the generator

Split complementary

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

  • #A5AFEE

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  • #DBA974

    #DBA974

    oklch(76.9% 0.091 67.4)

  • #A4BF80

    #A4BF80

    oklch(76.9% 0.09 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5AFEE

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  • #E7A08B

    #E7A08B

    oklch(77% 0.09 37.2)

  • #82C69D

    #82C69D

    oklch(77% 0.091 157)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5AFEE

    #A5AFEE

    oklch(76.9% 0.091 277.1)

  • #E79CAA

    #E79CAA

    oklch(77% 0.091 7.2)

  • #C4B570

    #C4B570

    oklch(77% 0.091 97.4)

  • #69C7BE

    #69C7BE

    oklch(76.9% 0.091 187.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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