#4E78E5
Closest named color: Royal Blue (#4169E1). oklch(59.9% 0.172 265.6), rgb(78, 120, 229).
Aa
Black text reads best on this color (5.14:1).
About this color
#4E78E5 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.172 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.042 away. Black text reads best on it, at 5.14:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.172) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 5.14:1 |
| White text | 4.08:1 |
Values
| HEX | #4E78E5 |
| RGB | rgb(78, 120, 229) |
| HSL | hsl(223, 74%, 60%) |
| OKLCH | oklch(59.9% 0.172 265.6) |
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 #4E78E5 | 4.08:1 | AA large text | Lc -73.2 | Content text, not long reading |
| Black text on #4E78E5 | 5.14:1 | AA | Lc 36.4 | Non-text elements, placeholder text |
| #4E78E5 text on white | 4.08:1 | AA large text | Lc 67.7 | Content text, not long reading |
| #4E78E5 text on black | 5.14:1 | AA | Lc -34.0 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CAD9F9
oklch(88.4% 0.047 265.5)
-
Step 300
300
#A7C0F8
oklch(80.9% 0.084 265.9)
-
Step 400
400
#789DF4
oklch(70.6% 0.134 265.6)
-
Step 500
500 (this color)
#4E78E5
oklch(59.9% 0.172 265.6)
-
Step 600
600
#3E69DF
oklch(55.7% 0.186 265.6)
-
Step 700
700
#3156C1
oklch(49% 0.173 265.8)
-
Step 800
800
#28479C
oklch(42.6% 0.144 265.5)
-
Step 900
900
#253D7C
oklch(37.8% 0.111 265.7)
-
Step 950
950
#162449
oklch(27% 0.071 266.2)
#4E78E5 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) | #3E85E9 | 0.034 |
| Deuteranopia (no green cones) | #1B77E3 | 0.037 |
| Tritanopia (no blue cones) | #0091A3 | 0.142 |
| Achromatopsia (no color) | #7E7E7E | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E78E5
#4E78E5
oklch(59.9% 0.172 265.6)
- #A17900
#A17900
oklch(59.9% 0.123 85.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 #4E78E5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.042
- Cornflower #6A79F7 ΔE 0.043
- Clear Blue #247AFD ΔE 0.045
- Soft Blue #6488EA ΔE 0.051
- Cerulean Blue #056EEE ΔE 0.056
- Dark Sky Blue #448EE4 ΔE 0.058
- Neon Blue #4361EE ΔE 0.061
- Windows Blue #3778BF ΔE 0.064
Use #4E78E5 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.