#404ABA

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47% 0.174 273.7), rgb(64, 74, 186).

Aa

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

About this color

#404ABA is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.174 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.042 away. White text reads best on it, at 7.22:1.

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

Values

HEX#404ABA
RGBrgb(64, 74, 186)
HSLhsl(235, 49%, 49%)
OKLCHoklch(47% 0.174 273.7)

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 #404ABA 7.22:1 AAA Lc -89.5 Fine for body text
Black text on #404ABA 2.90:1 Fails Lc 19.4 Dividers and decoration only
#404ABA text on white 7.22:1 AAA Lc 84.6 Fine for body text
#404ABA text on black 2.90:1 Fails Lc -17.4 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

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD8F9

    oklch(88.6% 0.047 273.4)

  4. Step 300

    300

    #AFBDF8

    oklch(80.9% 0.085 274)

  5. Step 400

    400

    #8699F4

    oklch(70.7% 0.135 273.5)

  6. Step 500

    500

    #6A7DF0

    oklch(63.1% 0.172 273.4)

  7. Step 600

    600

    #5463DF

    oklch(55.7% 0.188 273.5)

  8. Step 700

    700 (this color)

    #404ABA

    oklch(47% 0.174 273.7)

  9. Step 800

    800

    #39439C

    oklch(42.7% 0.144 273.8)

  10. Step 900

    900

    #303A7C

    oklch(37.8% 0.112 273.4)

  11. Step 950

    950

    #1C2249

    oklch(27% 0.072 274)

Export this scale for Tailwind in the Tailwind colors tool

#404ABA 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)#005DBE0.057
Deuteranopia (no green cones)#0052B80.047
Tritanopia (no blue cones)#00667B0.144
Achromatopsia (no color)#5757570.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #404ABA

    #404ABA

    oklch(47% 0.174 273.7)

  • #6D5900

    #6D5900

    oklch(47% 0.096 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404ABA

    #404ABA

    oklch(47% 0.174 273.7)

  • #006096

    #006096

    oklch(47.1% 0.115 243.6)

  • #7137A8

    #7137A8

    oklch(47% 0.174 304)

Open the analogous palette in the generator

Split complementary

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

  • #404ABA

    #404ABA

    oklch(47% 0.174 273.7)

  • #834B00

    #834B00

    oklch(46.9% 0.106 63.6)

  • #4E6500

    #4E6500

    oklch(47.1% 0.116 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404ABA

    #404ABA

    oklch(47% 0.174 273.7)

  • #A52200

    #A52200

    oklch(47% 0.171 33.6)

  • #006D39

    #006D39

    oklch(46.9% 0.119 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404ABA

    #404ABA

    oklch(47% 0.174 273.7)

  • #A21750

    #A21750

    oklch(46.9% 0.174 3.5)

  • #6D5900

    #6D5900

    oklch(47% 0.096 93.7)

  • #006A60

    #006A60

    oklch(47.1% 0.084 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 #404ABA, closest first.

Similar named colors

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

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