#4078EA
Closest named color: Clear Blue (#247AFD). oklch(59.6% 0.183 262.6), rgb(64, 120, 234).
Aa
Black text reads best on this color (5.09:1).
About this color
#4078EA is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.183 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.032 away. Black text reads best on it, at 5.09:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.183) |
| Temperature | cool |
| Nearest name | Clear Blue (#247AFD) |
| Black text | 5.09:1 |
| White text | 4.12:1 |
Values
| HEX | #4078EA |
| RGB | rgb(64, 120, 234) |
| HSL | hsl(220, 80%, 58%) |
| OKLCH | oklch(59.6% 0.183 262.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 #4078EA | 4.12:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #4078EA | 5.09:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #4078EA text on white | 4.12:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #4078EA text on black | 5.09:1 | AA | Lc -33.7 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFC
oklch(93.6% 0.026 264.4)
-
Step 200
200
#C8DAFB
oklch(88.5% 0.05 262.6)
-
Step 300
300
#A2C1FB
oklch(80.9% 0.089 262.7)
-
Step 400
400
#709EF9
oklch(70.6% 0.143 262.9)
-
Step 500
500 (this color)
#4078EA
oklch(59.6% 0.183 262.6)
-
Step 600
600
#2E69E5
oklch(55.6% 0.199 262.6)
-
Step 700
700
#2157C7
oklch(49.2% 0.184 262.5)
-
Step 800
800
#1D48A1
oklch(42.8% 0.152 262.5)
-
Step 900
900
#1D3D80
oklch(37.7% 0.12 262.8)
-
Step 950
950
#11244B
oklch(26.9% 0.077 262.8)
#4078EA 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) | #3685EE | 0.033 |
| Deuteranopia (no green cones) | #0076E8 | 0.032 |
| Tritanopia (no blue cones) | #0093A6 | 0.144 |
| Achromatopsia (no color) | #7D7D7D | 0.183 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4078EA
#4078EA
oklch(59.6% 0.183 262.6)
- #A37700
#A37700
oklch(59.7% 0.123 82.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 #4078EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Clear Blue #247AFD ΔE 0.032
- Royal Blue #4169E1 ΔE 0.039
- Cerulean Blue #056EEE ΔE 0.044
- Cornflower #6A79F7 ΔE 0.051
- Neon Blue #4361EE ΔE 0.056
- Soft Blue #6488EA ΔE 0.060
- Dark Sky Blue #448EE4 ΔE 0.061
- Dodger Blue #1E90FF ΔE 0.064
Use #4078EA 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.