#797FB0

Closest named color: Lavender Gray (#7E7F9A). oklch(61.1% 0.075 278.5), rgb(121, 127, 176).

Aa

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

About this color

#797FB0 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.075 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.035 away. Black text reads best on it, at 5.47:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.47:1
White text3.83:1

Values

HEX#797FB0
RGBrgb(121, 127, 176)
HSLhsl(233, 26%, 58%)
OKLCHoklch(61.1% 0.075 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 #797FB0 3.83:1 AA large text Lc -71.3 Content text, not long reading
Black text on #797FB0 5.47:1 AA Lc 38.3 Non-text elements, placeholder text
#797FB0 text on white 3.83:1 AA large text Lc 65.8 Content text, not long reading
#797FB0 text on black 5.47:1 AA Lc -35.8 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BBBFD9

    oklch(81% 0.037 278.6)

  5. Step 400

    400

    #989DC5

    oklch(70.6% 0.059 279.2)

  6. Step 500

    500 (this color)

    #797FB0

    oklch(61.1% 0.075 278.5)

  7. Step 600

    600

    #696EA2

    oklch(55.5% 0.081 279.2)

  8. Step 700

    700

    #575C8B

    oklch(49.1% 0.075 278.6)

  9. Step 800

    800

    #474B71

    oklch(42.6% 0.063 278.7)

  10. Step 900

    900

    #3C3F5B

    oklch(37.7% 0.048 279.1)

  11. Step 950

    950

    #232535

    oklch(27% 0.03 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#797FB0 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)#7084B20.017
Deuteranopia (no green cones)#6D80AF0.017
Tritanopia (no blue cones)#6B88900.066
Achromatopsia (no color)#8282820.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #797FB0

    #797FB0

    oklch(61.1% 0.075 278.5)

  • #8F844E

    #8F844E

    oklch(61% 0.075 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797FB0

    #797FB0

    oklch(61.1% 0.075 278.5)

  • #5F87AE

    #5F87AE

    oklch(60.9% 0.074 248.5)

  • #9077A6

    #9077A6

    oklch(61% 0.075 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #797FB0

    #797FB0

    oklch(61.1% 0.075 278.5)

  • #A17B51

    #A17B51

    oklch(61% 0.075 68.5)

  • #768C5C

    #768C5C

    oklch(61% 0.074 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797FB0

    #797FB0

    oklch(61.1% 0.075 278.5)

  • #AB7462

    #AB7462

    oklch(61.1% 0.075 38.9)

  • #5B9173

    #5B9173

    oklch(61% 0.074 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797FB0

    #797FB0

    oklch(61.1% 0.075 278.5)

  • #AB717A

    #AB717A

    oklch(61.2% 0.074 9.3)

  • #8F844E

    #8F844E

    oklch(61% 0.075 98.1)

  • #48928C

    #48928C

    oklch(61.1% 0.075 188.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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