#818EF2

Closest named color: Lavender Blue (#8B88F8). oklch(68.1% 0.147 276.2), rgb(129, 142, 242).

Aa

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

About this color

#818EF2 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.147 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.022 away. Black text reads best on it, at 7.08:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.147)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.08:1
White text2.96:1

Values

HEX#818EF2
RGBrgb(129, 142, 242)
HSLhsl(233, 81%, 73%)
OKLCHoklch(68.1% 0.147 276.2)

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 #818EF2 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #818EF2 7.08:1 AAA Lc 48.0 Large or bold text, headings
#818EF2 text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#818EF2 text on black 7.08:1 AAA Lc -45.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #CFD7FC

    oklch(88.5% 0.052 275.7)

  4. Step 300

    300

    #B0BCFC

    oklch(80.9% 0.092 275.9)

  5. Step 400

    400 (this color)

    #818EF2

    oklch(68.1% 0.147 276.2)

  6. Step 500

    500

    #6E78F8

    oklch(63% 0.188 276.2)

  7. Step 600

    600

    #595DE7

    oklch(55.6% 0.204 276.2)

  8. Step 700

    700

    #4A4BC9

    oklch(49% 0.191 276.4)

  9. Step 800

    800

    #3C3FA3

    oklch(42.8% 0.158 276.1)

  10. Step 900

    900

    #323781

    oklch(37.7% 0.123 275.9)

  11. Step 950

    950

    #1D214C

    oklch(27.1% 0.078 275.8)

Export this scale for Tailwind in the Tailwind colors tool

#818EF2 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)#679BF60.041
Deuteranopia (no green cones)#5E92F00.041
Tritanopia (no blue cones)#57A3B40.131
Achromatopsia (no color)#9696960.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #818EF2

    #818EF2

    oklch(68.1% 0.147 276.2)

  • #B29700

    #B29700

    oklch(68% 0.14 96.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818EF2

    #818EF2

    oklch(68.1% 0.147 276.2)

  • #3B9FED

    #3B9FED

    oklch(68% 0.147 246.2)

  • #AF7EE0

    #AF7EE0

    oklch(68% 0.148 305.9)

Open the analogous palette in the generator

Split complementary

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

  • #818EF2

    #818EF2

    oklch(68.1% 0.147 276.2)

  • #D48311

    #D48311

    oklch(68% 0.147 66.4)

  • #81A836

    #81A836

    oklch(68% 0.147 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818EF2

    #818EF2

    oklch(68.1% 0.147 276.2)

  • #E47355

    #E47355

    oklch(68.1% 0.148 35.9)

  • #31B371

    #31B371

    oklch(68.1% 0.148 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818EF2

    #818EF2

    oklch(68.1% 0.147 276.2)

  • #E26D8A

    #E26D8A

    oklch(68% 0.148 6.2)

  • #B29700

    #B29700

    oklch(68% 0.14 96.3)

  • #00B0A4

    #00B0A4

    oklch(68.1% 0.119 186.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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