#3A4476

Closest named color: Twilight Blue (#0A437A). oklch(40.3% 0.085 273.5), rgb(58, 68, 118).

Aa

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

About this color

#3A4476 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.085 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.047 away. White text reads best on it, at 9.25:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.25:1

Values

HEX#3A4476
RGBrgb(58, 68, 118)
HSLhsl(230, 34%, 35%)
OKLCHoklch(40.3% 0.085 273.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 #3A4476 9.25:1 AAA Lc -95.6 Preferred for body text
Black text on #3A4476 2.26:1 Fails Lc 12.7 Not readable
#3A4476 text on white 9.25:1 AAA Lc 91.2 Preferred for body text
#3A4476 text on black 2.26:1 Fails Lc -11.1 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B6BFE1

    oklch(80.9% 0.049 273.6)

  5. Step 400

    400

    #909ED3

    oklch(70.8% 0.079 272.8)

  6. Step 500

    500

    #7685C7

    oklch(63.2% 0.101 273.4)

  7. Step 600

    600

    #5F6DB4

    oklch(55.6% 0.111 273.8)

  8. Step 700

    700

    #4E5B9B

    oklch(49.1% 0.104 273.3)

  9. Step 800

    800 (this color)

    #3A4476

    oklch(40.3% 0.085 273.5)

  10. Step 900

    900

    #363F65

    oklch(37.8% 0.066 272.7)

  11. Step 950

    950

    #20253B

    oklch(27.1% 0.042 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A4476 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)#314A780.019
Deuteranopia (no green cones)#2B45750.020
Tritanopia (no blue cones)#224F570.077
Achromatopsia (no color)#4747470.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A4476

    #3A4476

    oklch(40.3% 0.085 273.5)

  • #584700

    #584700

    oklch(40.4% 0.083 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A4476

    #3A4476

    oklch(40.3% 0.085 273.5)

  • #154D73

    #154D73

    oklch(40.4% 0.085 243.2)

  • #523C6E

    #523C6E

    oklch(40.3% 0.085 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A4476

    #3A4476

    oklch(40.3% 0.085 273.5)

  • #683D0B

    #683D0B

    oklch(40.3% 0.085 63.6)

  • #3F5014

    #3F5014

    oklch(40.3% 0.086 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A4476

    #3A4476

    oklch(40.3% 0.085 273.5)

  • #6F3529

    #6F3529

    oklch(40.3% 0.085 33)

  • #1B5532

    #1B5532

    oklch(40.2% 0.084 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A4476

    #3A4476

    oklch(40.3% 0.085 273.5)

  • #6D3344

    #6D3344

    oklch(40.3% 0.084 3)

  • #584700

    #584700

    oklch(40.4% 0.083 93.2)

  • #00554C

    #00554C

    oklch(40.4% 0.072 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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