#3A5AAC

Closest named color: Denim Blue (#3B5B92). oklch(48.7% 0.136 265.6), rgb(58, 90, 172).

Aa

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

About this color

#3A5AAC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.136 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.043 away. White text reads best on it, at 6.48:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.23:1
White text6.48:1

Values

HEX#3A5AAC
RGBrgb(58, 90, 172)
HSLhsl(223, 50%, 45%)
OKLCHoklch(48.7% 0.136 265.6)

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 #3A5AAC 6.48:1 AA Lc -87.0 Fine for body text
Black text on #3A5AAC 3.23:1 AA large text Lc 22.2 Dividers and decoration only
#3A5AAC text on white 6.48:1 AA Lc 81.9 Fine for body text
#3A5AAC text on black 3.23:1 AA large text Lc -20.0 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 700.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #ACC0EC

    oklch(80.8% 0.066 265.8)

  5. Step 400

    400

    #819FE3

    oklch(70.7% 0.106 265.6)

  6. Step 500

    500

    #6286DB

    oklch(63.2% 0.135 265.4)

  7. Step 600

    600

    #4A6EC8

    oklch(55.7% 0.145 265.5)

  8. Step 700

    700 (this color)

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  9. Step 800

    800

    #314B8C

    oklch(42.7% 0.112 265.5)

  10. Step 900

    900

    #2B3F70

    oklch(37.7% 0.088 265.7)

  11. Step 950

    950

    #192542

    oklch(27% 0.057 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A5AAC 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)#3064AF0.027
Deuteranopia (no green cones)#1959AA0.028
Tritanopia (no blue cones)#006D7A0.114
Achromatopsia (no color)#5E5E5E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5AAC

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  • #795A00

    #795A00

    oklch(48.7% 0.1 85.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5AAC

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  • #006892

    #006892

    oklch(48.8% 0.104 235.1)

  • #674CA3

    #674CA3

    oklch(48.8% 0.135 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A5AAC

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  • #914A00

    #914A00

    oklch(48.8% 0.119 56)

  • #5E6600

    #5E6600

    oklch(48.7% 0.11 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5AAC

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  • #9E3935

    #9E3935

    oklch(48.7% 0.135 25.7)

  • #1A7329

    #1A7329

    oklch(48.8% 0.137 145.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5AAC

    #3A5AAC

    oklch(48.7% 0.136 265.6)

  • #983863

    #983863

    oklch(48.8% 0.136 355.5)

  • #795A00

    #795A00

    oklch(48.7% 0.1 85.2)

  • #00705D

    #00705D

    oklch(48.7% 0.091 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 #3A5AAC, closest first.

Similar named colors

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

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