#8198EB

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.7% 0.125 271.1), rgb(129, 152, 235).

Aa

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

About this color

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

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

Values

HEX#8198EB
RGBrgb(129, 152, 235)
HSLhsl(227, 73%, 71%)
OKLCHoklch(69.7% 0.125 271.1)

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 #8198EB 2.75:1 Fails Lc -58.3 Large or bold text, headings
Black text on #8198EB 7.62:1 AAA Lc 50.9 Large or bold text, headings
#8198EB text on white 2.75:1 Fails Lc 53.1 Large or bold text, headings
#8198EB text on black 7.62: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

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #AEBEF4

    oklch(80.8% 0.079 271.7)

  5. Step 400

    400 (this color)

    #8198EB

    oklch(69.7% 0.125 271.1)

  6. Step 500

    500

    #6780E9

    oklch(63.1% 0.16 271.1)

  7. Step 600

    600

    #5067D7

    oklch(55.6% 0.173 271)

  8. Step 700

    700

    #4155BB

    oklch(49.2% 0.162 270.9)

  9. Step 800

    800

    #364697

    oklch(42.8% 0.133 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

#8198EB 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)#7AA1EE0.023
Deuteranopia (no green cones)#7098E90.021
Tritanopia (no blue cones)#5AA9B60.112
Achromatopsia (no color)#9C9C9C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8198EB

    #8198EB

    oklch(69.7% 0.125 271.1)

  • #BA9A31

    #BA9A31

    oklch(69.7% 0.125 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8198EB

    #8198EB

    oklch(69.7% 0.125 271.1)

  • #4BA6E3

    #4BA6E3

    oklch(69.6% 0.124 241.2)

  • #AB8ADE

    #AB8ADE

    oklch(69.6% 0.125 301.3)

Open the analogous palette in the generator

Split complementary

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

  • #8198EB

    #8198EB

    oklch(69.7% 0.125 271.1)

  • #D58A44

    #D58A44

    oklch(69.8% 0.125 61.2)

  • #92A949

    #92A949

    oklch(69.7% 0.125 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8198EB

    #8198EB

    oklch(69.7% 0.125 271.1)

  • #E07E6D

    #E07E6D

    oklch(69.7% 0.125 30.9)

  • #5CB375

    #5CB375

    oklch(69.6% 0.124 151.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8198EB

    #8198EB

    oklch(69.7% 0.125 271.1)

  • #DC7A99

    #DC7A99

    oklch(69.6% 0.126 0.7)

  • #BA9A31

    #BA9A31

    oklch(69.7% 0.125 91.4)

  • #04B6A2

    #04B6A2

    oklch(69.6% 0.125 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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