#3E40AA

Closest named color: Blueberry (#464196). oklch(43.7% 0.166 276.3), rgb(62, 64, 170).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.166)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.51:1
White text8.33:1

Values

HEX#3E40AA
RGBrgb(62, 64, 170)
HSLhsl(239, 47%, 45%)
OKLCHoklch(43.7% 0.166 276.3)

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 #3E40AA 8.33:1 AAA Lc -92.9 Preferred for body text
Black text on #3E40AA 2.51:1 Fails Lc 15.7 Dividers and decoration only
#3E40AA text on white 8.33:1 AAA Lc 88.3 Fine for body text
#3E40AA text on black 2.51:1 Fails Lc -13.9 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

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #B0BCFF

    oklch(81% 0.096 276.2)

  5. Step 400

    400

    #8895FF

    oklch(70.6% 0.155 276.4)

  6. Step 500

    500

    #6E77FE

    oklch(63.2% 0.198 276.3)

  7. Step 600

    600

    #595AED

    oklch(55.5% 0.216 276.5)

  8. Step 700

    700

    #4949CE

    oklch(49.1% 0.2 276.1)

  9. Step 800

    800 (this color)

    #3E40AA

    oklch(43.7% 0.166 276.3)

  10. Step 900

    900

    #323684

    oklch(37.7% 0.129 276.1)

  11. Step 950

    950

    #1D204D

    oklch(26.9% 0.082 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E40AA 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)#0053AD0.059
Deuteranopia (no green cones)#0049A80.051
Tritanopia (no blue cones)#005A6F0.137
Achromatopsia (no color)#4E4E4E0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E40AA

    #3E40AA

    oklch(43.7% 0.166 276.3)

  • #605100

    #605100

    oklch(43.7% 0.09 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E40AA

    #3E40AA

    oklch(43.7% 0.166 276.3)

  • #00558B

    #00558B

    oklch(43.6% 0.113 246.2)

  • #692E97

    #692E97

    oklch(43.6% 0.166 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E40AA

    #3E40AA

    oklch(43.7% 0.166 276.3)

  • #754500

    #754500

    oklch(43.7% 0.097 66.3)

  • #425C00

    #425C00

    oklch(43.7% 0.112 126.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E40AA

    #3E40AA

    oklch(43.7% 0.166 276.3)

  • #912600

    #912600

    oklch(43.7% 0.148 36.4)

  • #006238

    #006238

    oklch(43.6% 0.105 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E40AA

    #3E40AA

    oklch(43.7% 0.166 276.3)

  • #950F43

    #950F43

    oklch(43.6% 0.166 6.2)

  • #605100

    #605100

    oklch(43.7% 0.09 96.7)

  • #005F58

    #005F58

    oklch(43.7% 0.077 186.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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