#40488B

Closest named color: Blueberry (#464196). oklch(43% 0.11 275.6), rgb(64, 72, 139).

Aa

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

About this color

#40488B is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.110 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.028 away. White text reads best on it, at 8.34:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.51:1
White text8.34:1

Values

HEX#40488B
RGBrgb(64, 72, 139)
HSLhsl(234, 37%, 40%)
OKLCHoklch(43% 0.11 275.6)

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 #40488B 8.34:1 AAA Lc -93.2 Preferred for body text
Black text on #40488B 2.51:1 Fails Lc 15.4 Dividers and decoration only
#40488B text on white 8.34:1 AAA Lc 88.6 Fine for body text
#40488B text on black 2.51:1 Fails Lc -13.6 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F7

    oklch(93.6% 0.019 276.3)

  3. Step 200

    200

    #D2D8F1

    oklch(88.5% 0.035 274.9)

  4. Step 300

    300

    #B4BEEB

    oklch(80.9% 0.065 275.1)

  5. Step 400

    400

    #8F9BE1

    oklch(70.7% 0.103 276)

  6. Step 500

    500

    #7481D8

    oklch(63.1% 0.131 275.6)

  7. Step 600

    600

    #5E69C5

    oklch(55.7% 0.142 275.7)

  8. Step 700

    700

    #4D57AB

    oklch(49.2% 0.133 275.3)

  9. Step 800

    800 (this color)

    #40488B

    oklch(43% 0.11 275.6)

  10. Step 900

    900

    #353C6E

    oklch(37.6% 0.086 275.5)

  11. Step 950

    950

    #1F2441

    oklch(27.1% 0.054 274.8)

Export this scale for Tailwind in the Tailwind colors tool

#40488B 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)#2A518D0.033
Deuteranopia (no green cones)#224B8A0.035
Tritanopia (no blue cones)#1E57630.097
Achromatopsia (no color)#4E4E4E0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #40488B

    #40488B

    oklch(43% 0.11 275.6)

  • #5F4F00

    #5F4F00

    oklch(43.1% 0.089 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40488B

    #40488B

    oklch(43% 0.11 275.6)

  • #005387

    #005387

    oklch(42.8% 0.11 245.8)

  • #5F3D7F

    #5F3D7F

    oklch(43% 0.11 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #40488B

    #40488B

    oklch(43% 0.11 275.6)

  • #734300

    #734300

    oklch(43.1% 0.096 65.5)

  • #415900

    #415900

    oklch(42.8% 0.109 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40488B

    #40488B

    oklch(43% 0.11 275.6)

  • #813521

    #813521

    oklch(43% 0.11 35.8)

  • #006036

    #006036

    oklch(43% 0.105 155.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40488B

    #40488B

    oklch(43% 0.11 275.6)

  • #7F3147

    #7F3147

    oklch(42.9% 0.11 5.4)

  • #5F4F00

    #5F4F00

    oklch(43.1% 0.089 95.6)

  • #005D56

    #005D56

    oklch(43% 0.076 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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