#7A7DEB

Closest named color: Cornflower (#6A79F7). oklch(63.9% 0.162 279.6), rgb(122, 125, 235).

Aa

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

About this color

#7A7DEB is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.162 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.031 away. Black text reads best on it, at 5.96:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.162)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.96:1
White text3.52:1

Values

HEX#7A7DEB
RGBrgb(122, 125, 235)
HSLhsl(238, 74%, 70%)
OKLCHoklch(63.9% 0.162 279.6)

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 #7A7DEB 3.52:1 AA large text Lc -68.1 Content text, not long reading
Black text on #7A7DEB 5.96:1 AA Lc 41.5 Non-text elements, placeholder text
#7A7DEB text on white 3.52:1 AA large text Lc 62.6 Content text, not long reading
#7A7DEB text on black 5.96:1 AA Lc -39.1 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D3D7F7

    oklch(88.6% 0.044 279.8)

  4. Step 300

    300

    #B6BCF4

    oklch(81% 0.079 279.7)

  5. Step 400

    400

    #9197EE

    oklch(70.7% 0.127 279.6)

  6. Step 500

    500 (this color)

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  7. Step 600

    600

    #6261D6

    oklch(55.6% 0.175 279.4)

  8. Step 700

    700

    #524FBA

    oklch(49.1% 0.164 279.7)

  9. Step 800

    800

    #434296

    oklch(42.8% 0.134 279.6)

  10. Step 900

    900

    #383878

    oklch(37.7% 0.106 280)

  11. Step 950

    950

    #202246

    oklch(27.1% 0.066 278.6)

Export this scale for Tailwind in the Tailwind colors tool

#7A7DEB 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)#4E8DEF0.059
Deuteranopia (no green cones)#4484E90.061
Tritanopia (no blue cones)#5094A90.140
Achromatopsia (no color)#8888880.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A7DEB

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  • #A08C00

    #A08C00

    oklch(63.9% 0.132 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A7DEB

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  • #2790E9

    #2790E9

    oklch(64% 0.162 249.5)

  • #A96CD5

    #A96CD5

    oklch(63.9% 0.162 309.3)

Open the analogous palette in the generator

Split complementary

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

  • #7A7DEB

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  • #C17A00

    #C17A00

    oklch(64% 0.139 69.5)

  • #6B9E1A

    #6B9E1A

    oklch(63.9% 0.162 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A7DEB

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  • #DB6237

    #DB6237

    oklch(63.9% 0.163 39.4)

  • #00A66C

    #00A66C

    oklch(64% 0.145 159.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A7DEB

    #7A7DEB

    oklch(63.9% 0.162 279.6)

  • #DA5A76

    #DA5A76

    oklch(63.8% 0.162 9.4)

  • #A08C00

    #A08C00

    oklch(63.9% 0.132 99.1)

  • #00A19A

    #00A19A

    oklch(63.9% 0.111 189.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7A7DEB.

Similar named colors

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

Use #7A7DEB 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.