#8198EA

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.6% 0.124 271), rgb(129, 152, 234).

Aa

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

About this color

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

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

Values

HEX#8198EA
RGBrgb(129, 152, 234)
HSLhsl(227, 71%, 71%)
OKLCHoklch(69.6% 0.124 271)

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 #8198EA 2.75:1 Fails Lc -58.4 Large or bold text, headings
Black text on #8198EA 7.61:1 AAA Lc 50.9 Large or bold text, headings
#8198EA text on white 2.75:1 Fails Lc 53.2 Large or bold text, headings
#8198EA text on black 7.61:1 AAA Lc -48.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CED8F6

    oklch(88.4% 0.043 270.9)

  4. Step 300

    300

    #AEBFF3

    oklch(81% 0.076 270.6)

  5. Step 400

    400 (this color)

    #8198EA

    oklch(69.6% 0.124 271)

  6. Step 500

    500

    #6780E8

    oklch(63% 0.158 271.1)

  7. Step 600

    600

    #5067D6

    oklch(55.6% 0.172 271)

  8. Step 700

    700

    #4155BA

    oklch(49.1% 0.16 270.9)

  9. Step 800

    800

    #364696

    oklch(42.7% 0.132 271.3)

  10. Step 900

    900

    #2E3C78

    oklch(37.8% 0.103 270.9)

  11. Step 950

    950

    #1B2346

    oklch(26.9% 0.066 271.6)

Export this scale for Tailwind in the Tailwind colors tool

#8198EA 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)#7AA0ED0.021
Deuteranopia (no green cones)#7097E80.021
Tritanopia (no blue cones)#5BA9B60.111
Achromatopsia (no color)#9C9C9C0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #8198EA

    #8198EA

    oklch(69.6% 0.124 271)

  • #BA9A33

    #BA9A33

    oklch(69.7% 0.124 91.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8198EA

    #8198EA

    oklch(69.6% 0.124 271)

  • #4CA6E2

    #4CA6E2

    oklch(69.6% 0.123 240.9)

  • #AA8ADE

    #AA8ADE

    oklch(69.6% 0.124 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #8198EA

    #8198EA

    oklch(69.6% 0.124 271)

  • #D48A45

    #D48A45

    oklch(69.6% 0.124 61.3)

  • #92A94A

    #92A94A

    oklch(69.7% 0.124 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8198EA

    #8198EA

    oklch(69.6% 0.124 271)

  • #DF7E6D

    #DF7E6D

    oklch(69.6% 0.124 31)

  • #5DB375

    #5DB375

    oklch(69.7% 0.124 151.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8198EA

    #8198EA

    oklch(69.6% 0.124 271)

  • #DB7B99

    #DB7B99

    oklch(69.6% 0.123 0.8)

  • #BA9A33

    #BA9A33

    oklch(69.7% 0.124 91.2)

  • #0FB6A2

    #0FB6A2

    oklch(69.7% 0.124 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8198EA 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.