#838EEF

Closest named color: Perrywinkle (#8F8CE7). oklch(68% 0.143 277), rgb(131, 142, 239).

Aa

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

About this color

#838EEF is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.143 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.08:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.143)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.08:1
White text2.96:1

Values

HEX#838EEF
RGBrgb(131, 142, 239)
HSLhsl(234, 77%, 73%)
OKLCHoklch(68% 0.143 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 #838EEF 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #838EEF 7.08:1 AAA Lc 48.0 Large or bold text, headings
#838EEF text on white 2.96:1 Fails Lc 56.1 Large or bold text, headings
#838EEF text on black 7.08:1 AAA Lc -45.7 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

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300

    #B2BCFA

    oklch(81% 0.088 277.1)

  5. Step 400

    400 (this color)

    #838EEF

    oklch(68% 0.143 277)

  6. Step 500

    500

    #7179F5

    oklch(63.2% 0.182 277)

  7. Step 600

    600

    #5B5EE4

    oklch(55.6% 0.199 276.8)

  8. Step 700

    700

    #4C4CC6

    oklch(49.1% 0.185 277.1)

  9. Step 800

    800

    #3E3FA0

    oklch(42.6% 0.153 277.2)

  10. Step 900

    900

    #34377F

    oklch(37.7% 0.119 277.2)

  11. Step 950

    950

    #1E214A

    oklch(27% 0.075 277)

Export this scale for Tailwind in the Tailwind colors tool

#838EEF 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)#699AF30.040
Deuteranopia (no green cones)#6192ED0.041
Tritanopia (no blue cones)#5DA2B30.126
Achromatopsia (no color)#9696960.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #838EEF

    #838EEF

    oklch(68% 0.143 277)

  • #B19700

    #B19700

    oklch(67.9% 0.14 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #838EEF

    #838EEF

    oklch(68% 0.143 277)

  • #429EEB

    #429EEB

    oklch(67.9% 0.143 247.3)

  • #B07FDD

    #B07FDD

    oklch(68.2% 0.143 307)

Open the analogous palette in the generator

Split complementary

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

  • #838EEF

    #838EEF

    oklch(68% 0.143 277)

  • #D2841B

    #D2841B

    oklch(68% 0.143 66.8)

  • #80A83C

    #80A83C

    oklch(68% 0.143 127.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #838EEF

    #838EEF

    oklch(68% 0.143 277)

  • #E17555

    #E17555

    oklch(68% 0.142 37.3)

  • #35B274

    #35B274

    oklch(68% 0.143 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #838EEF

    #838EEF

    oklch(68% 0.143 277)

  • #E06F89

    #E06F89

    oklch(68% 0.143 7.1)

  • #B19700

    #B19700

    oklch(67.9% 0.14 96.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 #838EEF, closest first.

Similar named colors

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

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