#838AFF

Closest named color: Lavender Blue (#8B88F8). oklch(68.2% 0.17 278.3), rgb(131, 138, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.170)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.04:1
White text2.98:1

Values

HEX#838AFF
RGBrgb(131, 138, 255)
HSLhsl(237, 100%, 76%)
OKLCHoklch(68.2% 0.17 278.3)

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 #838AFF 2.98:1 Fails Lc -61.6 Content text, not long reading
Black text on #838AFF 7.04:1 AAA Lc 47.8 Large or bold text, headings
#838AFF text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#838AFF text on black 7.04:1 AAA Lc -45.5 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

    #E5E8FF

    oklch(93.6% 0.031 279.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400 (this color)

    #838AFF

    oklch(68.2% 0.17 278.3)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5D53F8

    oklch(55.6% 0.236 278.1)

  8. Step 700

    700

    #4E41D8

    oklch(49.1% 0.22 278.4)

  9. Step 800

    800

    #3F37AE

    oklch(42.6% 0.182 278.3)

  10. Step 900

    900

    #34328A

    oklch(37.6% 0.142 278.1)

  11. Step 950

    950

    #1E1E51

    oklch(26.9% 0.091 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#838AFF 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)#589AFF0.058
Deuteranopia (no green cones)#4D91FC0.060
Tritanopia (no blue cones)#53A3B80.149
Achromatopsia (no color)#9595950.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #838AFF

    #838AFF

    oklch(68.2% 0.17 278.3)

  • #B09900

    #B09900

    oklch(68.3% 0.141 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838AFF

    #838AFF

    oklch(68.2% 0.17 278.3)

  • #289EFC

    #289EFC

    oklch(68.2% 0.17 248.4)

  • #B678E8

    #B678E8

    oklch(68.2% 0.169 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #838AFF

    #838AFF

    oklch(68.2% 0.17 278.3)

  • #D48400

    #D48400

    oklch(68.2% 0.15 68)

  • #79AB1C

    #79AB1C

    oklch(68.1% 0.17 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838AFF

    #838AFF

    oklch(68.2% 0.17 278.3)

  • #EE6C42

    #EE6C42

    oklch(68.2% 0.171 38.2)

  • #00B572

    #00B572

    oklch(68.1% 0.159 158.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838AFF

    #838AFF

    oklch(68.2% 0.17 278.3)

  • #ED6484

    #ED6484

    oklch(68.2% 0.171 8.3)

  • #B09900

    #B09900

    oklch(68.3% 0.141 98.4)

  • #00B0A7

    #00B0A7

    oklch(68.2% 0.119 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 #838AFF, closest first.

Similar named colors

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

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