#3A5181

Closest named color: Dusk Blue (#26538D). oklch(43.9% 0.085 263.8), rgb(58, 81, 129).

Aa

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

About this color

#3A5181 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.085 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.027 away. White text reads best on it, at 7.85:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.67:1
White text7.85:1

Values

HEX#3A5181
RGBrgb(58, 81, 129)
HSLhsl(221, 38%, 37%)
OKLCHoklch(43.9% 0.085 263.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 #3A5181 7.85:1 AAA Lc -91.9 Preferred for body text
Black text on #3A5181 2.67:1 Fails Lc 16.9 Dividers and decoration only
#3A5181 text on white 7.85:1 AAA Lc 87.1 Fine for body text
#3A5181 text on black 2.67:1 Fails Lc -15.0 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9EC

    oklch(88.4% 0.028 265.4)

  4. Step 300

    300

    #B0C1E1

    oklch(80.9% 0.049 263.1)

  5. Step 400

    400

    #87A1D3

    oklch(70.8% 0.079 263.2)

  6. Step 500

    500

    #6A88C7

    oklch(63% 0.102 264.2)

  7. Step 600

    600

    #5271B4

    oklch(55.6% 0.111 264.3)

  8. Step 700

    700

    #425F9A

    oklch(49.1% 0.101 263.3)

  9. Step 800

    800 (this color)

    #3A5181

    oklch(43.9% 0.085 263.8)

  10. Step 900

    900

    #2F4165

    oklch(37.8% 0.066 263.3)

  11. Step 950

    950

    #1C263B

    oklch(27% 0.042 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A5181 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)#3E55830.014
Deuteranopia (no green cones)#364F800.008
Tritanopia (no blue cones)#155B630.075
Achromatopsia (no color)#5252520.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5181

    #3A5181

    oklch(43.9% 0.085 263.8)

  • #684E0D

    #684E0D

    oklch(44% 0.084 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5181

    #3A5181

    oklch(43.9% 0.085 263.8)

  • #12597A

    #12597A

    oklch(43.9% 0.085 234.6)

  • #55487C

    #55487C

    oklch(43.8% 0.085 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A5181

    #3A5181

    oklch(43.9% 0.085 263.8)

  • #764421

    #764421

    oklch(43.9% 0.084 53.5)

  • #525718

    #525718

    oklch(43.9% 0.084 113.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5181

    #3A5181

    oklch(43.9% 0.085 263.8)

  • #7A3E3B

    #7A3E3B

    oklch(43.9% 0.084 24.1)

  • #335E33

    #335E33

    oklch(43.9% 0.084 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5181

    #3A5181

    oklch(43.9% 0.085 263.8)

  • #763D56

    #763D56

    oklch(43.9% 0.085 353.5)

  • #684E0D

    #684E0D

    oklch(44% 0.084 84.6)

  • #00614F

    #00614F

    oklch(44% 0.083 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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