#3A509D

Closest named color: Dusk Blue (#26538D). oklch(45.5% 0.128 268.9), rgb(58, 80, 157).

Aa

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

About this color

#3A509D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.128 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.036 away. White text reads best on it, at 7.46:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.81:1
White text7.46:1

Values

HEX#3A509D
RGBrgb(58, 80, 157)
HSLhsl(227, 46%, 42%)
OKLCHoklch(45.5% 0.128 268.9)

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 #3A509D 7.46:1 AAA Lc -90.5 Preferred for body text
Black text on #3A509D 2.81:1 Fails Lc 18.3 Dividers and decoration only
#3A509D text on white 7.46:1 AAA Lc 85.7 Fine for body text
#3A509D text on black 2.81:1 Fails Lc -16.4 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED9F5

    oklch(88.6% 0.04 268.5)

  4. Step 300

    300

    #ADBFF2

    oklch(80.9% 0.075 269.5)

  5. Step 400

    400

    #829DEB

    oklch(70.7% 0.119 268.7)

  6. Step 500

    500

    #6482E5

    oklch(63.1% 0.153 269)

  7. Step 600

    600

    #4C69D3

    oklch(55.5% 0.166 268.9)

  8. Step 700

    700

    #3E57B7

    oklch(49.1% 0.154 269.1)

  9. Step 800

    800 (this color)

    #3A509D

    oklch(45.5% 0.128 268.9)

  10. Step 900

    900

    #2C3D76

    oklch(37.7% 0.099 268.8)

  11. Step 950

    950

    #1A2445

    oklch(27% 0.063 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#3A509D 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)#295AA00.029
Deuteranopia (no green cones)#15519B0.033
Tritanopia (no blue cones)#00626F0.109
Achromatopsia (no color)#5555550.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A509D

    #3A509D

    oklch(45.5% 0.128 268.9)

  • #6C5300

    #6C5300

    oklch(45.5% 0.093 88.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A509D

    #3A509D

    oklch(45.5% 0.128 268.9)

  • #005D89

    #005D89

    oklch(45.5% 0.103 239)

  • #614393

    #614393

    oklch(45.5% 0.127 298.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A509D

    #3A509D

    oklch(45.5% 0.128 268.9)

  • #824500

    #824500

    oklch(45.6% 0.108 58.8)

  • #515E00

    #515E00

    oklch(45.5% 0.106 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A509D

    #3A509D

    oklch(45.5% 0.128 268.9)

  • #90342A

    #90342A

    oklch(45.5% 0.127 29.1)

  • #03692B

    #03692B

    oklch(45.5% 0.127 149)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A509D

    #3A509D

    oklch(45.5% 0.128 268.9)

  • #8C3155

    #8C3155

    oklch(45.5% 0.128 359)

  • #6C5300

    #6C5300

    oklch(45.5% 0.093 88.4)

  • #006658

    #006658

    oklch(45.7% 0.083 179)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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