#4045A4

Closest named color: Blueberry (#464196). oklch(44.2% 0.151 276.1), rgb(64, 69, 164).

Aa

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

About this color

#4045A4 is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.151 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.025 away. White text reads best on it, at 8.06:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.151)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.60:1
White text8.06:1

Values

HEX#4045A4
RGBrgb(64, 69, 164)
HSLhsl(237, 44%, 45%)
OKLCHoklch(44.2% 0.151 276.1)

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 #4045A4 8.06:1 AAA Lc -92.2 Preferred for body text
Black text on #4045A4 2.60:1 Fails Lc 16.4 Dividers and decoration only
#4045A4 text on white 8.06:1 AAA Lc 87.6 Fine for body text
#4045A4 text on black 2.60:1 Fails Lc -14.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B1BCFA

    oklch(80.9% 0.089 276.4)

  5. Step 400

    400

    #8997F7

    oklch(70.6% 0.141 275.9)

  6. Step 500

    500

    #6F7AF4

    oklch(63.2% 0.18 276.1)

  7. Step 600

    600

    #595FE2

    oklch(55.5% 0.195 276)

  8. Step 700

    700

    #4A4DC5

    oklch(49% 0.183 276.2)

  9. Step 800

    800 (this color)

    #4045A4

    oklch(44.2% 0.151 276.1)

  10. Step 900

    900

    #33387E

    oklch(37.7% 0.117 276.2)

  11. Step 950

    950

    #1D214A

    oklch(26.9% 0.075 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#4045A4 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)#0054A70.056
Deuteranopia (no green cones)#004CA20.051
Tritanopia (no blue cones)#005C6D0.131
Achromatopsia (no color)#5050500.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4045A4

    #4045A4

    oklch(44.2% 0.151 276.1)

  • #625200

    #625200

    oklch(44.2% 0.091 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4045A4

    #4045A4

    oklch(44.2% 0.151 276.1)

  • #00578E

    #00578E

    oklch(44.3% 0.114 246.1)

  • #683693

    #683693

    oklch(44.3% 0.149 305.9)

Open the analogous palette in the generator

Split complementary

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

  • #4045A4

    #4045A4

    oklch(44.2% 0.151 276.1)

  • #774600

    #774600

    oklch(44.2% 0.098 66)

  • #435D00

    #435D00

    oklch(44.1% 0.112 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4045A4

    #4045A4

    oklch(44.2% 0.151 276.1)

  • #942701

    #942701

    oklch(44.3% 0.15 36.2)

  • #006439

    #006439

    oklch(44.2% 0.107 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4045A4

    #4045A4

    oklch(44.2% 0.151 276.1)

  • #922046

    #922046

    oklch(44.3% 0.151 6.3)

  • #625200

    #625200

    oklch(44.2% 0.091 96)

  • #00615A

    #00615A

    oklch(44.3% 0.078 186.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4045A4 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.