#4D7DEA
Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.173 264.1), rgb(77, 125, 234).
Aa
Black text reads best on this color (5.43:1).
About this color
#4D7DEA is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.173 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.039 away. Black text reads best on it, at 5.43:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.173) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.43:1 |
| White text | 3.86:1 |
Values
| HEX | #4D7DEA |
| RGB | rgb(77, 125, 234) |
| HSL | hsl(222, 79%, 61%) |
| OKLCH | oklch(61.2% 0.173 264.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 #4D7DEA | 3.86:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #4D7DEA | 5.43:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #4D7DEA text on white | 3.86:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #4D7DEA text on black | 5.43:1 | AA | Lc -35.9 | 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
#F2F6FD
oklch(97.2% 0.01 261.8)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CADAF9
oklch(88.6% 0.046 263.7)
-
Step 300
300
#A5C1F8
oklch(81% 0.084 263.6)
-
Step 400
400
#759EF5
oklch(70.7% 0.136 264.1)
-
Step 500
500 (this color)
#4D7DEA
oklch(61.2% 0.173 264.1)
-
Step 600
600
#386ADF
oklch(55.7% 0.187 263.9)
-
Step 700
700
#2B57C2
oklch(49.1% 0.175 264.1)
-
Step 800
800
#24489D
oklch(42.7% 0.145 264)
-
Step 900
900
#223D7D
oklch(37.7% 0.114 264.4)
-
Step 950
950
#142449
oklch(26.9% 0.072 264.5)
#4D7DEA 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) | #4489EE | 0.030 |
| Deuteranopia (no green cones) | #227BE8 | 0.033 |
| Tritanopia (no blue cones) | #0096A8 | 0.141 |
| Achromatopsia (no color) | #828282 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4D7DEA
#4D7DEA
oklch(61.2% 0.173 264.1)
- #A77C00
#A77C00
oklch(61.2% 0.126 84.1)
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 #4D7DEA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.039
- Soft Blue #6488EA ΔE 0.041
- Clear Blue #247AFD ΔE 0.042
- Dark Sky Blue #448EE4 ΔE 0.047
- Royal Blue #4169E1 ΔE 0.055
- Dodger Blue #1E90FF ΔE 0.056
- Chefchaouen Blue #4895EF ΔE 0.062
- Cerulean Blue #056EEE ΔE 0.063
Use #4D7DEA 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.