#3E408F

Closest named color: Blueberry (#464196). oklch(41.5% 0.128 278.2), rgb(62, 64, 143).

Aa

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

About this color

#3E408F is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.128 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.017 away. White text reads best on it, at 8.99:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.33:1
White text8.99:1

Values

HEX#3E408F
RGBrgb(62, 64, 143)
HSLhsl(239, 40%, 40%)
OKLCHoklch(41.5% 0.128 278.2)

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 #3E408F 8.99:1 AAA Lc -94.8 Preferred for body text
Black text on #3E408F 2.33:1 Fails Lc 13.6 Not readable
#3E408F text on white 8.99:1 AAA Lc 90.4 Preferred for body text
#3E408F text on black 2.33:1 Fails Lc -11.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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B5BCF1

    oklch(80.8% 0.075 278.7)

  5. Step 400

    400

    #9098EA

    oklch(70.6% 0.12 278.6)

  6. Step 500

    500

    #767DE4

    oklch(63.2% 0.153 278.1)

  7. Step 600

    600

    #6063D2

    oklch(55.5% 0.167 278.3)

  8. Step 700

    700

    #5052B5

    oklch(49.1% 0.153 278.3)

  9. Step 800

    800 (this color)

    #3E408F

    oklch(41.5% 0.128 278.2)

  10. Step 900

    900

    #373A75

    oklch(37.8% 0.099 278.3)

  11. Step 950

    950

    #202245

    oklch(27% 0.064 278.7)

Export this scale for Tailwind in the Tailwind colors tool

#3E408F 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)#104C920.050
Deuteranopia (no green cones)#00468D0.054
Tritanopia (no blue cones)#1552610.111
Achromatopsia (no color)#4949490.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E408F

    #3E408F

    oklch(41.5% 0.128 278.2)

  • #584B00

    #584B00

    oklch(41.3% 0.085 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E408F

    #3E408F

    oklch(41.5% 0.128 278.2)

  • #004E85

    #004E85

    oklch(41.4% 0.112 248.3)

  • #5F3380

    #5F3380

    oklch(41.4% 0.129 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #3E408F

    #3E408F

    oklch(41.5% 0.128 278.2)

  • #6B4100

    #6B4100

    oklch(41.5% 0.091 68.9)

  • #3A5600

    #3A5600

    oklch(41.5% 0.109 128.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E408F

    #3E408F

    oklch(41.5% 0.128 278.2)

  • #822A09

    #822A09

    oklch(41.4% 0.128 38.1)

  • #005B37

    #005B37

    oklch(41.5% 0.097 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E408F

    #3E408F

    oklch(41.5% 0.128 278.2)

  • #81243E

    #81243E

    oklch(41.4% 0.128 8)

  • #584B00

    #584B00

    oklch(41.3% 0.085 97.7)

  • #005853

    #005853

    oklch(41.5% 0.072 188.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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