#787FC4

Closest named color: Faded Blue (#658CBB). oklch(62% 0.104 278.5), rgb(120, 127, 196).

Aa

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

About this color

#787FC4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.104 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Faded Blue (#658CBB), ΔE 0.046 away. Black text reads best on it, at 5.63:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameFaded Blue (#658CBB)
Black text5.63:1
White text3.72:1

Values

HEX#787FC4
RGBrgb(120, 127, 196)
HSLhsl(234, 39%, 62%)
OKLCHoklch(62% 0.104 278.5)

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 #787FC4 3.72:1 AA large text Lc -70.3 Content text, not long reading
Black text on #787FC4 5.63:1 AA Lc 39.3 Non-text elements, placeholder text
#787FC4 text on white 3.72:1 AA large text Lc 64.8 Content text, not long reading
#787FC4 text on black 5.63:1 AA Lc -36.9 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D4D8EC

    oklch(88.5% 0.028 276.8)

  4. Step 300

    300

    #B9BEE2

    oklch(80.9% 0.051 279)

  5. Step 400

    400

    #959CD3

    oklch(70.8% 0.081 278.5)

  6. Step 500

    500 (this color)

    #787FC4

    oklch(62% 0.104 278.5)

  7. Step 600

    600

    #656BB4

    oklch(55.6% 0.113 278.5)

  8. Step 700

    700

    #54599B

    oklch(49.1% 0.105 278.5)

  9. Step 800

    800

    #45497E

    oklch(42.7% 0.087 278.7)

  10. Step 900

    900

    #3A3D65

    oklch(37.6% 0.068 279.3)

  11. Step 950

    950

    #22243B

    oklch(27% 0.043 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#787FC4 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)#6887C70.027
Deuteranopia (no green cones)#6382C20.028
Tritanopia (no blue cones)#628C980.091
Achromatopsia (no color)#8484840.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #787FC4

    #787FC4

    oklch(62% 0.104 278.5)

  • #968634

    #968634

    oklch(61.8% 0.103 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787FC4

    #787FC4

    oklch(62% 0.104 278.5)

  • #508BC2

    #508BC2

    oklch(62% 0.104 248.3)

  • #9874B6

    #9874B6

    oklch(61.9% 0.104 308.6)

Open the analogous palette in the generator

Split complementary

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

  • #787FC4

    #787FC4

    oklch(62% 0.104 278.5)

  • #AF793A

    #AF793A

    oklch(61.9% 0.104 67.9)

  • #73924B

    #73924B

    oklch(61.9% 0.104 128.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787FC4

    #787FC4

    oklch(62% 0.104 278.5)

  • #BB6F56

    #BB6F56

    oklch(62% 0.104 38.9)

  • #47996E

    #47996E

    oklch(62% 0.104 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787FC4

    #787FC4

    oklch(62% 0.104 278.5)

  • #BB6A79

    #BB6A79

    oklch(61.9% 0.104 8.7)

  • #968634

    #968634

    oklch(61.8% 0.103 98.2)

  • #149A92

    #149A92

    oklch(62% 0.104 188.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787FC4 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.