#8A9EF1

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.8% 0.123 272.7), rgb(138, 158, 241).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (72%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.24:1
White text2.54:1

Values

HEX#8A9EF1
RGBrgb(138, 158, 241)
HSLhsl(228, 79%, 74%)
OKLCHoklch(71.8% 0.123 272.7)

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 #8A9EF1 2.54:1 Fails Lc -54.9 Large or bold text, headings
Black text on #8A9EF1 8.24:1 AAA Lc 54.2 Large or bold text, headings
#8A9EF1 text on white 2.54:1 Fails Lc 49.8 Large or bold text, headings
#8A9EF1 text on black 8.24:1 AAA Lc -52.1 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

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #AFBEF3

    oklch(80.9% 0.077 272.3)

  5. Step 400

    400 (this color)

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  6. Step 500

    500

    #6B7FE8

    oklch(63.1% 0.158 272.9)

  7. Step 600

    600

    #5466D6

    oklch(55.6% 0.172 272.7)

  8. Step 700

    700

    #4554B9

    oklch(49.1% 0.159 272.8)

  9. Step 800

    800

    #384596

    oklch(42.6% 0.133 272.6)

  10. Step 900

    900

    #303B77

    oklch(37.6% 0.103 272.7)

  11. Step 950

    950

    #1C2346

    oklch(27% 0.065 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A9EF1 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)#81A7F40.024
Deuteranopia (no green cones)#789EEF0.022
Tritanopia (no blue cones)#67AFBC0.111
Achromatopsia (no color)#A2A2A20.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9EF1

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  • #BFA13C

    #BFA13C

    oklch(71.7% 0.123 92.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9EF1

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  • #56ACEA

    #56ACEA

    oklch(71.7% 0.123 242.5)

  • #B390E4

    #B390E4

    oklch(71.7% 0.124 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A9EF1

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  • #DA914B

    #DA914B

    oklch(71.7% 0.123 62.4)

  • #96B054

    #96B054

    oklch(71.7% 0.123 122.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9EF1

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  • #E68571

    #E68571

    oklch(71.7% 0.123 32.6)

  • #61BA7E

    #61BA7E

    oklch(71.8% 0.123 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9EF1

    #8A9EF1

    oklch(71.8% 0.123 272.7)

  • #E3819D

    #E3819D

    oklch(71.7% 0.124 2.4)

  • #BFA13C

    #BFA13C

    oklch(71.7% 0.123 92.3)

  • #1EBDAB

    #1EBDAB

    oklch(71.9% 0.124 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 #8A9EF1, closest first.

Similar named colors

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

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