#6787F2

Closest named color: Soft Blue (#6488EA). oklch(65% 0.163 269), rgb(103, 135, 242).

Aa

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

About this color

#6787F2 is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.163 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.013 away. Black text reads best on it, at 6.32:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.163)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.32:1
White text3.32:1

Values

HEX#6787F2
RGBrgb(103, 135, 242)
HSLhsl(226, 84%, 68%)
OKLCHoklch(65% 0.163 269)

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 #6787F2 3.32:1 AA large text Lc -65.8 Content text, not long reading
Black text on #6787F2 6.32:1 AA Lc 43.7 Non-text elements, placeholder text
#6787F2 text on white 3.32:1 AA large text Lc 60.4 Content text, not long reading
#6787F2 text on black 6.32:1 AA Lc -41.3 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 500.

  1. Step 50

    50

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CDD9F7

    oklch(88.6% 0.043 268.2)

  4. Step 300

    300

    #ABBFF5

    oklch(80.9% 0.08 268.8)

  5. Step 400

    400

    #809CF0

    oklch(70.7% 0.127 269)

  6. Step 500

    500 (this color)

    #6787F2

    oklch(65% 0.163 269)

  7. Step 600

    600

    #4A68DA

    oklch(55.7% 0.177 268.9)

  8. Step 700

    700

    #3C55BD

    oklch(49.1% 0.166 269.2)

  9. Step 800

    800

    #314699

    oklch(42.6% 0.138 269.1)

  10. Step 900

    900

    #2B3C79

    oklch(37.7% 0.106 269.1)

  11. Step 950

    950

    #192447

    oklch(27.1% 0.067 268.5)

Export this scale for Tailwind in the Tailwind colors tool

#6787F2 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)#5694F60.035
Deuteranopia (no green cones)#4387F00.036
Tritanopia (no blue cones)#009FB10.145
Achromatopsia (no color)#8D8D8D0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #6787F2

    #6787F2

    oklch(65% 0.163 269)

  • #B08A00

    #B08A00

    oklch(65.1% 0.133 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6787F2

    #6787F2

    oklch(65% 0.163 269)

  • #0099DE

    #0099DE

    oklch(65% 0.147 239.1)

  • #9E75E4

    #9E75E4

    oklch(65.1% 0.163 298.8)

Open the analogous palette in the generator

Split complementary

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

  • #6787F2

    #6787F2

    oklch(65% 0.163 269)

  • #D27400

    #D27400

    oklch(65.1% 0.154 59.3)

  • #869B00

    #869B00

    oklch(65% 0.153 118.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6787F2

    #6787F2

    oklch(65% 0.163 269)

  • #E16152

    #E16152

    oklch(65% 0.163 29)

  • #2FA954

    #2FA954

    oklch(64.9% 0.162 149.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6787F2

    #6787F2

    oklch(65% 0.163 269)

  • #DB5E8D

    #DB5E8D

    oklch(65.1% 0.163 359.1)

  • #B08A00

    #B08A00

    oklch(65.1% 0.133 89.1)

  • #00A691

    #00A691

    oklch(64.9% 0.118 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6787F2 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.