#797EC2

Closest named color: Faded Blue (#658CBB). oklch(61.7% 0.103 279.7), rgb(121, 126, 194).

Aa

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

About this color

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

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

Values

HEX#797EC2
RGBrgb(121, 126, 194)
HSLhsl(236, 37%, 62%)
OKLCHoklch(61.7% 0.103 279.7)

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 #797EC2 3.76:1 AA large text Lc -70.6 Content text, not long reading
Black text on #797EC2 5.57:1 AA Lc 38.9 Non-text elements, placeholder text
#797EC2 text on white 3.76:1 AA large text Lc 65.1 Content text, not long reading
#797EC2 text on black 5.57:1 AA Lc -36.5 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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D5D8EC

    oklch(88.6% 0.028 279)

  4. Step 300

    300

    #B9BEE1

    oklch(80.9% 0.05 278.8)

  5. Step 400

    400

    #969CD2

    oklch(70.8% 0.079 279.3)

  6. Step 500

    500 (this color)

    #797EC2

    oklch(61.7% 0.103 279.7)

  7. Step 600

    600

    #676BB3

    oklch(55.7% 0.111 279.7)

  8. Step 700

    700

    #56599A

    oklch(49.2% 0.103 279.9)

  9. Step 800

    800

    #46497D

    oklch(42.8% 0.086 279.6)

  10. Step 900

    900

    #3B3D64

    oklch(37.7% 0.066 280.5)

  11. Step 950

    950

    #22243B

    oklch(27% 0.043 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#797EC2 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)#6886C50.028
Deuteranopia (no green cones)#6481C00.028
Tritanopia (no blue cones)#648B970.090
Achromatopsia (no color)#8383830.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #797EC2

    #797EC2

    oklch(61.7% 0.103 279.7)

  • #948635

    #948635

    oklch(61.6% 0.102 99.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797EC2

    #797EC2

    oklch(61.7% 0.103 279.7)

  • #528AC1

    #528AC1

    oklch(61.8% 0.103 249.4)

  • #9873B4

    #9873B4

    oklch(61.7% 0.104 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #797EC2

    #797EC2

    oklch(61.7% 0.103 279.7)

  • #AD793A

    #AD793A

    oklch(61.7% 0.103 69)

  • #71924D

    #71924D

    oklch(61.8% 0.103 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797EC2

    #797EC2

    oklch(61.7% 0.103 279.7)

  • #BA6F55

    #BA6F55

    oklch(61.8% 0.103 39.8)

  • #46986F

    #46986F

    oklch(61.7% 0.103 159.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797EC2

    #797EC2

    oklch(61.7% 0.103 279.7)

  • #BA6A77

    #BA6A77

    oklch(61.7% 0.103 10.1)

  • #948635

    #948635

    oklch(61.6% 0.102 99.5)

  • #179993

    #179993

    oklch(61.8% 0.103 189.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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