#405394

Closest named color: Twilight (#4E518B). oklch(46% 0.108 269.5), rgb(64, 83, 148).

Aa

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

About this color

#405394 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.108 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.023 away. White text reads best on it, at 7.28:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.88:1
White text7.28:1

Values

HEX#405394
RGBrgb(64, 83, 148)
HSLhsl(226, 40%, 42%)
OKLCHoklch(46% 0.108 269.5)

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 #405394 7.28:1 AAA Lc -90.0 Preferred for body text
Black text on #405394 2.88:1 Fails Lc 18.9 Dividers and decoration only
#405394 text on white 7.28:1 AAA Lc 85.1 Fine for body text
#405394 text on black 2.88:1 Fails Lc -16.9 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

    #8C9FD6

    oklch(70.8% 0.084 269.5)

  6. Step 500

    500

    #7086CB

    oklch(63.2% 0.107 269.7)

  7. Step 600

    600

    #586EB7

    oklch(55.5% 0.117 269.7)

  8. Step 700

    700 (this color)

    #405394

    oklch(46% 0.108 269.5)

  9. Step 800

    800

    #3B4B80

    oklch(42.6% 0.09 269.6)

  10. Step 900

    900

    #333F67

    oklch(37.7% 0.07 270.1)

  11. Step 950

    950

    #1E253C

    oklch(27% 0.044 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#405394 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)#375A960.021
Deuteranopia (no green cones)#2D53930.022
Tritanopia (no blue cones)#0F616C0.097
Achromatopsia (no color)#5656560.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #405394

    #405394

    oklch(46% 0.108 269.5)

  • #6D5500

    #6D5500

    oklch(46.1% 0.094 89.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405394

    #405394

    oklch(46% 0.108 269.5)

  • #005E8C

    #005E8C

    oklch(45.9% 0.105 239.9)

  • #61488B

    #61488B

    oklch(45.9% 0.108 299.3)

Open the analogous palette in the generator

Split complementary

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

  • #405394

    #405394

    oklch(46% 0.108 269.5)

  • #834600

    #834600

    oklch(46% 0.109 59.1)

  • #516001

    #516001

    oklch(46% 0.108 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405394

    #405394

    oklch(46% 0.108 269.5)

  • #8A3D32

    #8A3D32

    oklch(46% 0.108 30)

  • #206835

    #206835

    oklch(46% 0.108 149.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405394

    #405394

    oklch(46% 0.108 269.5)

  • #863A56

    #863A56

    oklch(45.8% 0.109 359.1)

  • #6D5500

    #6D5500

    oklch(46.1% 0.094 89.7)

  • #006759

    #006759

    oklch(46% 0.084 179.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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