#838CF2

Closest named color: Lavender Blue (#8B88F8). oklch(67.8% 0.15 277.8), rgb(131, 140, 242).

Aa

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

About this color

#838CF2 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.150 and its hue 278°. 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 6.99:1.

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

Values

HEX#838CF2
RGBrgb(131, 140, 242)
HSLhsl(235, 81%, 73%)
OKLCHoklch(67.8% 0.15 277.8)

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 #838CF2 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #838CF2 6.99:1 AA Lc 47.5 Large or bold text, headings
#838CF2 text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#838CF2 text on black 6.99:1 AA Lc -45.2 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

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FC

    oklch(88.6% 0.052 276.9)

  4. Step 300

    300

    #B2BBFD

    oklch(80.9% 0.094 278.1)

  5. Step 400

    400 (this color)

    #838CF2

    oklch(67.8% 0.15 277.8)

  6. Step 500

    500

    #7277FA

    oklch(63.2% 0.191 277.8)

  7. Step 600

    600

    #5D5BE9

    oklch(55.6% 0.208 277.8)

  8. Step 700

    700

    #4D49CA

    oklch(49% 0.194 277.9)

  9. Step 800

    800

    #3F3DA3

    oklch(42.6% 0.16 278)

  10. Step 900

    900

    #343682

    oklch(37.7% 0.125 277.4)

  11. Step 950

    950

    #1E204C

    oklch(26.9% 0.08 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#838CF2 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)#6499F60.045
Deuteranopia (no green cones)#5C91F00.046
Tritanopia (no blue cones)#5CA1B30.131
Achromatopsia (no color)#9595950.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #838CF2

    #838CF2

    oklch(67.8% 0.15 277.8)

  • #AF9700

    #AF9700

    oklch(67.7% 0.14 97.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838CF2

    #838CF2

    oklch(67.8% 0.15 277.8)

  • #3D9DEE

    #3D9DEE

    oklch(67.7% 0.149 247.8)

  • #B17CDE

    #B17CDE

    oklch(67.8% 0.149 307.8)

Open the analogous palette in the generator

Split complementary

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

  • #838CF2

    #838CF2

    oklch(67.8% 0.15 277.8)

  • #D38300

    #D38300

    oklch(67.9% 0.149 67.8)

  • #7DA836

    #7DA836

    oklch(67.8% 0.149 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838CF2

    #838CF2

    oklch(67.8% 0.15 277.8)

  • #E4724F

    #E4724F

    oklch(67.8% 0.15 37.8)

  • #24B373

    #24B373

    oklch(67.9% 0.15 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838CF2

    #838CF2

    oklch(67.8% 0.15 277.8)

  • #E36C86

    #E36C86

    oklch(67.9% 0.15 8.2)

  • #AF9700

    #AF9700

    oklch(67.7% 0.14 97.8)

  • #00AFA5

    #00AFA5

    oklch(67.9% 0.118 187.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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