#404EC2
Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(48.3% 0.18 272.5), rgb(64, 78, 194).
Aa
White text reads best on this color (6.80:1).
About this color
#404EC2 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.180 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.043 away. White text reads best on it, at 6.80:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.180) |
| Temperature | cool |
| Nearest name | Blue With A Hint Of Purple (#533CC6) |
| Black text | 3.08:1 |
| White text | 6.80:1 |
Values
| HEX | #404EC2 |
| RGB | rgb(64, 78, 194) |
| HSL | hsl(234, 52%, 51%) |
| OKLCH | oklch(48.3% 0.18 272.5) |
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 #404EC2 | 6.80:1 | AA | Lc -88.0 | Fine for body text |
| Black text on #404EC2 | 3.08:1 | AA large text | Lc 21.0 | Dividers and decoration only |
| #404EC2 text on white | 6.80:1 | AA | Lc 83.0 | Fine for body text |
| #404EC2 text on black | 3.08:1 | AA large text | Lc -18.9 | 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 700.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CED8FA
oklch(88.5% 0.048 272.4)
-
Step 300
300
#ADBEFA
oklch(81% 0.087 272.1)
-
Step 400
400
#8399F7
oklch(70.6% 0.14 272.4)
-
Step 500
500
#677DF3
oklch(63.1% 0.177 272.4)
-
Step 600
600
#5162E2
oklch(55.6% 0.194 272.7)
-
Step 700
700 (this color)
#404EC2
oklch(48.3% 0.18 272.5)
-
Step 800
800
#36439F
oklch(42.8% 0.149 272.4)
-
Step 900
900
#2E397E
oklch(37.6% 0.117 272.7)
-
Step 950
950
#1B224A
oklch(27% 0.074 273)
#404EC2 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) | #0061C6 | 0.055 |
| Deuteranopia (no green cones) | #0055C0 | 0.044 |
| Tritanopia (no blue cones) | #006B80 | 0.148 |
| Achromatopsia (no color) | #5B5B5B | 0.181 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404EC2
#404EC2
oklch(48.3% 0.18 272.5)
- #725C00
#725C00
oklch(48.3% 0.099 92.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 #404EC2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue With A Hint Of Purple #533CC6 ΔE 0.043
- Blue Blue #2242C7 ΔE 0.047
- Warm Blue #4B57DB ΔE 0.047
- Majorelle Blue #3F37C9 ΔE 0.049
- Blurple #5539CC ΔE 0.051
- Bluey Purple #6241C7 ΔE 0.055
- Iris #6258C4 ΔE 0.057
- Slate Blue #6A5ACD ΔE 0.073
Use #404EC2 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.