#838EFE

Closest named color: Lavender Blue (#8B88F8). oklch(68.9% 0.163 277), rgb(131, 142, 254).

Aa

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

About this color

#838EFE is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.163 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.018 away. Black text reads best on it, at 7.26:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.163)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.26:1
White text2.89:1

Values

HEX#838EFE
RGBrgb(131, 142, 254)
HSLhsl(235, 98%, 75%)
OKLCHoklch(68.9% 0.163 277)

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 #838EFE 2.89:1 Fails Lc -60.3 Content text, not long reading
Black text on #838EFE 7.26:1 AAA Lc 49.0 Large or bold text, headings
#838EFE text on white 2.89:1 Fails Lc 55.0 Large or bold text, headings
#838EFE text on black 7.26:1 AAA Lc -46.8 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CFD7FF

    oklch(88.6% 0.056 276.3)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400 (this color)

    #838EFE

    oklch(68.9% 0.163 277)

  6. Step 500

    500

    #6F76FF

    oklch(63.2% 0.2 276.8)

  7. Step 600

    600

    #5A57F3

    oklch(55.6% 0.226 277)

  8. Step 700

    700

    #4B45D4

    oklch(49.1% 0.211 277.1)

  9. Step 800

    800

    #3D3AAB

    oklch(42.6% 0.175 277.2)

  10. Step 900

    900

    #333488

    oklch(37.8% 0.137 277.1)

  11. Step 950

    950

    #1D1F4F

    oklch(26.9% 0.086 277.1)

Export this scale for Tailwind in the Tailwind colors tool

#838EFE 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)#609DFF0.050
Deuteranopia (no green cones)#5593FC0.051
Tritanopia (no blue cones)#53A6BA0.144
Achromatopsia (no color)#9898980.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #838EFE

    #838EFE

    oklch(68.9% 0.163 277)

  • #B49A00

    #B49A00

    oklch(68.9% 0.142 97)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838EFE

    #838EFE

    oklch(68.9% 0.163 277)

  • #2DA1F9

    #2DA1F9

    oklch(68.8% 0.163 246.8)

  • #B67CE9

    #B67CE9

    oklch(68.9% 0.164 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #838EFE

    #838EFE

    oklch(68.9% 0.163 277)

  • #D88500

    #D88500

    oklch(68.8% 0.152 67)

  • #80AC26

    #80AC26

    oklch(68.8% 0.163 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838EFE

    #838EFE

    oklch(68.9% 0.163 277)

  • #EE704C

    #EE704C

    oklch(68.9% 0.164 36.8)

  • #04B870

    #04B870

    oklch(68.9% 0.164 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838EFE

    #838EFE

    oklch(68.9% 0.163 277)

  • #EC698A

    #EC698A

    oklch(68.9% 0.164 6.7)

  • #B49A00

    #B49A00

    oklch(68.9% 0.142 97)

  • #00B2A7

    #00B2A7

    oklch(68.8% 0.12 187)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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