#818DCD

Closest named color: Perrywinkle (#8F8CE7). oklch(65.9% 0.096 275.3), rgb(129, 141, 205).

Aa

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

About this color

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

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

Values

HEX#818DCD
RGBrgb(129, 141, 205)
HSLhsl(231, 43%, 65%)
OKLCHoklch(65.9% 0.096 275.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 #818DCD 3.16:1 AA large text Lc -64.2 Content text, not long reading
Black text on #818DCD 6.62:1 AA Lc 45.3 Large or bold text, headings
#818DCD text on white 3.16:1 AA large text Lc 58.8 Large or bold text, headings
#818DCD text on black 6.62:1 AA Lc -42.9 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

    #D4D8EB

    oklch(88.5% 0.026 276.4)

  4. Step 300

    300

    #B7BFE0

    oklch(80.9% 0.047 274.6)

  5. Step 400

    400

    #939DD0

    oklch(70.7% 0.076 275.7)

  6. Step 500

    500 (this color)

    #818DCD

    oklch(65.9% 0.096 275.3)

  7. Step 600

    600

    #626DB0

    oklch(55.5% 0.105 275.4)

  8. Step 700

    700

    #515B98

    oklch(49.1% 0.098 275.1)

  9. Step 800

    800

    #434B7B

    oklch(42.8% 0.08 275.3)

  10. Step 900

    900

    #383E63

    oklch(37.6% 0.064 275.9)

  11. Step 950

    950

    #21253A

    oklch(27.1% 0.04 275.2)

Export this scale for Tailwind in the Tailwind colors tool

#818DCD 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)#7894D00.020
Deuteranopia (no green cones)#738ECB0.019
Tritanopia (no blue cones)#6B99A40.085
Achromatopsia (no color)#9191910.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #818DCD

    #818DCD

    oklch(65.9% 0.096 275.3)

  • #A49148

    #A49148

    oklch(65.8% 0.096 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #818DCD

    #818DCD

    oklch(65.9% 0.096 275.3)

  • #5D98C9

    #5D98C9

    oklch(65.9% 0.096 245)

  • #A083C1

    #A083C1

    oklch(66% 0.095 305.4)

Open the analogous palette in the generator

Split complementary

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

  • #818DCD

    #818DCD

    oklch(65.9% 0.096 275.3)

  • #BB854F

    #BB854F

    oklch(65.9% 0.097 64.8)

  • #849D59

    #849D59

    oklch(66% 0.098 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #818DCD

    #818DCD

    oklch(65.9% 0.096 275.3)

  • #C57C69

    #C57C69

    oklch(65.9% 0.096 35.3)

  • #5EA478

    #5EA478

    oklch(66% 0.097 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #818DCD

    #818DCD

    oklch(65.9% 0.096 275.3)

  • #C4788A

    #C4788A

    oklch(65.9% 0.097 4.7)

  • #A49148

    #A49148

    oklch(65.8% 0.096 95)

  • #3DA59A

    #3DA59A

    oklch(65.9% 0.096 185.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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