#6797DB

Closest named color: Cornflower Blue (#6495ED). oklch(67.1% 0.114 257.2), rgb(103, 151, 219).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameCornflower Blue (#6495ED)
Black text7.02:1
White text2.98:1

Values

HEX#6797DB
RGBrgb(103, 151, 219)
HSLhsl(215, 62%, 63%)
OKLCHoklch(67.1% 0.114 257.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 #6797DB 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #6797DB 7.02:1 AAA Lc 47.7 Large or bold text, headings
#6797DB text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#6797DB text on black 7.02:1 AAA Lc -45.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A4C3EF

    oklch(81% 0.071 257.1)

  5. Step 400

    400 (this color)

    #6797DB

    oklch(67.1% 0.114 257.2)

  6. Step 500

    500

    #4C89E0

    oklch(63% 0.146 257.5)

  7. Step 600

    600

    #2D71CE

    oklch(55.5% 0.159 257.3)

  8. Step 700

    700

    #1F5EB2

    oklch(49% 0.148 257.2)

  9. Step 800

    800

    #1C4E90

    oklch(42.8% 0.121 256.8)

  10. Step 900

    900

    #1D4173

    oklch(37.7% 0.095 257.2)

  11. Step 950

    950

    #122643

    oklch(26.9% 0.06 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#6797DB 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)#7C9BDE0.028
Deuteranopia (no green cones)#6E90DA0.019
Tritanopia (no blue cones)#27A6AF0.101
Achromatopsia (no color)#9595950.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #6797DB

    #6797DB

    oklch(67.1% 0.114 257.2)

  • #BD8C3A

    #BD8C3A

    oklch(67.2% 0.114 77.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6797DB

    #6797DB

    oklch(67.1% 0.114 257.2)

  • #33A3CC

    #33A3CC

    oklch(67.1% 0.114 227.2)

  • #918AD8

    #918AD8

    oklch(67.1% 0.114 287)

Open the analogous palette in the generator

Split complementary

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

  • #6797DB

    #6797DB

    oklch(67.1% 0.114 257.2)

  • #CE7E55

    #CE7E55

    oklch(67% 0.114 47.3)

  • #9D9A3E

    #9D9A3E

    oklch(67% 0.114 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6797DB

    #6797DB

    oklch(67.1% 0.114 257.2)

  • #D2777C

    #D2777C

    oklch(67.1% 0.114 17.1)

  • #73A65E

    #73A65E

    oklch(67.1% 0.115 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6797DB

    #6797DB

    oklch(67.1% 0.114 257.2)

  • #C877A3

    #C877A3

    oklch(67% 0.115 346.9)

  • #BD8C3A

    #BD8C3A

    oklch(67.2% 0.114 77.3)

  • #3EAC87

    #3EAC87

    oklch(67.2% 0.115 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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