#4D64E4
Closest named color: Royal Blue (#4169E1). oklch(55.9% 0.195 271), rgb(77, 100, 228).
Aa
White text reads best on this color (4.93:1).
About this color
#4D64E4 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.195 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.017 away. White text reads best on it, at 4.93:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.195) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.25:1 |
| White text | 4.93:1 |
Values
| HEX | #4D64E4 |
| RGB | rgb(77, 100, 228) |
| HSL | hsl(231, 74%, 60%) |
| OKLCH | oklch(55.9% 0.195 271) |
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 #4D64E4 | 4.93:1 | AA | Lc -79.1 | Fine for body text |
| Black text on #4D64E4 | 4.25:1 | AA large text | Lc 30.4 | Non-text elements, placeholder text |
| #4D64E4 text on white | 4.93:1 | AA | Lc 73.7 | Content text, not long reading |
| #4D64E4 text on black | 4.25:1 | AA large text | Lc -28.0 | Dividers and decoration only |
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 600.
-
Step 50
50
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E3E9FB
oklch(93.5% 0.025 271.1)
-
Step 200
200
#CDD8FA
oklch(88.5% 0.048 271.2)
-
Step 300
300
#ABBEFA
oklch(80.9% 0.088 270.8)
-
Step 400
400
#819AF8
oklch(70.7% 0.141 271.2)
-
Step 500
500
#637EF4
oklch(63.2% 0.178 270.8)
-
Step 600
600 (this color)
#4D64E4
oklch(55.9% 0.195 271)
-
Step 700
700
#3E51C5
oklch(49% 0.181 271)
-
Step 800
800
#3343A0
oklch(42.7% 0.151 271.1)
-
Step 900
900
#2C3A7F
oklch(37.7% 0.117 271.1)
-
Step 950
950
#19234A
oklch(27.1% 0.073 270.1)
#4D64E4 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) | #0077E8 | 0.057 |
| Deuteranopia (no green cones) | #006AE1 | 0.048 |
| Tritanopia (no blue cones) | #00839A | 0.160 |
| Achromatopsia (no color) | #707070 | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4D64E4
#4D64E4
oklch(55.9% 0.195 271)
- #8D7000
#8D7000
oklch(55.8% 0.114 90.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 #4D64E4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.017
- Neon Blue #4361EE ΔE 0.021
- Warm Blue #4B57DB ΔE 0.033
- Dark Periwinkle #665FD1 ΔE 0.043
- Cerulean Blue #056EEE ΔE 0.048
- Azul #1D5DEC ΔE 0.049
- Slate Blue #6A5ACD ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.055
Use #4D64E4 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.