#8EC2FE

Closest named color: Pastel Blue (#A2BFFE). oklch(80% 0.102 252.6), rgb(142, 194, 254).

Aa

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

About this color

#8EC2FE is a light, moderately saturated blue. In OKLCH its lightness is 80%, its chroma 0.102 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.023 away. Black text reads best on it, at 11.29:1.

Hue familyBlues
Lightnesslight (80%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text11.29:1
White text1.85:1

Values

HEX#8EC2FE
RGBrgb(142, 194, 254)
HSLhsl(212, 98%, 78%)
OKLCHoklch(80% 0.102 252.6)

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 #8EC2FE 1.85:1 Fails Lc -39.1 Non-text elements, placeholder text
Black text on #8EC2FE 11.29:1 AAA Lc 68.9 Content text, not long reading
#8EC2FE text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#8EC2FE text on black 11.29:1 AAA Lc -67.6 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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DCECFE

    oklch(93.7% 0.03 251.3)

  3. Step 200

    200

    #BFDCFE

    oklch(88.4% 0.056 252.5)

  4. Step 300

    300 (this color)

    #8EC2FE

    oklch(80% 0.102 252.6)

  5. Step 400

    400

    #50A4FF

    oklch(70.8% 0.157 252.5)

  6. Step 500

    500

    #008AF8

    oklch(63.2% 0.191 252.4)

  7. Step 600

    600

    #0073D2

    oklch(55.5% 0.17 252.7)

  8. Step 700

    700

    #0061B2

    oklch(49.2% 0.149 252.5)

  9. Step 800

    800

    #004F93

    oklch(42.7% 0.13 252.6)

  10. Step 900

    900

    #00427C

    oklch(37.8% 0.114 252.4)

  11. Step 950

    950

    #00264D

    oklch(26.9% 0.083 253)

Export this scale for Tailwind in the Tailwind colors tool

#8EC2FE 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)#ABC4FF0.035
Deuteranopia (no green cones)#9DB9FD0.027
Tritanopia (no blue cones)#62CFD60.088
Achromatopsia (no color)#BEBEBE0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #8EC2FE

    #8EC2FE

    oklch(80% 0.102 252.6)

  • #E6B372

    #E6B372

    oklch(79.9% 0.102 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8EC2FE

    #8EC2FE

    oklch(80% 0.102 252.6)

  • #6CCDED

    #6CCDED

    oklch(80.1% 0.102 221.9)

  • #B4B6FE

    #B4B6FE

    oklch(80.1% 0.102 282.6)

Open the analogous palette in the generator

Split complementary

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

  • #8EC2FE

    #8EC2FE

    oklch(80% 0.102 252.6)

  • #F6A889

    #F6A889

    oklch(80% 0.102 42.5)

  • #CAC171

    #CAC171

    oklch(80.1% 0.102 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8EC2FE

    #8EC2FE

    oklch(80% 0.102 252.6)

  • #F8A3AC

    #F8A3AC

    oklch(80.2% 0.101 12.7)

  • #A5CC88

    #A5CC88

    oklch(80% 0.101 132.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8EC2FE

    #8EC2FE

    oklch(80% 0.102 252.6)

  • #ECA4D0

    #ECA4D0

    oklch(80.1% 0.101 342.4)

  • #E6B372

    #E6B372

    oklch(79.9% 0.102 72.3)

  • #7DD3AB

    #7DD3AB

    oklch(80.1% 0.102 162.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8EC2FE 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.