#40499B

Closest named color: Blueberry (#464196). oklch(44.3% 0.132 274.9), rgb(64, 73, 155).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.64:1
White text7.94:1

Values

HEX#40499B
RGBrgb(64, 73, 155)
HSLhsl(234, 42%, 43%)
OKLCHoklch(44.3% 0.132 274.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 #40499B 7.94:1 AAA Lc -92.0 Preferred for body text
Black text on #40499B 2.64:1 Fails Lc 16.7 Dividers and decoration only
#40499B text on white 7.94:1 AAA Lc 87.3 Fine for body text
#40499B text on black 2.64:1 Fails Lc -14.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

    #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

    #B2BDF3

    oklch(80.9% 0.077 275.6)

  5. Step 400

    400

    #8A99ED

    oklch(70.6% 0.124 275.1)

  6. Step 500

    500

    #6F7EE7

    oklch(63.1% 0.157 274.9)

  7. Step 600

    600

    #5965D6

    oklch(55.7% 0.172 274.8)

  8. Step 700

    700

    #4953B9

    oklch(49.1% 0.159 274.7)

  9. Step 800

    800 (this color)

    #40499B

    oklch(44.3% 0.132 274.9)

  10. Step 900

    900

    #333A77

    oklch(37.6% 0.103 275.4)

  11. Step 950

    950

    #1E2346

    oklch(27.1% 0.065 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#40499B 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)#1B559E0.044
Deuteranopia (no green cones)#054D990.049
Tritanopia (no blue cones)#025C6B0.117
Achromatopsia (no color)#5151510.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #40499B

    #40499B

    oklch(44.3% 0.132 274.9)

  • #635200

    #635200

    oklch(44.3% 0.091 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40499B

    #40499B

    oklch(44.3% 0.132 274.9)

  • #00588C

    #00588C

    oklch(44.4% 0.111 244.5)

  • #653C8D

    #653C8D

    oklch(44.4% 0.132 305)

Open the analogous palette in the generator

Split complementary

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

  • #40499B

    #40499B

    oklch(44.3% 0.132 274.9)

  • #784600

    #784600

    oklch(44.4% 0.099 65.4)

  • #465D00

    #465D00

    oklch(44.3% 0.111 124.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40499B

    #40499B

    oklch(44.3% 0.132 274.9)

  • #8E3018

    #8E3018

    oklch(44.4% 0.133 35.2)

  • #006437

    #006437

    oklch(44.2% 0.109 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40499B

    #40499B

    oklch(44.3% 0.132 274.9)

  • #8B2B4A

    #8B2B4A

    oklch(44.3% 0.132 4.6)

  • #635200

    #635200

    oklch(44.3% 0.091 95.1)

  • #006159

    #006159

    oklch(44.3% 0.078 185.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40499B 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.