#3A518B

Closest named color: Dusk Blue (#26538D). oklch(44.6% 0.1 266.2), rgb(58, 81, 139).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.72:1
White text7.69:1

Values

HEX#3A518B
RGBrgb(58, 81, 139)
HSLhsl(223, 41%, 39%)
OKLCHoklch(44.6% 0.1 266.2)

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 #3A518B 7.69:1 AAA Lc -91.3 Preferred for body text
Black text on #3A518B 2.72:1 Fails Lc 17.4 Dividers and decoration only
#3A518B text on white 7.69:1 AAA Lc 86.6 Fine for body text
#3A518B text on black 2.72:1 Fails Lc -15.5 Dividers and decoration only

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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #CFD9EF

    oklch(88.4% 0.032 266.1)

  4. Step 300

    300

    #AFC0E7

    oklch(80.8% 0.058 266.6)

  5. Step 400

    400

    #859FDB

    oklch(70.6% 0.093 266)

  6. Step 500

    500

    #6886D2

    oklch(63.1% 0.12 266.7)

  7. Step 600

    600

    #506FBF

    oklch(55.7% 0.13 266.3)

  8. Step 700

    700

    #405CA5

    oklch(49% 0.122 266.2)

  9. Step 800

    800 (this color)

    #3A518B

    oklch(44.6% 0.1 266.2)

  10. Step 900

    900

    #2E406B

    oklch(37.8% 0.077 265.7)

  11. Step 950

    950

    #1B253F

    oklch(26.9% 0.051 267)

Export this scale for Tailwind in the Tailwind colors tool

#3A518B 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)#38578D0.017
Deuteranopia (no green cones)#2E508A0.015
Tritanopia (no blue cones)#025E670.090
Achromatopsia (no color)#5353530.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A518B

    #3A518B

    oklch(44.6% 0.1 266.2)

  • #6A5000

    #6A5000

    oklch(44.6% 0.091 86.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A518B

    #3A518B

    oklch(44.6% 0.1 266.2)

  • #005B82

    #005B82

    oklch(44.6% 0.096 236.3)

  • #5A4784

    #5A4784

    oklch(44.6% 0.099 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A518B

    #3A518B

    oklch(44.6% 0.1 266.2)

  • #7D4310

    #7D4310

    oklch(44.6% 0.1 56)

  • #525A05

    #525A05

    oklch(44.5% 0.099 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A518B

    #3A518B

    oklch(44.6% 0.1 266.2)

  • #823B36

    #823B36

    oklch(44.5% 0.099 25.9)

  • #296230

    #296230

    oklch(44.5% 0.1 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A518B

    #3A518B

    oklch(44.6% 0.1 266.2)

  • #7E3A56

    #7E3A56

    oklch(44.6% 0.1 356)

  • #6A5000

    #6A5000

    oklch(44.6% 0.091 86.9)

  • #006352

    #006352

    oklch(44.6% 0.084 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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