#3C40A5

Closest named color: Blueberry (#464196). oklch(43.1% 0.159 275.7), rgb(60, 64, 165).

Aa

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

About this color

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

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

Values

HEX#3C40A5
RGBrgb(60, 64, 165)
HSLhsl(238, 47%, 44%)
OKLCHoklch(43.1% 0.159 275.7)

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 #3C40A5 8.50:1 AAA Lc -93.4 Preferred for body text
Black text on #3C40A5 2.46:1 Fails Lc 15.2 Dividers and decoration only
#3C40A5 text on white 8.50:1 AAA Lc 88.8 Fine for body text
#3C40A5 text on black 2.46:1 Fails Lc -13.4 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

    #AFBCFD

    oklch(80.9% 0.093 275.4)

  5. Step 400

    400

    #8896FC

    oklch(70.6% 0.149 276)

  6. Step 500

    500

    #6D78FA

    oklch(63.1% 0.191 275.8)

  7. Step 600

    600

    #585DE9

    oklch(55.6% 0.207 275.8)

  8. Step 700

    700

    #484BCB

    oklch(49.1% 0.194 275.6)

  9. Step 800

    800 (this color)

    #3C40A5

    oklch(43.1% 0.159 275.7)

  10. Step 900

    900

    #323782

    oklch(37.8% 0.124 275.8)

  11. Step 950

    950

    #1D214C

    oklch(27.1% 0.078 275.8)

Export this scale for Tailwind in the Tailwind colors tool

#3C40A5 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)#0051A80.055
Deuteranopia (no green cones)#0048A30.048
Tritanopia (no blue cones)#00596C0.134
Achromatopsia (no color)#4D4D4D0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #3C40A5

    #3C40A5

    oklch(43.1% 0.159 275.7)

  • #5F4F00

    #5F4F00

    oklch(43.1% 0.089 95.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3C40A5

    #3C40A5

    oklch(43.1% 0.159 275.7)

  • #005488

    #005488

    oklch(43.2% 0.11 245.5)

  • #662F94

    #662F94

    oklch(43.1% 0.16 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #3C40A5

    #3C40A5

    oklch(43.1% 0.159 275.7)

  • #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.

  • #3C40A5

    #3C40A5

    oklch(43.1% 0.159 275.7)

  • #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.

  • #3C40A5

    #3C40A5

    oklch(43.1% 0.159 275.7)

  • #911443

    #911443

    oklch(43.1% 0.159 5.8)

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

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

Similar named colors

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

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