#6797FF

Closest named color: Cornflower Blue (#6495ED). oklch(69% 0.162 264), rgb(103, 151, 255).

Aa

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

About this color

#6797FF is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.162 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.027 away. Black text reads best on it, at 7.44:1.

Hue familyBlues
Lightnessmedium-light (69%)
Chromavivid (0.162)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.44:1
White text2.81:1

Values

HEX#6797FF
RGBrgb(103, 151, 255)
HSLhsl(221, 100%, 70%)
OKLCHoklch(69% 0.162 264)

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 #6797FF 2.81:1 Fails Lc -59.2 Large or bold text, headings
Black text on #6797FF 7.44:1 AAA Lc 50.1 Large or bold text, headings
#6797FF text on white 2.81:1 Fails Lc 53.9 Large or bold text, headings
#6797FF text on black 7.44:1 AAA Lc -47.9 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400 (this color)

    #6797FF

    oklch(69% 0.162 264)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #2A63F4

    oklch(55.5% 0.225 264)

  8. Step 700

    700

    #1E51D5

    oklch(49.1% 0.21 264)

  9. Step 800

    800

    #1A43AC

    oklch(42.6% 0.174 264)

  10. Step 900

    900

    #1A3B88

    oklch(37.8% 0.135 263.7)

  11. Step 950

    950

    #102350

    oklch(27% 0.086 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#6797FF 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)#69A1FF0.027
Deuteranopia (no green cones)#5493FD0.023
Tritanopia (no blue cones)#00AEBF0.139
Achromatopsia (no color)#9A9A9A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #6797FF

    #6797FF

    oklch(69% 0.162 264)

  • #C59200

    #C59200

    oklch(69% 0.142 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6797FF

    #6797FF

    oklch(69% 0.162 264)

  • #00A8E7

    #00A8E7

    oklch(69% 0.145 234.4)

  • #A284F5

    #A284F5

    oklch(69% 0.163 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #6797FF

    #6797FF

    oklch(69% 0.162 264)

  • #E67B21

    #E67B21

    oklch(69.1% 0.162 54.1)

  • #9BA500

    #9BA500

    oklch(69% 0.155 114)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6797FF

    #6797FF

    oklch(69% 0.162 264)

  • #EF6D69

    #EF6D69

    oklch(69.1% 0.162 24)

  • #53B455

    #53B455

    oklch(68.9% 0.161 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6797FF

    #6797FF

    oklch(69% 0.162 264)

  • #E66BA2

    #E66BA2

    oklch(69% 0.163 354.2)

  • #C59200

    #C59200

    oklch(69% 0.142 83.6)

  • #00B595

    #00B595

    oklch(69% 0.131 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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