#798FD7
Closest named color: Cornflower Blue (#6495ED). oklch(66.3% 0.11 270.3), rgb(121, 143, 215).
Aa
Black text reads best on this color (6.72:1).
About this color
#798FD7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.110 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.038 away. Black text reads best on it, at 6.72:1.
| Hue family | Blues |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.110) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 6.72:1 |
| White text | 3.12:1 |
Values
| HEX | #798FD7 |
| RGB | rgb(121, 143, 215) |
| HSL | hsl(226, 54%, 66%) |
| OKLCH | oklch(66.3% 0.11 270.3) |
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 #798FD7 | 3.12:1 | AA large text | Lc -63.6 | Content text, not long reading |
| Black text on #798FD7 | 6.72:1 | AA | Lc 45.9 | Large or bold text, headings |
| #798FD7 text on white | 3.12:1 | AA large text | Lc 58.2 | Large or bold text, headings |
| #798FD7 text on black | 6.72:1 | AA | Lc -43.6 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E6EAF5
oklch(93.7% 0.015 270)
-
Step 200
200
#D1D9EE
oklch(88.6% 0.03 269.1)
-
Step 300
300
#B3C0E4
oklch(81% 0.053 269.6)
-
Step 400
400
#8C9ED7
oklch(70.7% 0.086 270.6)
-
Step 500
500 (this color)
#798FD7
oklch(66.3% 0.11 270.3)
-
Step 600
600
#596EB9
oklch(55.6% 0.119 270.4)
-
Step 700
700
#495BA0
oklch(49% 0.113 270.8)
-
Step 800
800
#3C4B81
oklch(42.7% 0.092 270.4)
-
Step 900
900
#333F68
oklch(37.7% 0.072 270.3)
-
Step 950
950
#1E253D
oklch(27% 0.046 270.7)
#798FD7 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) | #7596DA | 0.018 |
| Deuteranopia (no green cones) | #6D8ED5 | 0.016 |
| Tritanopia (no blue cones) | #589EA9 | 0.099 |
| Achromatopsia (no color) | #929292 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #798FD7
#798FD7
oklch(66.3% 0.11 270.3)
- #AD9039
#AD9039
oklch(66.3% 0.11 90.5)
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 #798FD7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.038
- Perrywinkle #8F8CE7 ΔE 0.040
- Soft Blue #6488EA ΔE 0.046
- Faded Blue #658CBB ΔE 0.051
- Chefchaouen Blue #4895EF ΔE 0.057
- Dark Sky Blue #448EE4 ΔE 0.057
- Lavender Blue #8B88F8 ΔE 0.061
- Periwinkle Blue #8F99FB ΔE 0.065
Use #798FD7 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.