#40488A

Closest named color: Blueberry (#464196). oklch(42.9% 0.108 275.6), rgb(64, 72, 138).

Aa

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

About this color

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

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

Values

HEX#40488A
RGBrgb(64, 72, 138)
HSLhsl(234, 37%, 40%)
OKLCHoklch(42.9% 0.108 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 #40488A 8.36:1 AAA Lc -93.3 Preferred for body text
Black text on #40488A 2.51:1 Fails Lc 15.3 Dividers and decoration only
#40488A text on white 8.36:1 AAA Lc 88.7 Fine for body text
#40488A text on black 2.51:1 Fails Lc -13.5 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

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F1

    oklch(88.5% 0.035 274.9)

  4. Step 300

    300

    #B5BEEA

    oklch(80.9% 0.063 275.9)

  5. Step 400

    400

    #8F9BE0

    oklch(70.7% 0.102 275.9)

  6. Step 500

    500

    #7481D7

    oklch(63.1% 0.13 275.5)

  7. Step 600

    600

    #5E69C4

    oklch(55.6% 0.14 275.7)

  8. Step 700

    700

    #4E57AA

    oklch(49.2% 0.131 275.8)

  9. Step 800

    800 (this color)

    #40488A

    oklch(42.9% 0.108 275.6)

  10. Step 900

    900

    #363C6E

    oklch(37.7% 0.085 276.3)

  11. Step 950

    950

    #1F2440

    oklch(27% 0.052 274.7)

Export this scale for Tailwind in the Tailwind colors tool

#40488A 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)#2B518C0.033
Deuteranopia (no green cones)#234B890.034
Tritanopia (no blue cones)#1F56620.095
Achromatopsia (no color)#4E4E4E0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #40488A

    #40488A

    oklch(42.9% 0.108 275.6)

  • #5E4F00

    #5E4F00

    oklch(43% 0.089 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40488A

    #40488A

    oklch(42.9% 0.108 275.6)

  • #025387

    #025387

    oklch(42.9% 0.109 246)

  • #5E3D7E

    #5E3D7E

    oklch(42.8% 0.109 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #40488A

    #40488A

    oklch(42.9% 0.108 275.6)

  • #724300

    #724300

    oklch(42.9% 0.095 66.2)

  • #415900

    #415900

    oklch(42.8% 0.109 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40488A

    #40488A

    oklch(42.9% 0.108 275.6)

  • #803522

    #803522

    oklch(42.9% 0.109 35.4)

  • #006036

    #006036

    oklch(43% 0.105 155.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40488A

    #40488A

    oklch(42.9% 0.108 275.6)

  • #7E3147

    #7E3147

    oklch(42.8% 0.109 5.1)

  • #5E4F00

    #5E4F00

    oklch(43% 0.089 96.5)

  • #005D55

    #005D55

    oklch(43% 0.076 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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