#404EB6

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.4% 0.164 272.7), rgb(64, 78, 182).

Aa

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

About this color

#404EB6 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.164 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.051 away. White text reads best on it, at 7.03:1.

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

Values

HEX#404EB6
RGBrgb(64, 78, 182)
HSLhsl(233, 48%, 48%)
OKLCHoklch(47.4% 0.164 272.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 #404EB6 7.03:1 AAA Lc -89.0 Fine for body text
Black text on #404EB6 2.98:1 Fails Lc 20.0 Dividers and decoration only
#404EB6 text on white 7.03:1 AAA Lc 84.0 Fine for body text
#404EB6 text on black 2.98:1 Fails Lc -18.0 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

    #CFD8F7

    oklch(88.5% 0.044 272.7)

  4. Step 300

    300

    #AFBEF5

    oklch(80.9% 0.08 272.7)

  5. Step 400

    400

    #869AEF

    oklch(70.6% 0.127 272.7)

  6. Step 500

    500

    #6A7FEA

    oklch(63.1% 0.161 272.6)

  7. Step 600

    600

    #5365D8

    oklch(55.5% 0.176 272.6)

  8. Step 700

    700 (this color)

    #404EB6

    oklch(47.4% 0.164 272.7)

  9. Step 800

    800

    #384598

    oklch(42.8% 0.136 272.6)

  10. Step 900

    900

    #303B79

    oklch(37.8% 0.106 272.8)

  11. Step 950

    950

    #1C2347

    oklch(27.1% 0.067 272.9)

Export this scale for Tailwind in the Tailwind colors tool

#404EB6 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)#005EBA0.052
Deuteranopia (no green cones)#0054B40.045
Tritanopia (no blue cones)#00677A0.137
Achromatopsia (no color)#5959590.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #404EB6

    #404EB6

    oklch(47.4% 0.164 272.7)

  • #6F5A00

    #6F5A00

    oklch(47.5% 0.097 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404EB6

    #404EB6

    oklch(47.4% 0.164 272.7)

  • #006196

    #006196

    oklch(47.3% 0.114 242.9)

  • #6F3DA6

    #6F3DA6

    oklch(47.4% 0.163 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #404EB6

    #404EB6

    oklch(47.4% 0.164 272.7)

  • #864C00

    #864C00

    oklch(47.5% 0.109 62.9)

  • #506500

    #506500

    oklch(47.2% 0.115 122.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404EB6

    #404EB6

    oklch(47.4% 0.164 272.7)

  • #A42810

    #A42810

    oklch(47.4% 0.164 32.7)

  • #006F38

    #006F38

    oklch(47.5% 0.123 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404EB6

    #404EB6

    oklch(47.4% 0.164 272.7)

  • #A02353

    #A02353

    oklch(47.4% 0.164 3.1)

  • #6F5A00

    #6F5A00

    oklch(47.5% 0.097 93)

  • #006B60

    #006B60

    oklch(47.4% 0.085 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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