#404BA4
Closest named color: Blueberry (#464196). oklch(45.4% 0.143 274), rgb(64, 75, 164).
Aa
White text reads best on this color (7.60:1).
About this color
#404BA4 is a medium-dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.143 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.033 away. White text reads best on it, at 7.60:1.
| Hue family | Blues |
| Lightness | medium-dark (45%) |
| Chroma | vivid (0.143) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.76:1 |
| White text | 7.60:1 |
Values
| HEX | #404BA4 |
| RGB | rgb(64, 75, 164) |
| HSL | hsl(233, 44%, 45%) |
| OKLCH | oklch(45.4% 0.143 274) |
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 #404BA4 | 7.60:1 | AAA | Lc -90.9 | Preferred for body text |
| Black text on #404BA4 | 2.76:1 | Fails | Lc 17.9 | Dividers and decoration only |
| #404BA4 text on white | 7.60:1 | AAA | Lc 86.1 | Fine for body text |
| #404BA4 text on black | 2.76:1 | Fails | Lc -15.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 800.
-
Step 50
50
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CFD8F9
oklch(88.6% 0.047 273.4)
-
Step 300
300
#AFBDF7
oklch(80.8% 0.084 273.9)
-
Step 400
400
#8799F3
oklch(70.7% 0.133 273.9)
-
Step 500
500
#6B7DEF
oklch(63.1% 0.171 273.8)
-
Step 600
600
#5563DD
oklch(55.6% 0.185 273.8)
-
Step 700
700
#4651C0
oklch(49.1% 0.172 273.9)
-
Step 800
800 (this color)
#404BA4
oklch(45.4% 0.143 274)
-
Step 900
900
#313A7B
oklch(37.8% 0.11 274)
-
Step 950
950
#1C2248
oklch(26.9% 0.07 274)
#404BA4 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) | #1158A7 | 0.048 |
| Deuteranopia (no green cones) | #0050A2 | 0.049 |
| Tritanopia (no blue cones) | #006070 | 0.124 |
| Achromatopsia (no color) | #545454 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404BA4
#404BA4
oklch(45.4% 0.143 274)
- #675500
#675500
oklch(45.4% 0.093 94.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 #404BA4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.033
- Twilight #4E518B ΔE 0.051
- Dark Slate Blue #483D8B ΔE 0.052
- Cobalt #1E488F ΔE 0.054
- Dusk Blue #26538D ΔE 0.054
- Denim Blue #3B5B92 ΔE 0.056
- Sapphire #2138AB ΔE 0.065
- Dusky Blue #475F94 ΔE 0.066
Use #404BA4 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.