#6798EB

Closest named color: Cornflower Blue (#6495ED). oklch(68.1% 0.134 260.4), rgb(103, 152, 235).

Aa

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

About this color

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

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

Values

HEX#6798EB
RGBrgb(103, 152, 235)
HSLhsl(218, 77%, 66%)
OKLCHoklch(68.1% 0.134 260.4)

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 #6798EB 2.88:1 Fails Lc -60.3 Content text, not long reading
Black text on #6798EB 7.26:1 AAA Lc 49.0 Large or bold text, headings
#6798EB text on white 2.88:1 Fails Lc 55.0 Large or bold text, headings
#6798EB text on black 7.26:1 AAA Lc -46.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFB

    oklch(93.7% 0.024 259.8)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400 (this color)

    #6798EB

    oklch(68.1% 0.134 260.4)

  6. Step 500

    500

    #4886EF

    oklch(63.2% 0.171 260.3)

  7. Step 600

    600

    #2A6CDE

    oklch(55.5% 0.187 260.6)

  8. Step 700

    700

    #1C5AC1

    oklch(49.2% 0.173 260.3)

  9. Step 800

    800

    #1A4A9C

    oklch(42.7% 0.144 260.5)

  10. Step 900

    900

    #1B3F7C

    oklch(37.8% 0.112 260.3)

  11. Step 950

    950

    #112549

    oklch(27% 0.072 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#6798EB 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)#769FEE0.027
Deuteranopia (no green cones)#6592E90.016
Tritanopia (no blue cones)#00AAB60.120
Achromatopsia (no color)#9898980.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #6798EB

    #6798EB

    oklch(68.1% 0.134 260.4)

  • #C38E1B

    #C38E1B

    oklch(68.1% 0.134 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6798EB

    #6798EB

    oklch(68.1% 0.134 260.4)

  • #0EA7DB

    #0EA7DB

    oklch(68.2% 0.134 229.9)

  • #9989E5

    #9989E5

    oklch(68.2% 0.134 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #6798EB

    #6798EB

    oklch(68.1% 0.134 260.4)

  • #D97E45

    #D97E45

    oklch(68.2% 0.134 50.8)

  • #9E9F2A

    #9E9F2A

    oklch(68.1% 0.134 110)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6798EB

    #6798EB

    oklch(68.1% 0.134 260.4)

  • #DF7475

    #DF7475

    oklch(68.1% 0.134 20.6)

  • #68AD5B

    #68AD5B

    oklch(68.2% 0.135 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6798EB

    #6798EB

    oklch(68.1% 0.134 260.4)

  • #D574A4

    #D574A4

    oklch(68.2% 0.133 350.2)

  • #C38E1B

    #C38E1B

    oklch(68.1% 0.134 80.4)

  • #00B38D

    #00B38D

    oklch(68.2% 0.134 170.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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