#8A98EB

Closest named color: Periwinkle Blue (#8F99FB). oklch(70.3% 0.123 275.5), rgb(138, 152, 235).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (70%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text7.77:1
White text2.70:1

Values

HEX#8A98EB
RGBrgb(138, 152, 235)
HSLhsl(231, 71%, 73%)
OKLCHoklch(70.3% 0.123 275.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 #8A98EB 2.70:1 Fails Lc -57.5 Large or bold text, headings
Black text on #8A98EB 7.77:1 AAA Lc 51.7 Large or bold text, headings
#8A98EB text on white 2.70:1 Fails Lc 52.3 Large or bold text, headings
#8A98EB text on black 7.77:1 AAA Lc -49.5 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

    #D1D7F6

    oklch(88.4% 0.043 276.8)

  4. Step 300

    300

    #B2BDF3

    oklch(80.9% 0.077 275.6)

  5. Step 400

    400 (this color)

    #8A98EB

    oklch(70.3% 0.123 275.5)

  6. Step 500

    500

    #707EE6

    oklch(63.1% 0.156 275.2)

  7. Step 600

    600

    #5A64D5

    oklch(55.5% 0.171 275.5)

  8. Step 700

    700

    #4B53B8

    oklch(49.2% 0.157 275.6)

  9. Step 800

    800

    #3D4495

    oklch(42.7% 0.131 275.6)

  10. Step 900

    900

    #333A77

    oklch(37.6% 0.103 275.4)

  11. Step 950

    950

    #1E2346

    oklch(27.1% 0.065 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A98EB 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)#7BA1EE0.027
Deuteranopia (no green cones)#749AE90.027
Tritanopia (no blue cones)#6BA9B70.109
Achromatopsia (no color)#9D9D9D0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A98EB

    #8A98EB

    oklch(70.3% 0.123 275.5)

  • #B79E38

    #B79E38

    oklch(70.3% 0.122 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A98EB

    #8A98EB

    oklch(70.3% 0.123 275.5)

  • #58A6E6

    #58A6E6

    oklch(70.2% 0.122 245.5)

  • #B28BDC

    #B28BDC

    oklch(70.4% 0.122 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A98EB

    #8A98EB

    oklch(70.3% 0.123 275.5)

  • #D38E44

    #D38E44

    oklch(70.2% 0.123 65.2)

  • #8DAD53

    #8DAD53

    oklch(70.4% 0.123 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A98EB

    #8A98EB

    oklch(70.3% 0.123 275.5)

  • #E08269

    #E08269

    oklch(70.3% 0.122 35.8)

  • #57B67E

    #57B67E

    oklch(70.3% 0.123 155.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A98EB

    #8A98EB

    oklch(70.3% 0.123 275.5)

  • #DE7D94

    #DE7D94

    oklch(70.2% 0.122 5.5)

  • #B79E38

    #B79E38

    oklch(70.3% 0.122 95.1)

  • #09B7AA

    #09B7AA

    oklch(70.2% 0.122 185.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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