#8EA7FF

Closest named color: Periwinkle Blue (#8F99FB). oklch(74.5% 0.13 270.9), rgb(142, 167, 255).

Aa

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

About this color

#8EA7FF is a medium-light, moderately saturated blue. In OKLCH its lightness is 75%, its chroma 0.130 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 9.12:1.

Hue familyBlues
Lightnessmedium-light (75%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text9.12:1
White text2.30:1

Values

HEX#8EA7FF
RGBrgb(142, 167, 255)
HSLhsl(227, 100%, 78%)
OKLCHoklch(74.5% 0.13 270.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 #8EA7FF 2.30:1 Fails Lc -50.2 Large or bold text, headings
Black text on #8EA7FF 9.12:1 AAA Lc 58.7 Large or bold text, headings
#8EA7FF text on white 2.30:1 Fails Lc 45.3 Large or bold text, headings
#8EA7FF text on black 9.12:1 AAA Lc -56.8 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F8

    oklch(88.5% 0.045 271.7)

  4. Step 300

    300

    #ADBEF6

    oklch(80.8% 0.082 271.4)

  5. Step 400

    400 (this color)

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  6. Step 500

    500

    #657FED

    oklch(63% 0.167 270.9)

  7. Step 600

    600

    #4E66DC

    oklch(55.7% 0.182 270.7)

  8. Step 700

    700

    #4054BE

    oklch(49.2% 0.167 270.9)

  9. Step 800

    800

    #34459A

    oklch(42.7% 0.14 270.8)

  10. Step 900

    900

    #2D3B7B

    oklch(37.7% 0.11 271)

  11. Step 950

    950

    #1A2348

    oklch(27% 0.07 270.8)

Export this scale for Tailwind in the Tailwind colors tool

#8EA7FF 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)#87B0FF0.024
Deuteranopia (no green cones)#7DA6FD0.021
Tritanopia (no blue cones)#65B9C70.117
Achromatopsia (no color)#ABABAB0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #8EA7FF

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  • #CBA93B

    #CBA93B

    oklch(74.6% 0.131 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8EA7FF

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  • #55B6F7

    #55B6F7

    oklch(74.5% 0.131 241)

  • #BB98F2

    #BB98F2

    oklch(74.6% 0.131 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #8EA7FF

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  • #E8984F

    #E8984F

    oklch(74.7% 0.131 60.9)

  • #A1B954

    #A1B954

    oklch(74.6% 0.131 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8EA7FF

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  • #F48B79

    #F48B79

    oklch(74.6% 0.131 30.7)

  • #68C481

    #68C481

    oklch(74.6% 0.131 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8EA7FF

    #8EA7FF

    oklch(74.5% 0.13 270.9)

  • #EF88A8

    #EF88A8

    oklch(74.6% 0.13 0.8)

  • #CBA93B

    #CBA93B

    oklch(74.6% 0.131 91.4)

  • #1CC7B1

    #1CC7B1

    oklch(74.6% 0.131 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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