#3A3E9E

Closest named color: Blueberry (#464196). oklch(42% 0.153 275.8), rgb(58, 62, 158).

Aa

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

About this color

#3A3E9E is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.153 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.88:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.153)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.36:1
White text8.88:1

Values

HEX#3A3E9E
RGBrgb(58, 62, 158)
HSLhsl(238, 46%, 42%)
OKLCHoklch(42% 0.153 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 #3A3E9E 8.88:1 AAA Lc -94.4 Preferred for body text
Black text on #3A3E9E 2.36:1 Fails Lc 14.0 Not readable
#3A3E9E text on white 8.88:1 AAA Lc 89.9 Fine for body text
#3A3E9E text on black 2.36:1 Fails Lc -12.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

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300

    #B0BCFB

    oklch(80.9% 0.09 275.9)

  5. Step 400

    400

    #8997F9

    oklch(70.7% 0.144 275.9)

  6. Step 500

    500

    #6E7AF5

    oklch(63.2% 0.182 275.7)

  7. Step 600

    600

    #595FE4

    oklch(55.7% 0.198 275.9)

  8. Step 700

    700

    #494DC6

    oklch(49.1% 0.184 275.8)

  9. Step 800

    800 (this color)

    #3A3E9E

    oklch(42% 0.153 275.8)

  10. Step 900

    900

    #32387F

    oklch(37.7% 0.118 275.5)

  11. Step 950

    950

    #1D214A

    oklch(26.9% 0.075 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A3E9E 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)#004EA10.054
Deuteranopia (no green cones)#00469C0.048
Tritanopia (no blue cones)#0056680.129
Achromatopsia (no color)#4A4A4A0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3E9E

    #3A3E9E

    oklch(42% 0.153 275.8)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3E9E

    #3A3E9E

    oklch(42% 0.153 275.8)

  • #005183

    #005183

    oklch(42.1% 0.107 245.3)

  • #622E8D

    #622E8D

    oklch(42% 0.153 306)

Open the analogous palette in the generator

Split complementary

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

  • #3A3E9E

    #3A3E9E

    oklch(42% 0.153 275.8)

  • #6F4100

    #6F4100

    oklch(42.1% 0.094 66.1)

  • #3F5700

    #3F5700

    oklch(42.1% 0.107 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3E9E

    #3A3E9E

    oklch(42% 0.153 275.8)

  • #8A2200

    #8A2200

    oklch(41.9% 0.144 35.8)

  • #005D34

    #005D34

    oklch(42% 0.103 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3E9E

    #3A3E9E

    oklch(42% 0.153 275.8)

  • #8B1540

    #8B1540

    oklch(42% 0.153 6.1)

  • #5B4C00

    #5B4C00

    oklch(41.9% 0.086 96)

  • #005A53

    #005A53

    oklch(42.1% 0.074 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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