#3A3A8E

Closest named color: Dark Slate Blue (#483D8B). oklch(39.9% 0.136 278.3), rgb(58, 58, 142).

Aa

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

About this color

#3A3A8E is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.136 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.026 away. White text reads best on it, at 9.65:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.17:1
White text9.65:1

Values

HEX#3A3A8E
RGBrgb(58, 58, 142)
HSLhsl(240, 42%, 39%)
OKLCHoklch(39.9% 0.136 278.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 #3A3A8E 9.65:1 AAA Lc -96.3 Preferred for body text
Black text on #3A3A8E 2.17:1 Fails Lc 11.9 Not readable
#3A3A8E text on white 9.65:1 AAA Lc 92.0 Preferred for body text
#3A3A8E text on black 2.17:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5E56F2

    oklch(55.6% 0.225 278.4)

  8. Step 700

    700

    #4E44D3

    oklch(49.1% 0.211 278.4)

  9. Step 800

    800

    #3F3AAB

    oklch(42.8% 0.174 278)

  10. Step 900

    900 (this color)

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  11. Step 950

    950

    #1E1F4F

    oklch(26.9% 0.086 278)

Export this scale for Tailwind in the Tailwind colors tool

#3A3A8E 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)#0048910.055
Deuteranopia (no green cones)#00418C0.052
Tritanopia (no blue cones)#054E5E0.118
Achromatopsia (no color)#4545450.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3A8E

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  • #534700

    #534700

    oklch(39.8% 0.082 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3A8E

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  • #004A7E

    #004A7E

    oklch(40% 0.108 248.1)

  • #5C2D7E

    #5C2D7E

    oklch(40% 0.135 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A3A8E

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  • #663D00

    #663D00

    oklch(40% 0.088 68.1)

  • #365100

    #365100

    oklch(39.8% 0.105 128.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3A8E

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  • #7E2400

    #7E2400

    oklch(39.9% 0.13 38.1)

  • #005634

    #005634

    oklch(39.9% 0.093 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3A8E

    #3A3A8E

    oklch(39.9% 0.136 278.3)

  • #7F1A39

    #7F1A39

    oklch(39.9% 0.136 8.2)

  • #534700

    #534700

    oklch(39.8% 0.082 98.2)

  • #00534F

    #00534F

    oklch(39.9% 0.069 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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