#839DFB

Closest named color: Periwinkle Blue (#8F99FB). oklch(71.6% 0.14 270.8), rgb(131, 157, 251).

Aa

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

About this color

#839DFB is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.140 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.017 away. Black text reads best on it, at 8.18:1.

Hue familyBlues
Lightnessmedium-light (72%)
Chromavivid (0.140)
Temperaturecool
Nearest namePeriwinkle Blue (#8F99FB)
Black text8.18:1
White text2.56:1

Values

HEX#839DFB
RGBrgb(131, 157, 251)
HSLhsl(227, 94%, 75%)
OKLCHoklch(71.6% 0.14 270.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 #839DFB 2.56:1 Fails Lc -55.2 Large or bold text, headings
Black text on #839DFB 8.18:1 AAA Lc 53.9 Large or bold text, headings
#839DFB text on white 2.56:1 Fails Lc 50.1 Large or bold text, headings
#839DFB text on black 8.18:1 AAA Lc -51.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FA

    oklch(88.5% 0.048 271.2)

  4. Step 300

    300

    #ABBEFA

    oklch(80.9% 0.088 270.8)

  5. Step 400

    400 (this color)

    #839DFB

    oklch(71.6% 0.14 270.8)

  6. Step 500

    500

    #637EF4

    oklch(63.2% 0.178 270.8)

  7. Step 600

    600

    #4C63E3

    oklch(55.5% 0.195 270.9)

  8. Step 700

    700

    #3E51C5

    oklch(49% 0.181 271)

  9. Step 800

    800

    #3343A0

    oklch(42.7% 0.151 271.1)

  10. Step 900

    900

    #2C3A7F

    oklch(37.7% 0.117 271.1)

  11. Step 950

    950

    #19234A

    oklch(27.1% 0.073 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#839DFB 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)#79A7FF0.026
Deuteranopia (no green cones)#6D9DF90.026
Tritanopia (no blue cones)#53B1C00.126
Achromatopsia (no color)#A2A2A20.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #839DFB

    #839DFB

    oklch(71.6% 0.14 270.8)

  • #C49F1B

    #C49F1B

    oklch(71.6% 0.14 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #839DFB

    #839DFB

    oklch(71.6% 0.14 270.8)

  • #40ADF2

    #40ADF2

    oklch(71.6% 0.14 240.9)

  • #B28DED

    #B28DED

    oklch(71.6% 0.141 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #839DFB

    #839DFB

    oklch(71.6% 0.14 270.8)

  • #E28C3A

    #E28C3A

    oklch(71.6% 0.141 60.5)

  • #97B040

    #97B040

    oklch(71.6% 0.14 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #839DFB

    #839DFB

    oklch(71.6% 0.14 270.8)

  • #EE7F6C

    #EE7F6C

    oklch(71.6% 0.14 31)

  • #57BC74

    #57BC74

    oklch(71.7% 0.141 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #839DFB

    #839DFB

    oklch(71.6% 0.14 270.8)

  • #E97B9E

    #E97B9E

    oklch(71.6% 0.14 1)

  • #C49F1B

    #C49F1B

    oklch(71.6% 0.14 91.1)

  • #00BDA8

    #00BDA8

    oklch(71.6% 0.129 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #839DFB 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.