#404AB8

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(46.8% 0.172 273.8), rgb(64, 74, 184).

Aa

White text reads best on this color (7.26:1).

About this color

#404AB8 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.172 and its hue 274°. 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 7.26:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.172)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.88:1
White text7.26:1

Values

HEX#404AB8
RGBrgb(64, 74, 184)
HSLhsl(235, 48%, 49%)
OKLCHoklch(46.8% 0.172 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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #404AB8 7.26:1 AAA Lc -89.7 Fine for body text
Black text on #404AB8 2.88:1 Fails Lc 19.2 Dividers and decoration only
#404AB8 text on white 7.26:1 AAA Lc 84.8 Fine for body text
#404AB8 text on black 2.88:1 Fails Lc -17.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.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CFD8F8

    oklch(88.5% 0.045 273)

  4. Step 300

    300

    #AFBDF7

    oklch(80.8% 0.084 273.9)

  5. Step 400

    400

    #8799F3

    oklch(70.7% 0.133 273.9)

  6. Step 500

    500

    #6B7DEE

    oklch(63.1% 0.169 273.7)

  7. Step 600

    600

    #5563DD

    oklch(55.6% 0.185 273.8)

  8. Step 700

    700 (this color)

    #404AB8

    oklch(46.8% 0.172 273.8)

  9. Step 800

    800

    #39439B

    oklch(42.7% 0.142 273.8)

  10. Step 900

    900

    #303A7B

    oklch(37.7% 0.11 273.4)

  11. Step 950

    950

    #1C2248

    oklch(26.9% 0.07 274)

Export this scale for Tailwind in the Tailwind colors tool

#404AB8 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#005CBC0.055
Deuteranopia (no green cones)#0051B60.047
Tritanopia (no blue cones)#00657A0.141
Achromatopsia (no color)#5757570.172

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #404AB8

    #404AB8

    oklch(46.8% 0.172 273.8)

  • #6C5800

    #6C5800

    oklch(46.7% 0.096 93.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404AB8

    #404AB8

    oklch(46.8% 0.172 273.8)

  • #005F95

    #005F95

    oklch(46.7% 0.115 243.8)

  • #7037A6

    #7037A6

    oklch(46.7% 0.172 304)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #404AB8

    #404AB8

    oklch(46.8% 0.172 273.8)

  • #824B00

    #824B00

    oklch(46.8% 0.106 64.2)

  • #4D6400

    #4D6400

    oklch(46.7% 0.116 123.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404AB8

    #404AB8

    oklch(46.8% 0.172 273.8)

  • #A42200

    #A42200

    oklch(46.8% 0.17 33.7)

  • #006D39

    #006D39

    oklch(46.9% 0.119 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404AB8

    #404AB8

    oklch(46.8% 0.172 273.8)

  • #A1194F

    #A1194F

    oklch(46.8% 0.172 4)

  • #6C5800

    #6C5800

    oklch(46.7% 0.096 93.5)

  • #00695F

    #00695F

    oklch(46.8% 0.083 183.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #404AB8, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #404AB8 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.