#818ECF

Closest named color: Perrywinkle (#8F8CE7). oklch(66.2% 0.098 274.8), rgb(129, 142, 207).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (66%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.70:1
White text3.13:1

Values

HEX#818ECF
RGBrgb(129, 142, 207)
HSLhsl(230, 45%, 66%)
OKLCHoklch(66.2% 0.098 274.8)

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 #818ECF 3.13:1 AA large text Lc -63.7 Content text, not long reading
Black text on #818ECF 6.70:1 AA Lc 45.7 Large or bold text, headings
#818ECF text on white 3.13:1 AA large text Lc 58.3 Large or bold text, headings
#818ECF text on black 6.70:1 AA Lc -43.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B7BFE0

    oklch(80.9% 0.047 274.6)

  5. Step 400

    400

    #929DD1

    oklch(70.6% 0.077 275)

  6. Step 500

    500 (this color)

    #818ECF

    oklch(66.2% 0.098 274.8)

  7. Step 600

    600

    #616DB1

    oklch(55.5% 0.106 274.8)

  8. Step 700

    700

    #505B98

    oklch(49% 0.098 274.5)

  9. Step 800

    800

    #424B7C

    oklch(42.8% 0.082 274.5)

  10. Step 900

    900

    #383F63

    oklch(37.8% 0.062 274.7)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#818ECF 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)#7995D20.020
Deuteranopia (no green cones)#738FCD0.018
Tritanopia (no blue cones)#6A9BA50.088
Achromatopsia (no color)#9191910.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #818ECF

    #818ECF

    oklch(66.2% 0.098 274.8)

  • #A69247

    #A69247

    oklch(66.2% 0.098 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818ECF

    #818ECF

    oklch(66.2% 0.098 274.8)

  • #5C99CB

    #5C99CB

    oklch(66.2% 0.098 244.8)

  • #A183C3

    #A183C3

    oklch(66.2% 0.098 305.4)

Open the analogous palette in the generator

Split complementary

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

  • #818ECF

    #818ECF

    oklch(66.2% 0.098 274.8)

  • #BC864F

    #BC864F

    oklch(66.2% 0.098 65.2)

  • #859D59

    #859D59

    oklch(66.1% 0.097 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818ECF

    #818ECF

    oklch(66.2% 0.098 274.8)

  • #C77C6A

    #C77C6A

    oklch(66.1% 0.098 34.2)

  • #5FA578

    #5FA578

    oklch(66.3% 0.098 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818ECF

    #818ECF

    oklch(66.2% 0.098 274.8)

  • #C6798B

    #C6798B

    oklch(66.3% 0.098 5)

  • #A69247

    #A69247

    oklch(66.2% 0.098 94.6)

  • #3CA69A

    #3CA69A

    oklch(66.2% 0.098 184.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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