#404FA6

Closest named color: Blueberry (#464196). oklch(46.4% 0.14 272.4), rgb(64, 79, 166).

Aa

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

About this color

#404FA6 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.140 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.042 away. White text reads best on it, at 7.27:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.140)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.88:1
White text7.27:1

Values

HEX#404FA6
RGBrgb(64, 79, 166)
HSLhsl(231, 44%, 45%)
OKLCHoklch(46.4% 0.14 272.4)

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 #404FA6 7.27:1 AAA Lc -89.9 Fine for body text
Black text on #404FA6 2.88:1 Fails Lc 19.0 Dividers and decoration only
#404FA6 text on white 7.27:1 AAA Lc 85.0 Fine for body text
#404FA6 text on black 2.88:1 Fails Lc -17.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B1BFED

    oklch(81% 0.067 271.6)

  5. Step 400

    400

    #899CE4

    oklch(70.7% 0.108 272.1)

  6. Step 500

    500

    #6D82DD

    oklch(63.2% 0.139 272.1)

  7. Step 600

    600

    #5769CA

    oklch(55.6% 0.15 272.7)

  8. Step 700

    700 (this color)

    #404FA6

    oklch(46.4% 0.14 272.4)

  9. Step 800

    800

    #3A488E

    oklch(42.8% 0.116 272.1)

  10. Step 900

    900

    #323D71

    oklch(37.8% 0.09 272.4)

  11. Step 950

    950

    #1D2442

    oklch(27% 0.057 272.2)

Export this scale for Tailwind in the Tailwind colors tool

#404FA6 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)#1D5BA90.041
Deuteranopia (no green cones)#0052A40.047
Tritanopia (no blue cones)#0063730.120
Achromatopsia (no color)#5757570.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #404FA6

    #404FA6

    oklch(46.4% 0.14 272.4)

  • #6C5700

    #6C5700

    oklch(46.5% 0.095 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404FA6

    #404FA6

    oklch(46.4% 0.14 272.4)

  • #005E91

    #005E91

    oklch(46.2% 0.111 242.6)

  • #694199

    #694199

    oklch(46.5% 0.14 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #404FA6

    #404FA6

    oklch(46.4% 0.14 272.4)

  • #824900

    #824900

    oklch(46.4% 0.106 62.3)

  • #4E6200

    #4E6200

    oklch(46.3% 0.113 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404FA6

    #404FA6

    oklch(46.4% 0.14 272.4)

  • #98311F

    #98311F

    oklch(46.4% 0.141 32.3)

  • #006B35

    #006B35

    oklch(46.2% 0.121 152.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404FA6

    #404FA6

    oklch(46.4% 0.14 272.4)

  • #942E52

    #942E52

    oklch(46.4% 0.139 2.7)

  • #6C5700

    #6C5700

    oklch(46.5% 0.095 92.5)

  • #00685D

    #00685D

    oklch(46.4% 0.083 182.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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