#838FEE

Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.14 276.6), rgb(131, 143, 238).

Aa

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

About this color

#838FEE is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.140 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.019 away. Black text reads best on it, at 7.12:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.140)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.12:1
White text2.94:1

Values

HEX#838FEE
RGBrgb(131, 143, 238)
HSLhsl(233, 76%, 72%)
OKLCHoklch(68.2% 0.14 276.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 #838FEE 2.94:1 Fails Lc -61.2 Content text, not long reading
Black text on #838FEE 7.12:1 AAA Lc 48.2 Large or bold text, headings
#838FEE text on white 2.94:1 Fails Lc 55.8 Large or bold text, headings
#838FEE text on black 7.12:1 AAA Lc -46.0 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B1BCF9

    oklch(80.8% 0.087 276.4)

  5. Step 400

    400 (this color)

    #838FEE

    oklch(68.2% 0.14 276.6)

  6. Step 500

    500

    #707AF3

    oklch(63.2% 0.179 276.4)

  7. Step 600

    600

    #5B5FE2

    oklch(55.6% 0.195 276.7)

  8. Step 700

    700

    #4B4DC4

    oklch(49% 0.181 276.7)

  9. Step 800

    800

    #3D409F

    oklch(42.7% 0.151 276.5)

  10. Step 900

    900

    #33387E

    oklch(37.7% 0.117 276.2)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#838FEE 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)#6C9BF20.038
Deuteranopia (no green cones)#6392EC0.038
Tritanopia (no blue cones)#5EA3B30.124
Achromatopsia (no color)#9696960.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #838FEE

    #838FEE

    oklch(68.2% 0.14 276.6)

  • #B29802

    #B29802

    oklch(68.3% 0.14 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838FEE

    #838FEE

    oklch(68.2% 0.14 276.6)

  • #449FEA

    #449FEA

    oklch(68.2% 0.14 246.8)

  • #AF80DC

    #AF80DC

    oklch(68.2% 0.14 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #838FEE

    #838FEE

    oklch(68.2% 0.14 276.6)

  • #D28523

    #D28523

    oklch(68.2% 0.14 66.4)

  • #82A83E

    #82A83E

    oklch(68.2% 0.141 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838FEE

    #838FEE

    oklch(68.2% 0.14 276.6)

  • #E17658

    #E17658

    oklch(68.2% 0.14 36.6)

  • #3BB274

    #3BB274

    oklch(68.2% 0.14 156.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838FEE

    #838FEE

    oklch(68.2% 0.14 276.6)

  • #DF708B

    #DF708B

    oklch(68.1% 0.14 6.1)

  • #B29802

    #B29802

    oklch(68.3% 0.14 96.8)

  • #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 #838FEE, closest first.

Similar named colors

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

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