#4E7CEC
Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.176 264.9), rgb(78, 124, 236).
Aa
Black text reads best on this color (5.41:1).
About this color
#4E7CEC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.176 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.037 away. Black text reads best on it, at 5.41:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.176) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.41:1 |
| White text | 3.87:1 |
Values
| HEX | #4E7CEC |
| RGB | rgb(78, 124, 236) |
| HSL | hsl(223, 81%, 62%) |
| OKLCH | oklch(61.2% 0.176 264.9) |
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 #4E7CEC | 3.87:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #4E7CEC | 5.41:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #4E7CEC text on white | 3.87:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #4E7CEC text on black | 5.41:1 | AA | Lc -35.8 | 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
#F2F6FE
oklch(97.2% 0.012 264.5)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CAD9FA
oklch(88.5% 0.048 266)
-
Step 300
300
#A5C0F9
oklch(80.8% 0.086 264.8)
-
Step 400
400
#769DF6
oklch(70.6% 0.138 265.1)
-
Step 500
500 (this color)
#4E7CEC
oklch(61.2% 0.176 264.9)
-
Step 600
600
#3A68E1
oklch(55.5% 0.191 265)
-
Step 700
700
#2D56C4
oklch(49.1% 0.178 265)
-
Step 800
800
#25479E
oklch(42.6% 0.147 264.7)
-
Step 900
900
#223D7E
oklch(37.8% 0.115 264.5)
-
Step 950
950
#14244A
oklch(27% 0.074 264.7)
#4E7CEC 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) | #4089F0 | 0.033 |
| Deuteranopia (no green cones) | #1A7BEA | 0.036 |
| Tritanopia (no blue cones) | #0096A9 | 0.144 |
| Achromatopsia (no color) | #818181 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4E7CEC
#4E7CEC
oklch(61.2% 0.176 264.9)
- #A67C00
#A67C00
oklch(61.1% 0.125 84.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 #4E7CEC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.037
- Clear Blue #247AFD ΔE 0.040
- Soft Blue #6488EA ΔE 0.042
- Dark Sky Blue #448EE4 ΔE 0.050
- Royal Blue #4169E1 ΔE 0.053
- Dodger Blue #1E90FF ΔE 0.057
- Cerulean Blue #056EEE ΔE 0.061
- Chefchaouen Blue #4895EF ΔE 0.064
Use #4E7CEC 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.