#A5B2EC

Closest named color: Pastel Blue (#A2BFFE). oklch(77.4% 0.084 274.5), rgb(165, 178, 236).

Aa

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

About this color

#A5B2EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.084 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.037 away. Black text reads best on it, at 10.17:1.

Hue familyBlues
Lightnessmedium-light (77%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.17:1
White text2.06:1

Values

HEX#A5B2EC
RGBrgb(165, 178, 236)
HSLhsl(229, 65%, 79%)
OKLCHoklch(77.4% 0.084 274.5)

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 #A5B2EC 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #A5B2EC 10.17:1 AAA Lc 63.7 Content text, not long reading
#A5B2EC text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#A5B2EC text on black 10.17:1 AAA Lc -62.1 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

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300 (this color)

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  5. Step 400

    400

    #8899F4

    oklch(70.8% 0.134 274.4)

  6. Step 500

    500

    #6C7CF0

    oklch(63.1% 0.173 274.4)

  7. Step 600

    600

    #5662DE

    oklch(55.6% 0.187 274.4)

  8. Step 700

    700

    #4750C1

    oklch(49.1% 0.174 274.5)

  9. Step 800

    800

    #3A429C

    oklch(42.6% 0.145 274.6)

  10. Step 900

    900

    #31397C

    oklch(37.6% 0.113 274.5)

  11. Step 950

    950

    #1D2249

    oklch(27% 0.072 275)

Export this scale for Tailwind in the Tailwind colors tool

#A5B2EC 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)#A1B7EF0.013
Deuteranopia (no green cones)#9CB2EB0.012
Tritanopia (no blue cones)#92BDC60.075
Achromatopsia (no color)#B4B4B40.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5B2EC

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  • #C7B576

    #C7B576

    oklch(77.4% 0.085 94)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5B2EC

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  • #87BCE8

    #87BCE8

    oklch(77.4% 0.084 244.2)

  • #C2A8E2

    #C2A8E2

    oklch(77.4% 0.086 304.9)

Open the analogous palette in the generator

Split complementary

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

  • #A5B2EC

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  • #DCAB7C

    #DCAB7C

    oklch(77.5% 0.085 64.9)

  • #AABF84

    #AABF84

    oklch(77.4% 0.083 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5B2EC

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  • #E6A292

    #E6A292

    oklch(77.4% 0.085 33.7)

  • #8AC69E

    #8AC69E

    oklch(77.4% 0.084 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5B2EC

    #A5B2EC

    oklch(77.4% 0.084 274.5)

  • #E49FAF

    #E49FAF

    oklch(77.4% 0.084 4)

  • #C7B576

    #C7B576

    oklch(77.4% 0.085 94)

  • #73C7BC

    #73C7BC

    oklch(77.3% 0.084 184.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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