#6798DC

Closest named color: Cornflower Blue (#6495ED). oklch(67.4% 0.115 256.8), rgb(103, 152, 220).

Aa

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

About this color

#6798DC is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.115 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.10:1.

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

Values

HEX#6798DC
RGBrgb(103, 152, 220)
HSLhsl(215, 63%, 63%)
OKLCHoklch(67.4% 0.115 256.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 #6798DC 2.95:1 Fails Lc -61.3 Content text, not long reading
Black text on #6798DC 7.10:1 AAA Lc 48.1 Large or bold text, headings
#6798DC text on white 2.95:1 Fails Lc 56.0 Large or bold text, headings
#6798DC text on black 7.10:1 AAA Lc -45.8 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

    #A3C3EF

    oklch(80.9% 0.072 256.4)

  5. Step 400

    400 (this color)

    #6798DC

    oklch(67.4% 0.115 256.8)

  6. Step 500

    500

    #4A8AE0

    oklch(63.2% 0.146 256.5)

  7. Step 600

    600

    #2B72CE

    oklch(55.7% 0.159 256.6)

  8. Step 700

    700

    #1D5FB2

    oklch(49.2% 0.147 256.5)

  9. Step 800

    800

    #1B4E90

    oklch(42.8% 0.122 256.5)

  10. Step 900

    900

    #1C4173

    oklch(37.6% 0.096 256.8)

  11. Step 950

    950

    #112743

    oklch(27.1% 0.059 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#6798DC 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)#7D9CDF0.029
Deuteranopia (no green cones)#6E91DB0.019
Tritanopia (no blue cones)#25A7B00.102
Achromatopsia (no color)#9696960.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #6798DC

    #6798DC

    oklch(67.4% 0.115 256.8)

  • #BE8C3B

    #BE8C3B

    oklch(67.4% 0.114 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6798DC

    #6798DC

    oklch(67.4% 0.115 256.8)

  • #33A4CD

    #33A4CD

    oklch(67.4% 0.115 227)

  • #918BD9

    #918BD9

    oklch(67.3% 0.114 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #6798DC

    #6798DC

    oklch(67.4% 0.115 256.8)

  • #D07F57

    #D07F57

    oklch(67.4% 0.115 46.5)

  • #9F9B3E

    #9F9B3E

    oklch(67.4% 0.115 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6798DC

    #6798DC

    oklch(67.4% 0.115 256.8)

  • #D3787D

    #D3787D

    oklch(67.4% 0.114 17.1)

  • #74A75E

    #74A75E

    oklch(67.4% 0.116 136.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6798DC

    #6798DC

    oklch(67.4% 0.115 256.8)

  • #C978A4

    #C978A4

    oklch(67.3% 0.115 346.9)

  • #BE8C3B

    #BE8C3B

    oklch(67.4% 0.114 76.5)

  • #3FAD87

    #3FAD87

    oklch(67.5% 0.115 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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