#A5B7FE

Closest named color: Pastel Blue (#A2BFFE). oklch(79.2% 0.103 272.9), rgb(165, 183, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnesslight (79%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.80:1
White text1.94:1

Values

HEX#A5B7FE
RGBrgb(165, 183, 254)
HSLhsl(228, 98%, 82%)
OKLCHoklch(79.2% 0.103 272.9)

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 #A5B7FE 1.94:1 Fails Lc -41.6 Non-text elements, placeholder text
Black text on #A5B7FE 10.80:1 AAA Lc 66.6 Content text, not long reading
#A5B7FE text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#A5B7FE text on black 10.80:1 AAA Lc -65.2 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CCD7FF

    oklch(88.4% 0.057 273.1)

  4. Step 300

    300 (this color)

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  5. Step 400

    400

    #8298FF

    oklch(70.8% 0.152 272.8)

  6. Step 500

    500

    #6579FF

    oklch(63.1% 0.198 273)

  7. Step 600

    600

    #4E5AF6

    oklch(55.6% 0.229 272.9)

  8. Step 700

    700

    #4048D6

    oklch(49% 0.213 273)

  9. Step 800

    800

    #343DAD

    oklch(42.7% 0.176 272.8)

  10. Step 900

    900

    #2C3689

    oklch(37.7% 0.137 272.7)

  11. Step 950

    950

    #192050

    oklch(26.9% 0.088 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#A5B7FE 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)#A0BEFF0.018
Deuteranopia (no green cones)#99B7FC0.015
Tritanopia (no blue cones)#8BC5D00.093
Achromatopsia (no color)#BABABA0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5B7FE

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  • #D2BA6B

    #D2BA6B

    oklch(79.3% 0.103 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5B7FE

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  • #7EC3F8

    #7EC3F8

    oklch(79.2% 0.103 242.7)

  • #C8ABF2

    #C8ABF2

    oklch(79.1% 0.103 302.8)

Open the analogous palette in the generator

Split complementary

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

  • #A5B7FE

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  • #EBAD74

    #EBAD74

    oklch(79.3% 0.103 63)

  • #AFC67B

    #AFC67B

    oklch(79.2% 0.102 122.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5B7FE

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  • #F6A390

    #F6A390

    oklch(79.3% 0.103 33.5)

  • #86CF9C

    #86CF9C

    oklch(79.3% 0.103 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5B7FE

    #A5B7FE

    oklch(79.2% 0.103 272.9)

  • #F39FB5

    #F39FB5

    oklch(79.2% 0.103 2.7)

  • #D2BA6B

    #D2BA6B

    oklch(79.3% 0.103 93)

  • #64D1C1

    #64D1C1

    oklch(79.2% 0.103 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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