#7981AF

Closest named color: Lavender Gray (#7E7F9A). oklch(61.4% 0.07 276.5), rgb(121, 129, 175).

Aa

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

About this color

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

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

Values

HEX#7981AF
RGBrgb(121, 129, 175)
HSLhsl(231, 25%, 58%)
OKLCHoklch(61.4% 0.07 276.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 #7981AF 3.76:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7981AF 5.57:1 AA Lc 38.9 Non-text elements, placeholder text
#7981AF text on white 3.76:1 AA large text Lc 65.2 Content text, not long reading
#7981AF text on black 5.57:1 AA Lc -36.4 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

    #D5D8E6

    oklch(88.4% 0.019 276.3)

  4. Step 300

    300

    #BABFD7

    oklch(80.8% 0.034 276.3)

  5. Step 400

    400

    #979EC3

    oklch(70.7% 0.055 276.5)

  6. Step 500

    500 (this color)

    #7981AF

    oklch(61.4% 0.07 276.5)

  7. Step 600

    600

    #676FA0

    oklch(55.5% 0.077 276.5)

  8. Step 700

    700

    #565D89

    oklch(49.1% 0.071 276.5)

  9. Step 800

    800

    #464C6F

    oklch(42.6% 0.059 276.2)

  10. Step 900

    900

    #3B3F5A

    oklch(37.6% 0.047 277.4)

  11. Step 950

    950

    #232535

    oklch(27% 0.03 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#7981AF 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)#7386B10.015
Deuteranopia (no green cones)#7082AE0.013
Tritanopia (no blue cones)#6B8A910.063
Achromatopsia (no color)#8383830.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #7981AF

    #7981AF

    oklch(61.4% 0.07 276.5)

  • #918553

    #918553

    oklch(61.5% 0.07 96.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7981AF

    #7981AF

    oklch(61.4% 0.07 276.5)

  • #6189AD

    #6189AD

    oklch(61.5% 0.071 246.4)

  • #8F7AA6

    #8F7AA6

    oklch(61.5% 0.069 306.2)

Open the analogous palette in the generator

Split complementary

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

  • #7981AF

    #7981AF

    oklch(61.4% 0.07 276.5)

  • #A27C56

    #A27C56

    oklch(61.4% 0.071 65.9)

  • #798D5E

    #798D5E

    oklch(61.5% 0.071 127.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7981AF

    #7981AF

    oklch(61.4% 0.07 276.5)

  • #AA7667

    #AA7667

    oklch(61.5% 0.07 36.8)

  • #609173

    #609173

    oklch(61.3% 0.07 156.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7981AF

    #7981AF

    oklch(61.4% 0.07 276.5)

  • #A9737D

    #A9737D

    oklch(61.4% 0.069 7.1)

  • #918553

    #918553

    oklch(61.5% 0.07 96.3)

  • #4E928B

    #4E928B

    oklch(61.3% 0.07 186.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7981AF 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.