#6798F2
Closest named color: Cornflower Blue (#6495ED). oklch(68.5% 0.144 261.7), rgb(103, 152, 242).
Aa
Black text reads best on this color (7.35:1).
About this color
#6798F2 is a medium-light, vivid blue. In OKLCH its lightness is 69%, its chroma 0.144 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.011 away. Black text reads best on it, at 7.35:1.
| Hue family | Blues |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.35:1 |
| White text | 2.85:1 |
Values
| HEX | #6798F2 |
| RGB | rgb(103, 152, 242) |
| HSL | hsl(219, 84%, 68%) |
| OKLCH | oklch(68.5% 0.144 261.7) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #6798F2 | 2.85:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #6798F2 | 7.35:1 | AAA | Lc 49.5 | Large or bold text, headings |
| #6798F2 text on white | 2.85:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #6798F2 text on black | 7.35:1 | AAA | Lc -47.3 | 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.
-
Step 50
50
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EAFC
oklch(93.5% 0.027 262.3)
-
Step 200
200
#C7DAFB
oklch(88.5% 0.05 261.5)
-
Step 300
300
#A1C1FB
oklch(80.8% 0.09 262.1)
-
Step 400
400 (this color)
#6798F2
oklch(68.5% 0.144 261.7)
-
Step 500
500
#4784F7
oklch(63.2% 0.184 261.7)
-
Step 600
600
#296AE5
oklch(55.6% 0.198 261.6)
-
Step 700
700
#1C57C7
oklch(49% 0.185 261.7)
-
Step 800
800
#1948A1
oklch(42.7% 0.153 261.6)
-
Step 900
900
#1B3D80
oklch(37.6% 0.12 262.1)
-
Step 950
950
#10254B
oklch(27.1% 0.076 261.2)
#6798F2 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #72A0F6 | 0.026 |
| Deuteranopia (no green cones) | #6093F0 | 0.016 |
| Tritanopia (no blue cones) | #00ACB9 | 0.127 |
| Achromatopsia (no color) | #999999 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6798F2
#6798F2
oklch(68.5% 0.144 261.7)
- #C58F00
#C58F00
oklch(68.4% 0.141 81.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #6798F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.011
- Chefchaouen Blue #4895EF ΔE 0.031
- Soft Blue #6488EA ΔE 0.042
- Dark Sky Blue #448EE4 ΔE 0.049
- Periwinkle Blue #8F99FB ΔE 0.051
- Perrywinkle #8F8CE7 ΔE 0.054
- Lavender Blue #8B88F8 ΔE 0.058
- Dodger Blue #1E90FF ΔE 0.062
Use #6798F2 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.