#6797EC

Closest named color: Cornflower Blue (#6495ED). oklch(68% 0.137 261.2), rgb(103, 151, 236).

Aa

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

About this color

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

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

Values

HEX#6797EC
RGBrgb(103, 151, 236)
HSLhsl(218, 78%, 66%)
OKLCHoklch(68% 0.137 261.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 #6797EC 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #6797EC 7.21:1 AAA Lc 48.8 Large or bold text, headings
#6797EC text on white 2.91:1 Fails Lc 55.3 Large or bold text, headings
#6797EC text on black 7.21:1 AAA Lc -46.5 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

    #A2C2F8

    oklch(81% 0.084 260.7)

  5. Step 400

    400 (this color)

    #6797EC

    oklch(68% 0.137 261.2)

  6. Step 500

    500

    #4985F1

    oklch(63.1% 0.174 261.1)

  7. Step 600

    600

    #2B6BE0

    oklch(55.5% 0.19 261.2)

  8. Step 700

    700

    #1E59C3

    oklch(49.2% 0.177 261.1)

  9. Step 800

    800

    #1B499D

    oklch(42.6% 0.146 261.2)

  10. Step 900

    900

    #1C3E7D

    oklch(37.6% 0.114 261.4)

  11. Step 950

    950

    #112549

    oklch(27% 0.072 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#6797EC 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)#749EEF0.025
Deuteranopia (no green cones)#6392EA0.015
Tritanopia (no blue cones)#00AAB60.123
Achromatopsia (no color)#9797970.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #6797EC

    #6797EC

    oklch(68% 0.137 261.2)

  • #C38E11

    #C38E11

    oklch(68.1% 0.137 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6797EC

    #6797EC

    oklch(68% 0.137 261.2)

  • #04A6DD

    #04A6DD

    oklch(68% 0.137 231.2)

  • #9987E5

    #9987E5

    oklch(67.9% 0.137 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #6797EC

    #6797EC

    oklch(68% 0.137 261.2)

  • #DA7D41

    #DA7D41

    oklch(68.1% 0.137 51.2)

  • #9C9F27

    #9C9F27

    oklch(67.9% 0.136 111)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6797EC

    #6797EC

    oklch(68% 0.137 261.2)

  • #E07273

    #E07273

    oklch(67.9% 0.137 20.8)

  • #65AD5A

    #65AD5A

    oklch(68% 0.137 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6797EC

    #6797EC

    oklch(68% 0.137 261.2)

  • #D672A2

    #D672A2

    oklch(67.9% 0.136 351.2)

  • #C38E11

    #C38E11

    oklch(68.1% 0.137 81.2)

  • #00B28D

    #00B28D

    oklch(68% 0.133 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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