#8A9FE4

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.3% 0.104 270.7), rgb(138, 159, 228).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (71%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.16:1
White text2.57:1

Values

HEX#8A9FE4
RGBrgb(138, 159, 228)
HSLhsl(226, 63%, 72%)
OKLCHoklch(71.3% 0.104 270.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 #8A9FE4 2.57:1 Fails Lc -55.4 Large or bold text, headings
Black text on #8A9FE4 8.16:1 AAA Lc 53.7 Large or bold text, headings
#8A9FE4 text on white 2.57:1 Fails Lc 50.3 Large or bold text, headings
#8A9FE4 text on black 8.16:1 AAA Lc -51.7 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B1BFEC

    oklch(80.9% 0.066 271.4)

  5. Step 400

    400 (this color)

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  6. Step 500

    500

    #6C83D9

    oklch(63.1% 0.132 270.9)

  7. Step 600

    600

    #546BC7

    oklch(55.6% 0.145 270.5)

  8. Step 700

    700

    #4559AC

    oklch(49.1% 0.134 270.6)

  9. Step 800

    800

    #39498B

    oklch(42.7% 0.111 270.8)

  10. Step 900

    900

    #303E6F

    oklch(37.7% 0.086 269.9)

  11. Step 950

    950

    #1C2441

    oklch(26.9% 0.055 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A9FE4 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)#88A5E70.015
Deuteranopia (no green cones)#809EE20.013
Tritanopia (no blue cones)#6DADB80.093
Achromatopsia (no color)#A1A1A10.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9FE4

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  • #BBA051

    #BBA051

    oklch(71.4% 0.104 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9FE4

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  • #62ABDD

    #62ABDD

    oklch(71.4% 0.104 240.3)

  • #AD93DA

    #AD93DA

    oklch(71.3% 0.105 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A9FE4

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  • #D2935D

    #D2935D

    oklch(71.4% 0.104 60.6)

  • #99AC60

    #99AC60

    oklch(71.2% 0.103 120.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9FE4

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  • #DC897B

    #DC897B

    oklch(71.3% 0.105 30.2)

  • #70B581

    #70B581

    oklch(71.3% 0.103 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9FE4

    #8A9FE4

    oklch(71.3% 0.104 270.7)

  • #D8869F

    #D8869F

    oklch(71.2% 0.105 0.4)

  • #BBA051

    #BBA051

    oklch(71.4% 0.104 90.8)

  • #49B8A6

    #49B8A6

    oklch(71.4% 0.104 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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