#404EC5
Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(48.6% 0.184 272.4), rgb(64, 78, 197).
Aa
White text reads best on this color (6.74:1).
About this color
#404EC5 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.184 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.74:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.184) |
| Temperature | cool |
| Nearest name | Blue With A Hint Of Purple (#533CC6) |
| Black text | 3.11:1 |
| White text | 6.74:1 |
Values
| HEX | #404EC5 |
| RGB | rgb(64, 78, 197) |
| HSL | hsl(234, 53%, 51%) |
| OKLCH | oklch(48.6% 0.184 272.4) |
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 #404EC5 | 6.74:1 | AA | Lc -87.8 | Fine for body text |
| Black text on #404EC5 | 3.11:1 | AA large text | Lc 21.3 | Dividers and decoration only |
| #404EC5 text on white | 6.74:1 | AA | Lc 82.7 | Fine for body text |
| #404EC5 text on black | 3.11:1 | AA large text | Lc -19.2 | 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CED8FB
oklch(88.6% 0.049 272.8)
-
Step 300
300
#ADBDFB
oklch(80.8% 0.09 273.1)
-
Step 400
400
#8399F9
oklch(70.7% 0.143 272.5)
-
Step 500
500
#667CF6
oklch(63.1% 0.183 272.4)
-
Step 600
600
#5062E5
oklch(55.7% 0.198 272.4)
-
Step 700
700 (this color)
#404EC5
oklch(48.6% 0.184 272.4)
-
Step 800
800
#3542A1
oklch(42.7% 0.153 272.3)
-
Step 900
900
#2E397F
oklch(37.7% 0.118 272.7)
-
Step 950
950
#1A224B
oklch(27% 0.076 272.1)
#404EC5 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) | #0062C9 | 0.056 |
| Deuteranopia (no green cones) | #0056C3 | 0.044 |
| Tritanopia (no blue cones) | #006C82 | 0.150 |
| Achromatopsia (no color) | #5B5B5B | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404EC5
#404EC5
oklch(48.6% 0.184 272.4)
- #735D00
#735D00
oklch(48.6% 0.1 92.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 #404EC5, 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
- Warm Blue #4B57DB ΔE 0.044
- Blue Blue #2242C7 ΔE 0.046
- Majorelle Blue #3F37C9 ΔE 0.048
- Blurple #5539CC ΔE 0.049
- Bluey Purple #6241C7 ΔE 0.054
- Iris #6258C4 ΔE 0.057
- Azul #1D5DEC ΔE 0.071
Use #404EC5 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.