#6796EF

Closest named color: Cornflower Blue (#6495ED). oklch(67.9% 0.142 262.2), rgb(103, 150, 239).

Aa

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

About this color

#6796EF is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.142 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.005 away. Black text reads best on it, at 7.18:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.142)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.18:1
White text2.92:1

Values

HEX#6796EF
RGBrgb(103, 150, 239)
HSLhsl(219, 81%, 67%)
OKLCHoklch(67.9% 0.142 262.2)

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 #6796EF 2.92:1 Fails Lc -60.8 Content text, not long reading
Black text on #6796EF 7.18:1 AAA Lc 48.6 Large or bold text, headings
#6796EF text on white 2.92:1 Fails Lc 55.4 Large or bold text, headings
#6796EF text on black 7.18:1 AAA Lc -46.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A2C1FB

    oklch(80.9% 0.089 262.7)

  5. Step 400

    400 (this color)

    #6796EF

    oklch(67.9% 0.142 262.2)

  6. Step 500

    500

    #4984F5

    oklch(63.2% 0.18 261.9)

  7. Step 600

    600

    #2D6AE4

    oklch(55.7% 0.196 262.2)

  8. Step 700

    700

    #2057C6

    oklch(49.1% 0.183 262.2)

  9. Step 800

    800

    #1C48A0

    oklch(42.7% 0.151 262.1)

  10. Step 900

    900

    #1C3D7F

    oklch(37.6% 0.119 262.3)

  11. Step 950

    950

    #11254A

    oklch(27.1% 0.074 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#6796EF 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)#719EF30.025
Deuteranopia (no green cones)#5F91ED0.017
Tritanopia (no blue cones)#00AAB70.126
Achromatopsia (no color)#9797970.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #6796EF

    #6796EF

    oklch(67.9% 0.142 262.2)

  • #C28E00

    #C28E00

    oklch(67.9% 0.14 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6796EF

    #6796EF

    oklch(67.9% 0.142 262.2)

  • #00A5DF

    #00A5DF

    oklch(67.9% 0.14 232.6)

  • #9B86E7

    #9B86E7

    oklch(68% 0.141 292.2)

Open the analogous palette in the generator

Split complementary

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

  • #6796EF

    #6796EF

    oklch(67.9% 0.142 262.2)

  • #DB7C3B

    #DB7C3B

    oklch(68% 0.142 52.2)

  • #9BA01F

    #9BA01F

    oklch(68% 0.141 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6796EF

    #6796EF

    oklch(67.9% 0.142 262.2)

  • #E2716F

    #E2716F

    oklch(68% 0.141 22.5)

  • #60AE59

    #60AE59

    oklch(68% 0.143 142.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6796EF

    #6796EF

    oklch(67.9% 0.142 262.2)

  • #D970A1

    #D970A1

    oklch(68% 0.142 352.2)

  • #C28E00

    #C28E00

    oklch(67.9% 0.14 82.4)

  • #00B28F

    #00B28F

    oklch(68% 0.132 172)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6796EF 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.