#838BF2

Closest named color: Lavender Blue (#8B88F8). oklch(67.6% 0.151 278.2), rgb(131, 139, 242).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.151)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text6.94:1
White text3.02:1

Values

HEX#838BF2
RGBrgb(131, 139, 242)
HSLhsl(236, 81%, 73%)
OKLCHoklch(67.6% 0.151 278.2)

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 #838BF2 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #838BF2 6.94:1 AA Lc 47.2 Large or bold text, headings
#838BF2 text on white 3.02:1 AA large text Lc 56.9 Large or bold text, headings
#838BF2 text on black 6.94:1 AA Lc -44.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 400.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FD

    oklch(93.7% 0.027 276.8)

  3. Step 200

    200

    #D0D6FC

    oklch(88.4% 0.053 278.2)

  4. Step 300

    300

    #B2BBFD

    oklch(80.9% 0.094 278.1)

  5. Step 400

    400 (this color)

    #838BF2

    oklch(67.6% 0.151 278.2)

  6. Step 500

    500

    #7376FA

    oklch(63.1% 0.192 278.4)

  7. Step 600

    600

    #5E5AE9

    oklch(55.5% 0.209 278.4)

  8. Step 700

    700

    #4E49CB

    oklch(49.1% 0.195 278.2)

  9. Step 800

    800

    #3F3DA4

    oklch(42.7% 0.161 278)

  10. Step 900

    900

    #353682

    oklch(37.8% 0.125 278)

  11. Step 950

    950

    #1F204C

    oklch(27% 0.08 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#838BF2 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)#6399F60.047
Deuteranopia (no green cones)#5A90F00.048
Tritanopia (no blue cones)#5CA0B30.131
Achromatopsia (no color)#9494940.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #838BF2

    #838BF2

    oklch(67.6% 0.151 278.2)

  • #AE9700

    #AE9700

    oklch(67.6% 0.14 98.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838BF2

    #838BF2

    oklch(67.6% 0.151 278.2)

  • #3C9CEF

    #3C9CEF

    oklch(67.5% 0.152 248.4)

  • #B17BDE

    #B17BDE

    oklch(67.6% 0.151 308)

Open the analogous palette in the generator

Split complementary

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

  • #838BF2

    #838BF2

    oklch(67.6% 0.151 278.2)

  • #D18300

    #D18300

    oklch(67.6% 0.148 68.6)

  • #7BA835

    #7BA835

    oklch(67.6% 0.151 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838BF2

    #838BF2

    oklch(67.6% 0.151 278.2)

  • #E3714D

    #E3714D

    oklch(67.5% 0.151 38.1)

  • #1DB273

    #1DB273

    oklch(67.6% 0.15 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838BF2

    #838BF2

    oklch(67.6% 0.151 278.2)

  • #E36A85

    #E36A85

    oklch(67.6% 0.152 8.1)

  • #AE9700

    #AE9700

    oklch(67.6% 0.14 98.3)

  • #00AEA5

    #00AEA5

    oklch(67.7% 0.118 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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