#7C7EF2

Closest named color: Cornflower (#6A79F7). oklch(64.7% 0.17 279.8), rgb(124, 126, 242).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.170)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text6.12:1
White text3.42:1

Values

HEX#7C7EF2
RGBrgb(124, 126, 242)
HSLhsl(239, 82%, 72%)
OKLCHoklch(64.7% 0.17 279.8)

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 #7C7EF2 3.42:1 AA large text Lc -67.1 Content text, not long reading
Black text on #7C7EF2 6.12:1 AA Lc 42.5 Non-text elements, placeholder text
#7C7EF2 text on white 3.42:1 AA large text Lc 61.6 Content text, not long reading
#7C7EF2 text on black 6.12:1 AA Lc -40.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

    #E6E9FA

    oklch(93.7% 0.023 277.9)

  3. Step 200

    200

    #D2D7F8

    oklch(88.6% 0.046 278.6)

  4. Step 300

    300

    #B5BBF6

    oklch(80.8% 0.084 279.8)

  5. Step 400

    400

    #9196F1

    oklch(70.7% 0.132 280)

  6. Step 500

    500 (this color)

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  7. Step 600

    600

    #625FDB

    oklch(55.6% 0.184 279.6)

  8. Step 700

    700

    #524DBE

    oklch(49.1% 0.172 279.9)

  9. Step 800

    800

    #43409A

    oklch(42.7% 0.143 280)

  10. Step 900

    900

    #38387A

    oklch(37.8% 0.11 279.8)

  11. Step 950

    950

    #202148

    oklch(27% 0.071 279.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C7EF2 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)#4A8FF60.064
Deuteranopia (no green cones)#4086EF0.066
Tritanopia (no blue cones)#4F97AC0.148
Achromatopsia (no color)#8B8B8B0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7EF2

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  • #A28F00

    #A28F00

    oklch(64.7% 0.134 99.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7EF2

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  • #2192F0

    #2192F0

    oklch(64.7% 0.169 249.7)

  • #AD6CDA

    #AD6CDA

    oklch(64.6% 0.169 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C7EF2

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  • #C47C00

    #C47C00

    oklch(64.7% 0.141 69.5)

  • #6BA10E

    #6BA10E

    oklch(64.7% 0.17 129.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7EF2

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  • #E16233

    #E16233

    oklch(64.8% 0.17 39.7)

  • #00A86E

    #00A86E

    oklch(64.5% 0.146 159.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7EF2

    #7C7EF2

    oklch(64.7% 0.17 279.8)

  • #E05977

    #E05977

    oklch(64.6% 0.169 9.5)

  • #A28F00

    #A28F00

    oklch(64.7% 0.134 99.9)

  • #00A39D

    #00A39D

    oklch(64.6% 0.111 190.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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