#404796

Closest named color: Blueberry (#464196). oklch(43.6% 0.128 275.9), rgb(64, 71, 150).

Aa

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

About this color

#404796 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.128 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.017 away. White text reads best on it, at 8.20:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.55:1
White text8.20:1

Values

HEX#404796
RGBrgb(64, 71, 150)
HSLhsl(235, 40%, 42%)
OKLCHoklch(43.6% 0.128 275.9)

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 #404796 8.20:1 AAA Lc -92.8 Preferred for body text
Black text on #404796 2.55:1 Fails Lc 15.9 Dividers and decoration only
#404796 text on white 8.20:1 AAA Lc 88.1 Fine for body text
#404796 text on black 2.55:1 Fails Lc -14.0 Not readable

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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D7F5

    oklch(88.4% 0.042 276.6)

  4. Step 300

    300

    #B3BDF1

    oklch(80.9% 0.074 276.1)

  5. Step 400

    400

    #8C99EB

    oklch(70.6% 0.121 276)

  6. Step 500

    500

    #727EE4

    oklch(63.1% 0.152 276.1)

  7. Step 600

    600

    #5C65D2

    oklch(55.6% 0.166 276.1)

  8. Step 700

    700

    #4C53B6

    oklch(49.1% 0.154 276.1)

  9. Step 800

    800 (this color)

    #404796

    oklch(43.6% 0.128 275.9)

  10. Step 900

    900

    #343B75

    oklch(37.8% 0.098 275.5)

  11. Step 950

    950

    #1E2345

    oklch(27.1% 0.063 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#404796 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)#1C53990.045
Deuteranopia (no green cones)#0C4B940.048
Tritanopia (no blue cones)#1059670.113
Achromatopsia (no color)#4F4F4F0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #404796

    #404796

    oklch(43.6% 0.128 275.9)

  • #605000

    #605000

    oklch(43.5% 0.089 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404796

    #404796

    oklch(43.6% 0.128 275.9)

  • #00558A

    #00558A

    oklch(43.5% 0.111 245.7)

  • #633A88

    #633A88

    oklch(43.5% 0.128 306)

Open the analogous palette in the generator

Split complementary

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

  • #404796

    #404796

    oklch(43.6% 0.128 275.9)

  • #754400

    #754400

    oklch(43.5% 0.098 65.2)

  • #425B00

    #425B00

    oklch(43.5% 0.11 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404796

    #404796

    oklch(43.6% 0.128 275.9)

  • #893017

    #893017

    oklch(43.6% 0.127 36.1)

  • #006237

    #006237

    oklch(43.6% 0.106 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404796

    #404796

    oklch(43.6% 0.128 275.9)

  • #882B47

    #882B47

    oklch(43.7% 0.128 5.8)

  • #605000

    #605000

    oklch(43.5% 0.089 95.7)

  • #005F57

    #005F57

    oklch(43.7% 0.077 184.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404796 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.