#6798EF

Closest named color: Cornflower Blue (#6495ED). oklch(68.4% 0.14 261.2), rgb(103, 152, 239).

Aa

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

About this color

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

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

Values

HEX#6798EF
RGBrgb(103, 152, 239)
HSLhsl(218, 81%, 67%)
OKLCHoklch(68.4% 0.14 261.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 #6798EF 2.87:1 Fails Lc -60.0 Content text, not long reading
Black text on #6798EF 7.31:1 AAA Lc 49.3 Large or bold text, headings
#6798EF text on white 2.87:1 Fails Lc 54.7 Large or bold text, headings
#6798EF text on black 7.31:1 AAA Lc -47.1 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C7DAFA

    oklch(88.4% 0.049 260.9)

  4. Step 300

    300

    #A1C2FA

    oklch(81% 0.087 260.8)

  5. Step 400

    400 (this color)

    #6798EF

    oklch(68.4% 0.14 261.2)

  6. Step 500

    500

    #4784F4

    oklch(63% 0.18 261.3)

  7. Step 600

    600

    #296BE2

    oklch(55.6% 0.193 261.1)

  8. Step 700

    700

    #1C58C5

    oklch(49.1% 0.181 261.2)

  9. Step 800

    800

    #19499F

    oklch(42.7% 0.149 261)

  10. Step 900

    900

    #1B3E7E

    oklch(37.7% 0.116 261.2)

  11. Step 950

    950

    #10254A

    oklch(27% 0.074 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#6798EF 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)#749FF30.025
Deuteranopia (no green cones)#6293ED0.015
Tritanopia (no blue cones)#00ABB80.123
Achromatopsia (no color)#9898980.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #6798EF

    #6798EF

    oklch(68.4% 0.14 261.2)

  • #C58F08

    #C58F08

    oklch(68.5% 0.14 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6798EF

    #6798EF

    oklch(68.4% 0.14 261.2)

  • #00A7DF

    #00A7DF

    oklch(68.3% 0.138 231.4)

  • #9B88E8

    #9B88E8

    oklch(68.4% 0.139 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #6798EF

    #6798EF

    oklch(68.4% 0.14 261.2)

  • #DC7D40

    #DC7D40

    oklch(68.3% 0.14 51)

  • #9DA123

    #9DA123

    oklch(68.4% 0.14 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6798EF

    #6798EF

    oklch(68.4% 0.14 261.2)

  • #E37373

    #E37373

    oklch(68.5% 0.14 21.4)

  • #65AE5A

    #65AE5A

    oklch(68.3% 0.139 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6798EF

    #6798EF

    oklch(68.4% 0.14 261.2)

  • #D972A4

    #D972A4

    oklch(68.4% 0.14 351)

  • #C58F08

    #C58F08

    oklch(68.5% 0.14 81.3)

  • #00B38F

    #00B38F

    oklch(68.3% 0.133 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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