#6798DF

Closest named color: Cornflower Blue (#6495ED). oklch(67.5% 0.118 257.6), rgb(103, 152, 223).

Aa

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

About this color

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

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

Values

HEX#6798DF
RGBrgb(103, 152, 223)
HSLhsl(216, 65%, 64%)
OKLCHoklch(67.5% 0.118 257.6)

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 #6798DF 2.94:1 Fails Lc -61.1 Content text, not long reading
Black text on #6798DF 7.13:1 AAA Lc 48.3 Large or bold text, headings
#6798DF text on white 2.94:1 Fails Lc 55.8 Large or bold text, headings
#6798DF text on black 7.13:1 AAA Lc -46.0 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

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C9DBF5

    oklch(88.6% 0.041 257.5)

  4. Step 300

    300

    #A3C3F1

    oklch(81% 0.074 257.4)

  5. Step 400

    400 (this color)

    #6798DF

    oklch(67.5% 0.118 257.6)

  6. Step 500

    500

    #4A89E3

    oklch(63.1% 0.151 257.6)

  7. Step 600

    600

    #2B71D1

    oklch(55.7% 0.164 257.5)

  8. Step 700

    700

    #1D5EB5

    oklch(49.2% 0.152 257.4)

  9. Step 800

    800

    #1B4D93

    oklch(42.7% 0.127 257.8)

  10. Step 900

    900

    #1C4175

    oklch(37.8% 0.099 257.5)

  11. Step 950

    950

    #112644

    oklch(26.9% 0.062 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#6798DF 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)#7C9DE20.029
Deuteranopia (no green cones)#6D91DE0.019
Tritanopia (no blue cones)#20A8B10.106
Achromatopsia (no color)#9696960.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #6798DF

    #6798DF

    oklch(67.5% 0.118 257.6)

  • #BF8D36

    #BF8D36

    oklch(67.6% 0.118 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6798DF

    #6798DF

    oklch(67.5% 0.118 257.6)

  • #2EA4D0

    #2EA4D0

    oklch(67.4% 0.119 228.2)

  • #938ADC

    #938ADC

    oklch(67.5% 0.12 287.8)

Open the analogous palette in the generator

Split complementary

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

  • #6798DF

    #6798DF

    oklch(67.5% 0.118 257.6)

  • #D27F53

    #D27F53

    oklch(67.6% 0.119 47.9)

  • #9F9C3B

    #9F9C3B

    oklch(67.6% 0.118 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6798DF

    #6798DF

    oklch(67.5% 0.118 257.6)

  • #D6777B

    #D6777B

    oklch(67.6% 0.119 18)

  • #72A85E

    #72A85E

    oklch(67.6% 0.118 137.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6798DF

    #6798DF

    oklch(67.5% 0.118 257.6)

  • #CC77A4

    #CC77A4

    oklch(67.5% 0.119 347.8)

  • #BF8D36

    #BF8D36

    oklch(67.6% 0.118 77.9)

  • #39AE88

    #39AE88

    oklch(67.6% 0.119 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6798DF 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.