#6797DB
Closest named color: Cornflower Blue (#6495ED). oklch(67.1% 0.114 257.2), rgb(103, 151, 219).
Aa
Black text reads best on this color (7.02:1).
About this color
#6797DB is a medium-light, moderately saturated blue. In OKLCH its lightness is 67%, its chroma 0.114 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.02:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.02:1 |
| White text | 2.98:1 |
Values
| HEX | #6797DB |
| RGB | rgb(103, 151, 219) |
| HSL | hsl(215, 62%, 63%) |
| OKLCH | oklch(67.1% 0.114 257.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #6797DB | 2.98:1 | Fails | Lc -61.7 | Content text, not long reading |
| Black text on #6797DB | 7.02:1 | AAA | Lc 47.7 | Large or bold text, headings |
| #6797DB text on white | 2.98:1 | Fails | Lc 56.4 | Large or bold text, headings |
| #6797DB text on black | 7.02:1 | AAA | Lc -45.4 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E1EBF8
oklch(93.6% 0.021 254.9)
-
Step 200
200
#C9DBF4
oklch(88.6% 0.04 256.6)
-
Step 300
300
#A4C3EF
oklch(81% 0.071 257.1)
-
Step 400
400 (this color)
#6797DB
oklch(67.1% 0.114 257.2)
-
Step 500
500
#4C89E0
oklch(63% 0.146 257.5)
-
Step 600
600
#2D71CE
oklch(55.5% 0.159 257.3)
-
Step 700
700
#1F5EB2
oklch(49% 0.148 257.2)
-
Step 800
800
#1C4E90
oklch(42.8% 0.121 256.8)
-
Step 900
900
#1D4173
oklch(37.7% 0.095 257.2)
-
Step 950
950
#122643
oklch(26.9% 0.06 257.7)
#6797DB 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) | #7C9BDE | 0.028 |
| Deuteranopia (no green cones) | #6E90DA | 0.019 |
| Tritanopia (no blue cones) | #27A6AF | 0.101 |
| Achromatopsia (no color) | #959595 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #6797DB
#6797DB
oklch(67.1% 0.114 257.2)
- #BD8C3A
#BD8C3A
oklch(67.2% 0.114 77.3)
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 #6797DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.029
- Chefchaouen Blue #4895EF ΔE 0.042
- Dark Sky Blue #448EE4 ΔE 0.047
- Soft Blue #6488EA ΔE 0.051
- Faded Blue #658CBB ΔE 0.051
- Perrywinkle #8F8CE7 ΔE 0.060
- Periwinkle Blue #8F99FB ΔE 0.070
- Greyblue #77A1B5 ΔE 0.073
Use #6797DB 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.