#8198DC

Closest named color: Perrywinkle (#8F8CE7). oklch(68.9% 0.104 269.3), rgb(129, 152, 220).

Aa

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

About this color

#8198DC is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.104 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.042 away. Black text reads best on it, at 7.45:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.45:1
White text2.81:1

Values

HEX#8198DC
RGBrgb(129, 152, 220)
HSLhsl(225, 57%, 68%)
OKLCHoklch(68.9% 0.104 269.3)

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 #8198DC 2.81:1 Fails Lc -59.3 Large or bold text, headings
Black text on #8198DC 7.45:1 AAA Lc 50.0 Large or bold text, headings
#8198DC text on white 2.81:1 Fails Lc 54.1 Large or bold text, headings
#8198DC text on black 7.45:1 AAA Lc -47.8 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AFC0EC

    oklch(81% 0.065 268.4)

  5. Step 400

    400 (this color)

    #8198DC

    oklch(68.9% 0.104 269.3)

  6. Step 500

    500

    #6984DA

    oklch(63.1% 0.133 269.2)

  7. Step 600

    600

    #526CC7

    oklch(55.7% 0.144 269.3)

  8. Step 700

    700

    #4259AC

    oklch(49% 0.135 269.3)

  9. Step 800

    800

    #374A8B

    oklch(42.8% 0.11 269.1)

  10. Step 900

    900

    #2F3E6F

    oklch(37.7% 0.086 269.2)

  11. Step 950

    950

    #1C2541

    oklch(27.1% 0.054 269.1)

Export this scale for Tailwind in the Tailwind colors tool

#8198DC 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)#809EDF0.016
Deuteranopia (no green cones)#7896DA0.013
Tritanopia (no blue cones)#63A6B00.094
Achromatopsia (no color)#9A9A9A0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #8198DC

    #8198DC

    oklch(68.9% 0.104 269.3)

  • #B59849

    #B59849

    oklch(69% 0.104 89.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8198DC

    #8198DC

    oklch(68.9% 0.104 269.3)

  • #59A4D5

    #59A4D5

    oklch(69% 0.104 239.3)

  • #A48CD3

    #A48CD3

    oklch(68.9% 0.105 299.2)

Open the analogous palette in the generator

Split complementary

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

  • #8198DC

    #8198DC

    oklch(68.9% 0.104 269.3)

  • #CB8B56

    #CB8B56

    oklch(69% 0.104 59.4)

  • #94A457

    #94A457

    oklch(68.9% 0.104 118.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8198DC

    #8198DC

    oklch(68.9% 0.104 269.3)

  • #D48275

    #D48275

    oklch(69% 0.104 29.7)

  • #6BAD78

    #6BAD78

    oklch(68.9% 0.103 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8198DC

    #8198DC

    oklch(68.9% 0.104 269.3)

  • #D07F99

    #D07F99

    oklch(68.9% 0.105 359.5)

  • #B59849

    #B59849

    oklch(69% 0.104 89.3)

  • #42B09D

    #42B09D

    oklch(68.9% 0.104 179.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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