#6797EA

Closest named color: Cornflower Blue (#6495ED). oklch(67.9% 0.134 260.8), rgb(103, 151, 234).

Aa

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

About this color

#6797EA is a medium-light, moderately saturated blue. In OKLCH its lightness is 68%, its chroma 0.134 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.009 away. Black text reads best on it, at 7.19:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.19:1
White text2.92:1

Values

HEX#6797EA
RGBrgb(103, 151, 234)
HSLhsl(218, 76%, 66%)
OKLCHoklch(67.9% 0.134 260.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 #6797EA 2.92:1 Fails Lc -60.7 Content text, not long reading
Black text on #6797EA 7.19:1 AAA Lc 48.6 Large or bold text, headings
#6797EA text on white 2.92:1 Fails Lc 55.4 Large or bold text, headings
#6797EA text on black 7.19: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400 (this color)

    #6797EA

    oklch(67.9% 0.134 260.8)

  6. Step 500

    500

    #4985EF

    oklch(63% 0.171 260.8)

  7. Step 600

    600

    #2B6CDE

    oklch(55.6% 0.187 260.8)

  8. Step 700

    700

    #1E5AC1

    oklch(49.2% 0.173 260.6)

  9. Step 800

    800

    #1B4A9C

    oklch(42.8% 0.143 260.7)

  10. Step 900

    900

    #1C3F7C

    oklch(37.8% 0.111 260.6)

  11. Step 950

    950

    #112548

    oklch(26.9% 0.07 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#6797EA 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)#759EED0.026
Deuteranopia (no green cones)#6491E80.017
Tritanopia (no blue cones)#00A9B50.120
Achromatopsia (no color)#9797970.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #6797EA

    #6797EA

    oklch(67.9% 0.134 260.8)

  • #C28E19

    #C28E19

    oklch(68% 0.134 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6797EA

    #6797EA

    oklch(67.9% 0.134 260.8)

  • #0FA5DB

    #0FA5DB

    oklch(67.8% 0.135 231.2)

  • #9888E4

    #9888E4

    oklch(67.9% 0.134 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #6797EA

    #6797EA

    oklch(67.9% 0.134 260.8)

  • #D87D44

    #D87D44

    oklch(67.8% 0.134 50.8)

  • #9C9F2A

    #9C9F2A

    oklch(67.9% 0.134 111)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6797EA

    #6797EA

    oklch(67.9% 0.134 260.8)

  • #DE7374

    #DE7374

    oklch(67.8% 0.134 20.6)

  • #67AC5B

    #67AC5B

    oklch(67.9% 0.134 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6797EA

    #6797EA

    oklch(67.9% 0.134 260.8)

  • #D573A2

    #D573A2

    oklch(67.9% 0.134 351.1)

  • #C28E19

    #C28E19

    oklch(68% 0.134 81.1)

  • #00B28C

    #00B28C

    oklch(67.9% 0.134 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6797EA 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.