#8397EC

Closest named color: Periwinkle Blue (#8F99FB). oklch(69.6% 0.127 272.7), rgb(131, 151, 236).

Aa

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

About this color

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

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

Values

HEX#8397EC
RGBrgb(131, 151, 236)
HSLhsl(229, 73%, 72%)
OKLCHoklch(69.6% 0.127 272.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 #8397EC 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #8397EC 7.60:1 AAA Lc 50.8 Large or bold text, headings
#8397EC text on white 2.76:1 Fails Lc 53.2 Large or bold text, headings
#8397EC text on black 7.60:1 AAA Lc -48.6 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

    #CFD8F7

    oklch(88.5% 0.044 272.7)

  4. Step 300

    300

    #AFBEF5

    oklch(80.9% 0.08 272.7)

  5. Step 400

    400 (this color)

    #8397EC

    oklch(69.6% 0.127 272.7)

  6. Step 500

    500

    #6A7FEA

    oklch(63.1% 0.161 272.6)

  7. Step 600

    600

    #5365D9

    oklch(55.6% 0.177 272.6)

  8. Step 700

    700

    #4453BC

    oklch(49% 0.165 272.7)

  9. Step 800

    800

    #384598

    oklch(42.8% 0.136 272.6)

  10. Step 900

    900

    #303B79

    oklch(37.8% 0.106 272.8)

  11. Step 950

    950

    #1C2347

    oklch(27.1% 0.067 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#8397EC 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)#78A0EF0.025
Deuteranopia (no green cones)#6F97EA0.024
Tritanopia (no blue cones)#5EA8B60.113
Achromatopsia (no color)#9C9C9C0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #8397EC

    #8397EC

    oklch(69.6% 0.127 272.7)

  • #B99A2E

    #B99A2E

    oklch(69.6% 0.127 92.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8397EC

    #8397EC

    oklch(69.6% 0.127 272.7)

  • #4CA6E5

    #4CA6E5

    oklch(69.7% 0.126 242.2)

  • #AD89DE

    #AD89DE

    oklch(69.7% 0.127 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #8397EC

    #8397EC

    oklch(69.6% 0.127 272.7)

  • #D48A40

    #D48A40

    oklch(69.6% 0.127 62.8)

  • #8FAA4A

    #8FAA4A

    oklch(69.7% 0.127 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8397EC

    #8397EC

    oklch(69.6% 0.127 272.7)

  • #E17E69

    #E17E69

    oklch(69.7% 0.127 33)

  • #57B476

    #57B476

    oklch(69.7% 0.128 152.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8397EC

    #8397EC

    oklch(69.6% 0.127 272.7)

  • #DD7A96

    #DD7A96

    oklch(69.7% 0.126 2.8)

  • #B99A2E

    #B99A2E

    oklch(69.6% 0.127 92.2)

  • #00B6A4

    #00B6A4

    oklch(69.7% 0.124 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8397EC 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.