#3A418E

Closest named color: Blueberry (#464196). oklch(41.3% 0.126 275.5), rgb(58, 65, 142).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.32:1
White text9.02:1

Values

HEX#3A418E
RGBrgb(58, 65, 142)
HSLhsl(235, 42%, 39%)
OKLCHoklch(41.3% 0.126 275.5)

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 #3A418E 9.02:1 AAA Lc -94.9 Preferred for body text
Black text on #3A418E 2.32:1 Fails Lc 13.5 Not readable
#3A418E text on white 9.02:1 AAA Lc 90.5 Preferred for body text
#3A418E text on black 2.32:1 Fails Lc -11.8 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D8F5

    oklch(88.6% 0.041 274.8)

  4. Step 300

    300

    #B3BDF1

    oklch(80.9% 0.074 276.1)

  5. Step 400

    400

    #8C9AEA

    oklch(70.8% 0.118 275.4)

  6. Step 500

    500

    #717FE3

    oklch(63.2% 0.15 275.3)

  7. Step 600

    600

    #5B66D1

    oklch(55.7% 0.163 275.4)

  8. Step 700

    700

    #4B54B5

    oklch(49.2% 0.152 275.3)

  9. Step 800

    800 (this color)

    #3A418E

    oklch(41.3% 0.126 275.5)

  10. Step 900

    900

    #343B75

    oklch(37.8% 0.098 275.5)

  11. Step 950

    950

    #1E2344

    oklch(27% 0.061 275)

Export this scale for Tailwind in the Tailwind colors tool

#3A418E 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)#134D910.045
Deuteranopia (no green cones)#00458C0.048
Tritanopia (no blue cones)#0253610.111
Achromatopsia (no color)#4949490.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A418E

    #3A418E

    oklch(41.3% 0.126 275.5)

  • #594A00

    #594A00

    oklch(41.2% 0.085 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A418E

    #3A418E

    oklch(41.3% 0.126 275.5)

  • #004F80

    #004F80

    oklch(41.4% 0.105 245.3)

  • #5C3581

    #5C3581

    oklch(41.4% 0.126 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A418E

    #3A418E

    oklch(41.3% 0.126 275.5)

  • #6C3F00

    #6C3F00

    oklch(41.3% 0.092 66)

  • #3E5400

    #3E5400

    oklch(41.2% 0.104 125.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A418E

    #3A418E

    oklch(41.3% 0.126 275.5)

  • #812912

    #812912

    oklch(41.2% 0.126 35.2)

  • #005B32

    #005B32

    oklch(41.4% 0.102 155.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A418E

    #3A418E

    oklch(41.3% 0.126 275.5)

  • #7F2541

    #7F2541

    oklch(41.2% 0.125 5.6)

  • #594A00

    #594A00

    oklch(41.2% 0.085 95.7)

  • #005851

    #005851

    oklch(41.4% 0.073 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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