#798EDA
Closest named color: Cornflower Blue (#6495ED). oklch(66.2% 0.116 271.2), rgb(121, 142, 218).
Aa
Black text reads best on this color (6.69:1).
About this color
#798EDA is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.116 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.036 away. Black text reads best on it, at 6.69:1.
| Hue family | Blues |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.116) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 6.69:1 |
| White text | 3.13:1 |
Values
| HEX | #798EDA |
| RGB | rgb(121, 142, 218) |
| HSL | hsl(227, 57%, 66%) |
| OKLCH | oklch(66.2% 0.116 271.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 #798EDA | 3.13:1 | AA large text | Lc -63.7 | Content text, not long reading |
| Black text on #798EDA | 6.69:1 | AA | Lc 45.7 | Large or bold text, headings |
| #798EDA text on white | 3.13:1 | AA large text | Lc 58.3 | Large or bold text, headings |
| #798EDA text on black | 6.69:1 | AA | Lc -43.4 | 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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E6EAF5
oklch(93.7% 0.015 270)
-
Step 200
200
#D1D9EF
oklch(88.6% 0.031 269.8)
-
Step 300
300
#B3BFE6
oklch(80.8% 0.057 271.7)
-
Step 400
400
#8C9EDA
oklch(70.8% 0.09 271.1)
-
Step 500
500 (this color)
#798EDA
oklch(66.2% 0.116 271.2)
-
Step 600
600
#596DBD
oklch(55.7% 0.126 271.2)
-
Step 700
700
#495BA3
oklch(49.2% 0.117 271)
-
Step 800
800
#3C4A84
oklch(42.7% 0.098 271.5)
-
Step 900
900
#333E6A
oklch(37.6% 0.077 271.7)
-
Step 950
950
#1E253E
oklch(27.1% 0.048 271.1)
#798EDA 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) | #7396DD | 0.021 |
| Deuteranopia (no green cones) | #6A8ED8 | 0.019 |
| Tritanopia (no blue cones) | #569EAA | 0.104 |
| Achromatopsia (no color) | #919191 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #798EDA
#798EDA
oklch(66.2% 0.116 271.2)
- #AD9031
#AD9031
oklch(66.3% 0.116 91.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 #798EDA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.036
- Perrywinkle #8F8CE7 ΔE 0.037
- Soft Blue #6488EA ΔE 0.041
- Faded Blue #658CBB ΔE 0.055
- Chefchaouen Blue #4895EF ΔE 0.055
- Dark Sky Blue #448EE4 ΔE 0.056
- Lavender Blue #8B88F8 ΔE 0.056
- Periwinkle Blue #8F99FB ΔE 0.062
Use #798EDA 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.