#404C9E

Closest named color: Blueberry (#464196). oklch(45.2% 0.133 273.6), rgb(64, 76, 158).

Aa

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

About this color

#404C9E is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.133 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.030 away. White text reads best on it, at 7.64:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.74:1
White text7.64:1

Values

HEX#404C9E
RGBrgb(64, 76, 158)
HSLhsl(232, 42%, 44%)
OKLCHoklch(45.2% 0.133 273.6)

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 #404C9E 7.64:1 AAA Lc -91.1 Preferred for body text
Black text on #404C9E 2.74:1 Fails Lc 17.7 Dividers and decoration only
#404C9E text on white 7.64:1 AAA Lc 86.3 Fine for body text
#404C9E text on black 2.74:1 Fails Lc -15.8 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 800.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D0D8F6

    oklch(88.6% 0.042 273.7)

  4. Step 300

    300

    #B0BEF3

    oklch(80.9% 0.077 273.1)

  5. Step 400

    400

    #889AEE

    oklch(70.7% 0.125 273.6)

  6. Step 500

    500

    #6C7FE8

    oklch(63.2% 0.158 273.3)

  7. Step 600

    600

    #5665D6

    oklch(55.5% 0.173 273.7)

  8. Step 700

    700

    #4753BA

    oklch(49.1% 0.161 273.9)

  9. Step 800

    800 (this color)

    #404C9E

    oklch(45.2% 0.133 273.6)

  10. Step 900

    900

    #313B78

    oklch(37.8% 0.104 273.4)

  11. Step 950

    950

    #1D2346

    oklch(27.1% 0.065 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#404C9E 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)#1F58A10.042
Deuteranopia (no green cones)#0A4F9C0.046
Tritanopia (no blue cones)#005F6D0.118
Achromatopsia (no color)#5353530.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C9E

    #404C9E

    oklch(45.2% 0.133 273.6)

  • #675400

    #675400

    oklch(45.2% 0.093 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C9E

    #404C9E

    oklch(45.2% 0.133 273.6)

  • #005A8E

    #005A8E

    oklch(45.1% 0.111 244)

  • #663F91

    #663F91

    oklch(45.3% 0.132 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #404C9E

    #404C9E

    oklch(45.2% 0.133 273.6)

  • #7C4700

    #7C4700

    oklch(45.1% 0.102 63.9)

  • #495F00

    #495F00

    oklch(45.1% 0.112 123.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C9E

    #404C9E

    oklch(45.2% 0.133 273.6)

  • #91321E

    #91321E

    oklch(45.3% 0.133 33.6)

  • #006736

    #006736

    oklch(45.1% 0.114 153.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C9E

    #404C9E

    oklch(45.2% 0.133 273.6)

  • #8E2E4E

    #8E2E4E

    oklch(45.3% 0.132 3.6)

  • #675400

    #675400

    oklch(45.2% 0.093 93.7)

  • #00645A

    #00645A

    oklch(45.2% 0.08 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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