#797FC4

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

Aa

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

About this color

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

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

Values

HEX#797FC4
RGBrgb(121, 127, 196)
HSLhsl(235, 39%, 62%)
OKLCHoklch(62% 0.104 279.1)

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 #797FC4 3.71:1 AA large text Lc -70.2 Content text, not long reading
Black text on #797FC4 5.64:1 AA Lc 39.4 Non-text elements, placeholder text
#797FC4 text on white 3.71:1 AA large text Lc 64.7 Content text, not long reading
#797FC4 text on black 5.64:1 AA Lc -37.0 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

    #D5D8EC

    oklch(88.6% 0.028 279)

  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)

    #797FC4

    oklch(62% 0.104 279.1)

  7. Step 600

    600

    #666BB4

    oklch(55.7% 0.113 279.1)

  8. Step 700

    700

    #55599B

    oklch(49.2% 0.105 279.2)

  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

#797FC4 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.028
Deuteranopia (no green cones)#6482C20.028
Tritanopia (no blue cones)#638C980.091
Achromatopsia (no color)#8484840.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #797FC4

    #797FC4

    oklch(62% 0.104 279.1)

  • #968734

    #968734

    oklch(62% 0.104 99)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797FC4

    #797FC4

    oklch(62% 0.104 279.1)

  • #518BC2

    #518BC2

    oklch(62.1% 0.104 248.6)

  • #9974B6

    #9974B6

    oklch(62% 0.105 309.3)

Open the analogous palette in the generator

Split complementary

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

  • #797FC4

    #797FC4

    oklch(62% 0.104 279.1)

  • #AF7A3A

    #AF7A3A

    oklch(62.1% 0.104 68.8)

  • #72924C

    #72924C

    oklch(61.9% 0.104 129.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797FC4

    #797FC4

    oklch(62% 0.104 279.1)

  • #BB6F56

    #BB6F56

    oklch(62% 0.104 38.9)

  • #46996F

    #46996F

    oklch(61.9% 0.104 159.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797FC4

    #797FC4

    oklch(62% 0.104 279.1)

  • #BB6A79

    #BB6A79

    oklch(61.9% 0.104 8.7)

  • #968734

    #968734

    oklch(62% 0.104 99)

  • #149A93

    #149A93

    oklch(62% 0.104 189)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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