#838DCE

Closest named color: Perrywinkle (#8F8CE7). oklch(66.1% 0.097 276.7), rgb(131, 141, 206).

Aa

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

About this color

#838DCE is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.097 and its hue 277°. 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.66:1.

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

Values

HEX#838DCE
RGBrgb(131, 141, 206)
HSLhsl(232, 43%, 66%)
OKLCHoklch(66.1% 0.097 276.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 #838DCE 3.15:1 AA large text Lc -64.0 Content text, not long reading
Black text on #838DCE 6.66:1 AA Lc 45.5 Large or bold text, headings
#838DCE text on white 3.15:1 AA large text Lc 58.5 Large or bold text, headings
#838DCE text on black 6.66:1 AA Lc -43.2 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

    #B8BFE0

    oklch(81% 0.047 275.9)

  5. Step 400

    400

    #949DD0

    oklch(70.8% 0.075 276.5)

  6. Step 500

    500 (this color)

    #838DCE

    oklch(66.1% 0.097 276.7)

  7. Step 600

    600

    #646DB1

    oklch(55.7% 0.106 276.7)

  8. Step 700

    700

    #535A98

    oklch(49.1% 0.099 277.2)

  9. Step 800

    800

    #444A7B

    oklch(42.7% 0.081 277.1)

  10. Step 900

    900

    #393E63

    oklch(37.7% 0.064 277)

  11. Step 950

    950

    #21253A

    oklch(27.1% 0.04 275.2)

Export this scale for Tailwind in the Tailwind colors tool

#838DCE 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)#7894D10.021
Deuteranopia (no green cones)#738ECC0.021
Tritanopia (no blue cones)#6D9AA40.088
Achromatopsia (no color)#9191910.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #838DCE

    #838DCE

    oklch(66.1% 0.097 276.7)

  • #A49348

    #A49348

    oklch(66.2% 0.098 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838DCE

    #838DCE

    oklch(66.1% 0.097 276.7)

  • #5F98CB

    #5F98CB

    oklch(66.1% 0.097 246.9)

  • #A283C2

    #A283C2

    oklch(66.2% 0.097 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #838DCE

    #838DCE

    oklch(66.1% 0.097 276.7)

  • #BB864E

    #BB864E

    oklch(66.1% 0.098 66.2)

  • #839E5A

    #839E5A

    oklch(66.2% 0.098 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838DCE

    #838DCE

    oklch(66.1% 0.097 276.7)

  • #C67D68

    #C67D68

    oklch(66.1% 0.097 36.8)

  • #5CA57A

    #5CA57A

    oklch(66.2% 0.098 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838DCE

    #838DCE

    oklch(66.1% 0.097 276.7)

  • #C57989

    #C57989

    oklch(66.1% 0.097 6.4)

  • #A49348

    #A49348

    oklch(66.2% 0.098 96.8)

  • #3BA69C

    #3BA69C

    oklch(66.2% 0.097 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #838DCE 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.