#818FEB

Closest named color: Perrywinkle (#8F8CE7). oklch(67.9% 0.136 275.6), rgb(129, 143, 235).

Aa

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

About this color

#818FEB is a medium-light, moderately saturated blue. In OKLCH its lightness is 68%, its chroma 0.136 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.020 away. Black text reads best on it, at 7.06:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.06:1
White text2.97:1

Values

HEX#818FEB
RGBrgb(129, 143, 235)
HSLhsl(232, 73%, 71%)
OKLCHoklch(67.9% 0.136 275.6)

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 #818FEB 2.97:1 Fails Lc -61.6 Content text, not long reading
Black text on #818FEB 7.06:1 AAA Lc 47.8 Large or bold text, headings
#818FEB text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#818FEB text on black 7.06:1 AAA Lc -45.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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7F9

    oklch(88.5% 0.047 276.2)

  4. Step 300

    300

    #B1BDF8

    oklch(81% 0.085 275.4)

  5. Step 400

    400 (this color)

    #818FEB

    oklch(67.9% 0.136 275.6)

  6. Step 500

    500

    #6E7BF1

    oklch(63.1% 0.175 275.5)

  7. Step 600

    600

    #5961DF

    oklch(55.6% 0.189 275.6)

  8. Step 700

    700

    #494FC2

    oklch(49.1% 0.177 275.5)

  9. Step 800

    800

    #3C429D

    oklch(42.8% 0.146 275.5)

  10. Step 900

    900

    #32397C

    oklch(37.7% 0.112 275.1)

  11. Step 950

    950

    #1D2249

    oklch(27% 0.072 275)

Export this scale for Tailwind in the Tailwind colors tool

#818FEB 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)#6D9AEF0.034
Deuteranopia (no green cones)#6492E90.035
Tritanopia (no blue cones)#5CA2B20.120
Achromatopsia (no color)#9696960.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #818FEB

    #818FEB

    oklch(67.9% 0.136 275.6)

  • #B29610

    #B29610

    oklch(67.9% 0.136 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818FEB

    #818FEB

    oklch(67.9% 0.136 275.6)

  • #449FE6

    #449FE6

    oklch(67.9% 0.136 245.4)

  • #AC80DA

    #AC80DA

    oklch(67.8% 0.136 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #818FEB

    #818FEB

    oklch(67.9% 0.136 275.6)

  • #D08429

    #D08429

    oklch(67.8% 0.137 65.5)

  • #84A63F

    #84A63F

    oklch(67.8% 0.136 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818FEB

    #818FEB

    oklch(67.9% 0.136 275.6)

  • #DE765B

    #DE765B

    oklch(67.8% 0.136 35.6)

  • #41B073

    #41B073

    oklch(67.8% 0.136 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818FEB

    #818FEB

    oklch(67.9% 0.136 275.6)

  • #DC718C

    #DC718C

    oklch(67.9% 0.136 5.3)

  • #B29610

    #B29610

    oklch(67.9% 0.136 95.3)

  • #00AFA2

    #00AFA2

    oklch(67.8% 0.119 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #818FEB 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.