#3A3E77

Closest named color: Dark Slate Blue (#483D8B). oklch(39% 0.095 278), rgb(58, 62, 119).

Aa

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

About this color

#3A3E77 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.095 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.041 away. White text reads best on it, at 9.83:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.13:1
White text9.83:1

Values

HEX#3A3E77
RGBrgb(58, 62, 119)
HSLhsl(236, 34%, 35%)
OKLCHoklch(39% 0.095 278)

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 #3A3E77 9.83:1 AAA Lc -96.8 Preferred for body text
Black text on #3A3E77 2.13:1 Fails Lc 11.3 Not readable
#3A3E77 text on white 9.83:1 AAA Lc 92.7 Preferred for body text
#3A3E77 text on black 2.13:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F4

    oklch(88.4% 0.04 277.8)

  4. Step 300

    300

    #B5BDEF

    oklch(80.9% 0.071 277.6)

  5. Step 400

    400

    #9099E7

    oklch(70.7% 0.114 278)

  6. Step 500

    500

    #767EE0

    oklch(63.1% 0.146 277.8)

  7. Step 600

    600

    #6065CE

    oklch(55.6% 0.159 277.8)

  8. Step 700

    700

    #5053B2

    oklch(49.1% 0.148 278.1)

  9. Step 800

    800

    #414490

    oklch(42.6% 0.123 278.1)

  10. Step 900

    900 (this color)

    #3A3E77

    oklch(39% 0.095 278)

  11. Step 950

    950

    #202343

    oklch(27.1% 0.059 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A3E77 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)#2646790.032
Deuteranopia (no green cones)#2141760.032
Tritanopia (no blue cones)#234A540.084
Achromatopsia (no color)#4343430.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3E77

    #3A3E77

    oklch(39% 0.095 278)

  • #514500

    #514500

    oklch(39.1% 0.081 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3E77

    #3A3E77

    oklch(39% 0.095 278)

  • #0E4875

    #0E4875

    oklch(39.1% 0.095 247.6)

  • #53356C

    #53356C

    oklch(39% 0.095 307.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A3E77

    #3A3E77

    oklch(39% 0.095 278)

  • #633B00

    #633B00

    oklch(39.2% 0.086 68)

  • #364E09

    #364E09

    oklch(39% 0.096 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3E77

    #3A3E77

    oklch(39% 0.095 278)

  • #6F2F1B

    #6F2F1B

    oklch(39% 0.096 37.8)

  • #005331

    #005331

    oklch(38.9% 0.091 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3E77

    #3A3E77

    oklch(39% 0.095 278)

  • #6E2C3B

    #6E2C3B

    oklch(39.1% 0.095 8.4)

  • #514500

    #514500

    oklch(39.1% 0.081 97.9)

  • #00504C

    #00504C

    oklch(38.9% 0.067 189)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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