#3C40A4

Closest named color: Blueberry (#464196). oklch(43% 0.158 275.8), rgb(60, 64, 164).

Aa

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

About this color

#3C40A4 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.158 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.53:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.158)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.46:1
White text8.53:1

Values

HEX#3C40A4
RGBrgb(60, 64, 164)
HSLhsl(238, 46%, 44%)
OKLCHoklch(43% 0.158 275.8)

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 #3C40A4 8.53:1 AAA Lc -93.5 Preferred for body text
Black text on #3C40A4 2.46:1 Fails Lc 15.1 Dividers and decoration only
#3C40A4 text on white 8.53:1 AAA Lc 88.9 Fine for body text
#3C40A4 text on black 2.46:1 Fails Lc -13.3 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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FC

    oklch(88.5% 0.052 275.7)

  4. Step 300

    300

    #B0BCFD

    oklch(80.9% 0.093 276)

  5. Step 400

    400

    #8896FB

    oklch(70.6% 0.148 276)

  6. Step 500

    500

    #6D79F9

    oklch(63.2% 0.189 275.6)

  7. Step 600

    600

    #585DE8

    oklch(55.6% 0.206 275.8)

  8. Step 700

    700

    #494CCA

    oklch(49.2% 0.191 275.8)

  9. Step 800

    800 (this color)

    #3C40A4

    oklch(43% 0.158 275.8)

  10. Step 900

    900

    #323781

    oklch(37.7% 0.123 275.9)

  11. Step 950

    950

    #1D214C

    oklch(27.1% 0.078 275.8)

Export this scale for Tailwind in the Tailwind colors tool

#3C40A4 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)#0051A70.056
Deuteranopia (no green cones)#0048A20.049
Tritanopia (no blue cones)#00596B0.134
Achromatopsia (no color)#4C4C4C0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #3C40A4

    #3C40A4

    oklch(43% 0.158 275.8)

  • #5F4F00

    #5F4F00

    oklch(43.1% 0.089 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3C40A4

    #3C40A4

    oklch(43% 0.158 275.8)

  • #005488

    #005488

    oklch(43.2% 0.11 245.5)

  • #662F93

    #662F93

    oklch(43% 0.159 306)

Open the analogous palette in the generator

Split complementary

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

  • #3C40A4

    #3C40A4

    oklch(43% 0.158 275.8)

  • #734300

    #734300

    oklch(43.1% 0.096 65.5)

  • #415A00

    #415A00

    oklch(43.1% 0.11 126)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3C40A4

    #3C40A4

    oklch(43% 0.158 275.8)

  • #8F2400

    #8F2400

    oklch(43.1% 0.148 35.9)

  • #006036

    #006036

    oklch(43% 0.105 155.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3C40A4

    #3C40A4

    oklch(43% 0.158 275.8)

  • #901543

    #901543

    oklch(43% 0.158 5.7)

  • #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 #3C40A4, closest first.

No curated palette has a color within ΔE 0.04 of #3C40A4.

Similar named colors

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

Use #3C40A4 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.