#403E91

Closest named color: Blueberry (#464196). oklch(41.4% 0.133 279.9), rgb(64, 62, 145).

Aa

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

About this color

#403E91 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.133 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.015 away. White text reads best on it, at 9.06:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.31:1
White text9.06:1

Values

HEX#403E91
RGBrgb(64, 62, 145)
HSLhsl(241, 40%, 41%)
OKLCHoklch(41.4% 0.133 279.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 #403E91 9.06:1 AAA Lc -95.0 Preferred for body text
Black text on #403E91 2.31:1 Fails Lc 13.4 Not readable
#403E91 text on white 9.06:1 AAA Lc 90.6 Preferred for body text
#403E91 text on black 2.31:1 Fails Lc -11.8 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D3D7F6

    oklch(88.6% 0.043 279.7)

  4. Step 300

    300

    #B6BCF3

    oklch(81% 0.078 279.7)

  5. Step 400

    400

    #9297ED

    oklch(70.7% 0.125 280.1)

  6. Step 500

    500

    #797BE7

    oklch(63.2% 0.159 280)

  7. Step 600

    600

    #6361D5

    oklch(55.6% 0.173 279.9)

  8. Step 700

    700

    #524FB8

    oklch(49% 0.161 279.9)

  9. Step 800

    800 (this color)

    #403E91

    oklch(41.4% 0.133 279.9)

  10. Step 900

    900

    #383977

    oklch(37.8% 0.103 279.5)

  11. Step 950

    950

    #212246

    oklch(27.2% 0.066 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#403E91 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)#024C940.059
Deuteranopia (no green cones)#00458F0.058
Tritanopia (no blue cones)#1A51610.115
Achromatopsia (no color)#4949490.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #403E91

    #403E91

    oklch(41.4% 0.133 279.9)

  • #574C00

    #574C00

    oklch(41.5% 0.086 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403E91

    #403E91

    oklch(41.4% 0.133 279.9)

  • #004D88

    #004D88

    oklch(41.4% 0.118 250.1)

  • #613180

    #613180

    oklch(41.3% 0.133 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #403E91

    #403E91

    oklch(41.4% 0.133 279.9)

  • #6A4100

    #6A4100

    oklch(41.4% 0.09 69.7)

  • #375600

    #375600

    oklch(41.3% 0.11 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403E91

    #403E91

    oklch(41.4% 0.133 279.9)

  • #822A00

    #822A00

    oklch(41.4% 0.129 40.2)

  • #005A39

    #005A39

    oklch(41.3% 0.093 160)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403E91

    #403E91

    oklch(41.4% 0.133 279.9)

  • #83213B

    #83213B

    oklch(41.3% 0.133 9.7)

  • #574C00

    #574C00

    oklch(41.5% 0.086 99.8)

  • #005854

    #005854

    oklch(41.5% 0.072 189.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403E91 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.