#404BAD
Closest named color: Blueberry (#464196). oklch(46.1% 0.155 273.8), rgb(64, 75, 173).
Aa
White text reads best on this color (7.42:1).
About this color
#404BAD is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.155 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.043 away. White text reads best on it, at 7.42:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.155) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.82:1 |
| White text | 7.42:1 |
Values
| HEX | #404BAD |
| RGB | rgb(64, 75, 173) |
| HSL | hsl(234, 46%, 46%) |
| OKLCH | oklch(46.1% 0.155 273.8) |
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 #404BAD | 7.42:1 | AAA | Lc -90.3 | Preferred for body text |
| Black text on #404BAD | 2.82:1 | Fails | Lc 18.6 | Dividers and decoration only |
| #404BAD text on white | 7.42:1 | AAA | Lc 85.4 | Fine for body text |
| #404BAD text on black | 2.82:1 | Fails | Lc -16.6 | 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5E9F9
oklch(93.6% 0.022 274.7)
-
Step 200
200
#D0D8F6
oklch(88.6% 0.042 273.7)
-
Step 300
300
#B1BEF2
oklch(81% 0.075 273.7)
-
Step 400
400
#899AEB
oklch(70.6% 0.12 273.9)
-
Step 500
500
#6D7FE5
oklch(63% 0.154 273.7)
-
Step 600
600
#5766D3
oklch(55.6% 0.167 273.8)
-
Step 700
700 (this color)
#404BAD
oklch(46.1% 0.155 273.8)
-
Step 800
800
#3B4594
oklch(42.6% 0.129 274.2)
-
Step 900
900
#323B76
oklch(37.7% 0.1 274.1)
-
Step 950
950
#1D2345
oklch(27% 0.063 273.9)
#404BAD 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) | #005AB0 | 0.053 |
| Deuteranopia (no green cones) | #0051AB | 0.048 |
| Tritanopia (no blue cones) | #006274 | 0.131 |
| Achromatopsia (no color) | #555555 | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #404BAD
#404BAD
oklch(46.1% 0.155 273.8)
- #6A5600
#6A5600
oklch(46% 0.094 93.2)
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 #404BAD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.043
- Blue With A Hint Of Purple #533CC6 ΔE 0.056
- Blue Blue #2242C7 ΔE 0.058
- Majorelle Blue #3F37C9 ΔE 0.061
- Twilight #4E518B ΔE 0.063
- Dark Slate Blue #483D8B ΔE 0.063
- Sapphire #2138AB ΔE 0.064
- Cobalt #1E488F ΔE 0.064
Use #404BAD 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.