#6787DC

Closest named color: Soft Blue (#6488EA). oklch(63.8% 0.133 267), rgb(103, 135, 220).

Aa

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

About this color

#6787DC is a medium-light, moderately saturated blue. In OKLCH its lightness is 64%, its chroma 0.133 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.021 away. Black text reads best on it, at 6.07:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.07:1
White text3.45:1

Values

HEX#6787DC
RGBrgb(103, 135, 220)
HSLhsl(224, 63%, 63%)
OKLCHoklch(63.8% 0.133 267)

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 #6787DC 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #6787DC 6.07:1 AA Lc 42.1 Non-text elements, placeholder text
#6787DC text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#6787DC text on black 6.07:1 AA Lc -39.7 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #AEC0EC

    oklch(80.9% 0.066 267.5)

  5. Step 400

    400

    #839EE2

    oklch(70.6% 0.105 267.1)

  6. Step 500

    500 (this color)

    #6787DC

    oklch(63.8% 0.133 267)

  7. Step 600

    600

    #4D6DC7

    oklch(55.6% 0.144 267)

  8. Step 700

    700

    #3E5BAC

    oklch(49.2% 0.134 266.7)

  9. Step 800

    800

    #334A8B

    oklch(42.6% 0.111 267)

  10. Step 900

    900

    #2D3F6F

    oklch(37.8% 0.085 266.8)

  11. Step 950

    950

    #1A2541

    oklch(27% 0.055 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#6787DC 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)#6590DF0.023
Deuteranopia (no green cones)#5785DA0.020
Tritanopia (no blue cones)#2B99A70.119
Achromatopsia (no color)#8A8A8A0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #6787DC

    #6787DC

    oklch(63.8% 0.133 267)

  • #AD8500

    #AD8500

    oklch(63.7% 0.13 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6787DC

    #6787DC

    oklch(63.8% 0.133 267)

  • #1A96D1

    #1A96D1

    oklch(63.8% 0.132 236.7)

  • #9578D2

    #9578D2

    oklch(63.8% 0.134 297.3)

Open the analogous palette in the generator

Split complementary

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

  • #6787DC

    #6787DC

    oklch(63.8% 0.133 267)

  • #C7742D

    #C7742D

    oklch(63.9% 0.133 57)

  • #869525

    #869525

    oklch(63.7% 0.133 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6787DC

    #6787DC

    oklch(63.8% 0.133 267)

  • #D0685E

    #D0685E

    oklch(63.8% 0.133 27.1)

  • #4DA159

    #4DA159

    oklch(63.8% 0.134 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6787DC

    #6787DC

    oklch(63.8% 0.133 267)

  • #CA668C

    #CA668C

    oklch(63.8% 0.133 357.5)

  • #AD8500

    #AD8500

    oklch(63.7% 0.13 87.3)

  • #00A28A

    #00A28A

    oklch(63.7% 0.118 177.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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