#40499D

Closest named color: Blueberry (#464196). oklch(44.5% 0.135 274.9), rgb(64, 73, 157).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.65:1
White text7.90:1

Values

HEX#40499D
RGBrgb(64, 73, 157)
HSLhsl(234, 42%, 43%)
OKLCHoklch(44.5% 0.135 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 #40499D 7.90:1 AAA Lc -91.9 Preferred for body text
Black text on #40499D 2.65:1 Fails Lc 16.9 Dividers and decoration only
#40499D text on white 7.90:1 AAA Lc 87.1 Fine for body text
#40499D text on black 2.65:1 Fails Lc -15.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D8F7

    oklch(88.6% 0.044 274)

  4. Step 300

    300

    #B1BDF4

    oklch(80.8% 0.079 274.9)

  5. Step 400

    400

    #8A99EF

    oklch(70.7% 0.127 275.2)

  6. Step 500

    500

    #6F7DE9

    oklch(63% 0.161 275.2)

  7. Step 600

    600

    #5864D8

    oklch(55.6% 0.176 274.7)

  8. Step 700

    700

    #4952BB

    oklch(49.1% 0.163 275)

  9. Step 800

    800 (this color)

    #40499D

    oklch(44.5% 0.135 274.9)

  10. Step 900

    900

    #323A78

    oklch(37.6% 0.105 274.7)

  11. Step 950

    950

    #1D2347

    oklch(27.1% 0.067 274)

Export this scale for Tailwind in the Tailwind colors tool

#40499D 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)#1855A00.045
Deuteranopia (no green cones)#004D9B0.050
Tritanopia (no blue cones)#005C6C0.118
Achromatopsia (no color)#5151510.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #40499D

    #40499D

    oklch(44.5% 0.135 274.9)

  • #645200

    #645200

    oklch(44.4% 0.091 94.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40499D

    #40499D

    oklch(44.5% 0.135 274.9)

  • #00588D

    #00588D

    oklch(44.5% 0.112 245)

  • #663B8F

    #663B8F

    oklch(44.5% 0.136 305.1)

Open the analogous palette in the generator

Split complementary

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

  • #40499D

    #40499D

    oklch(44.5% 0.135 274.9)

  • #794600

    #794600

    oklch(44.5% 0.1 64.7)

  • #465E00

    #465E00

    oklch(44.6% 0.112 125)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40499D

    #40499D

    oklch(44.5% 0.135 274.9)

  • #8F2F17

    #8F2F17

    oklch(44.5% 0.135 34.9)

  • #006537

    #006537

    oklch(44.5% 0.111 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40499D

    #40499D

    oklch(44.5% 0.135 274.9)

  • #8D2A4A

    #8D2A4A

    oklch(44.5% 0.135 4.8)

  • #645200

    #645200

    oklch(44.4% 0.091 94.3)

  • #006259

    #006259

    oklch(44.6% 0.079 184)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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