#798CE5
Closest named color: Soft Blue (#6488EA). oklch(66.4% 0.134 273.1), rgb(121, 140, 229).
Aa
Black text reads best on this color (6.69:1).
About this color
#798CE5 is a medium-light, moderately saturated blue. In OKLCH its lightness is 66%, its chroma 0.134 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.030 away. Black text reads best on it, at 6.69:1.
| Hue family | Blues |
| Lightness | medium-light (66%) |
| Chroma | moderately saturated (0.134) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.69:1 |
| White text | 3.13:1 |
Values
| HEX | #798CE5 |
| RGB | rgb(121, 140, 229) |
| HSL | hsl(229, 68%, 69%) |
| OKLCH | oklch(66.4% 0.134 273.1) |
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 #798CE5 | 3.13:1 | AA large text | Lc -63.7 | Content text, not long reading |
| Black text on #798CE5 | 6.69:1 | AA | Lc 45.8 | Large or bold text, headings |
| #798CE5 text on white | 3.13:1 | AA large text | Lc 58.3 | Large or bold text, headings |
| #798CE5 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5E9F7
oklch(93.5% 0.019 273.2)
-
Step 200
200
#D1D8F2
oklch(88.5% 0.037 273.7)
-
Step 300
300
#B2BEEC
oklch(80.8% 0.066 273.4)
-
Step 400
400
#8B9CE2
oklch(70.7% 0.105 273)
-
Step 500
500 (this color)
#798CE5
oklch(66.4% 0.134 273.1)
-
Step 600
600
#596AC7
oklch(55.7% 0.144 273.1)
-
Step 700
700
#4957AC
oklch(49% 0.135 273.3)
-
Step 800
800
#3C488C
oklch(42.8% 0.113 273.2)
-
Step 900
900
#333D6F
oklch(37.7% 0.086 273.1)
-
Step 950
950
#1E2441
oklch(27% 0.055 273.4)
#798CE5 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) | #6A96E9 | 0.029 |
| Deuteranopia (no green cones) | #608DE3 | 0.030 |
| Tritanopia (no blue cones) | #509FAD | 0.120 |
| Achromatopsia (no color) | #919191 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #798CE5
#798CE5
oklch(66.4% 0.134 273.1)
- #B0900A
#B0900A
oklch(66.4% 0.134 92.7)
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 #798CE5, closest first.
No curated palette has a color within ΔE 0.04 of #798CE5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.030
- Perrywinkle #8F8CE7 ΔE 0.030
- Cornflower Blue #6495ED ΔE 0.031
- Lavender Blue #8B88F8 ΔE 0.040
- Chefchaouen Blue #4895EF ΔE 0.052
- Periwinkle Blue #8F99FB ΔE 0.054
- Dark Sky Blue #448EE4 ΔE 0.055
- Periwinkle #8E82FE ΔE 0.055
Use #798CE5 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.