#767DF2

Closest named color: Cornflower (#6A79F7). oklch(64.1% 0.172 277.8), rgb(118, 125, 242).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.172)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.98:1
White text3.50:1

Values

HEX#767DF2
RGBrgb(118, 125, 242)
HSLhsl(237, 83%, 71%)
OKLCHoklch(64.1% 0.172 277.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 #767DF2 3.50:1 AA large text Lc -67.9 Content text, not long reading
Black text on #767DF2 5.98:1 AA Lc 41.6 Non-text elements, placeholder text
#767DF2 text on white 3.50:1 AA large text Lc 62.4 Content text, not long reading
#767DF2 text on black 5.98:1 AA Lc -39.3 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D1D7F9

    oklch(88.5% 0.047 277.5)

  4. Step 300

    300

    #B3BCF7

    oklch(80.9% 0.084 277.6)

  5. Step 400

    400

    #8D97F3

    oklch(70.7% 0.134 277.7)

  6. Step 500

    500 (this color)

    #767DF2

    oklch(64.1% 0.172 277.8)

  7. Step 600

    600

    #5E60DD

    oklch(55.7% 0.186 277.8)

  8. Step 700

    700

    #4E4EC0

    oklch(49.1% 0.174 277.9)

  9. Step 800

    800

    #40419B

    oklch(42.8% 0.143 278)

  10. Step 900

    900

    #35387B

    oklch(37.6% 0.112 277.7)

  11. Step 950

    950

    #1F2148

    oklch(26.9% 0.071 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#767DF2 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)#468EF60.060
Deuteranopia (no green cones)#3984EF0.063
Tritanopia (no blue cones)#4197AC0.151
Achromatopsia (no color)#8989890.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #767DF2

    #767DF2

    oklch(64.1% 0.172 277.8)

  • #A28C00

    #A28C00

    oklch(64.1% 0.132 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #767DF2

    #767DF2

    oklch(64.1% 0.172 277.8)

  • #0091EE

    #0091EE

    oklch(64.1% 0.172 247.8)

  • #A96BDC

    #A96BDC

    oklch(64.1% 0.172 307.6)

Open the analogous palette in the generator

Split complementary

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

  • #767DF2

    #767DF2

    oklch(64.1% 0.172 277.8)

  • #C37900

    #C37900

    oklch(64% 0.141 68)

  • #6F9E00

    #6F9E00

    oklch(64.1% 0.167 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #767DF2

    #767DF2

    oklch(64.1% 0.172 277.8)

  • #E05E34

    #E05E34

    oklch(64.1% 0.172 37.9)

  • #00A767

    #00A767

    oklch(64.1% 0.151 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #767DF2

    #767DF2

    oklch(64.1% 0.172 277.8)

  • #DF5679

    #DF5679

    oklch(64.1% 0.173 7.7)

  • #A28C00

    #A28C00

    oklch(64.1% 0.132 98)

  • #00A299

    #00A299

    oklch(64.2% 0.112 187.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #767DF2.

Similar named colors

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

Use #767DF2 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.