#405494

Closest named color: Denim Blue (#3B5B92). oklch(46.2% 0.107 268.9), rgb(64, 84, 148).

Aa

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

About this color

#405494 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.107 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.021 away. White text reads best on it, at 7.20:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.91:1
White text7.20:1

Values

HEX#405494
RGBrgb(64, 84, 148)
HSLhsl(226, 40%, 42%)
OKLCHoklch(46.2% 0.107 268.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 #405494 7.20:1 AAA Lc -89.8 Fine for body text
Black text on #405494 2.91:1 Fails Lc 19.2 Dividers and decoration only
#405494 text on white 7.20:1 AAA Lc 84.9 Fine for body text
#405494 text on black 2.91:1 Fails Lc -17.1 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B3C0E3

    oklch(80.9% 0.052 269.2)

  5. Step 400

    400

    #8B9FD5

    oklch(70.7% 0.083 268.6)

  6. Step 500

    500

    #6F86CA

    oklch(63.1% 0.106 269)

  7. Step 600

    600

    #586FB7

    oklch(55.7% 0.115 269.1)

  8. Step 700

    700 (this color)

    #405494

    oklch(46.2% 0.107 268.9)

  9. Step 800

    800

    #3B4C7F

    oklch(42.7% 0.088 268.6)

  10. Step 900

    900

    #323F66

    oklch(37.5% 0.069 268.9)

  11. Step 950

    950

    #1E253C

    oklch(27% 0.044 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#405494 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)#395B960.020
Deuteranopia (no green cones)#2E54930.021
Tritanopia (no blue cones)#0F626D0.095
Achromatopsia (no color)#5757570.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #405494

    #405494

    oklch(46.2% 0.107 268.9)

  • #6E5500

    #6E5500

    oklch(46.2% 0.094 88.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405494

    #405494

    oklch(46.2% 0.107 268.9)

  • #005F8C

    #005F8C

    oklch(46.2% 0.104 239.1)

  • #61498B

    #61498B

    oklch(46.1% 0.106 299)

Open the analogous palette in the generator

Split complementary

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

  • #405494

    #405494

    oklch(46.2% 0.107 268.9)

  • #834705

    #834705

    oklch(46.2% 0.107 59.1)

  • #536003

    #536003

    oklch(46.2% 0.107 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405494

    #405494

    oklch(46.2% 0.107 268.9)

  • #8A3E34

    #8A3E34

    oklch(46.2% 0.106 29.4)

  • #236835

    #236835

    oklch(46.1% 0.107 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405494

    #405494

    oklch(46.2% 0.107 268.9)

  • #863C57

    #863C57

    oklch(46.2% 0.106 359.1)

  • #6E5500

    #6E5500

    oklch(46.2% 0.094 88.9)

  • #006859

    #006859

    oklch(46.3% 0.085 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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