#3A5E9B

Closest named color: Denim Blue (#3B5B92). oklch(48.5% 0.107 260.3), rgb(58, 94, 155).

Aa

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

About this color

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

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

Values

HEX#3A5E9B
RGBrgb(58, 94, 155)
HSLhsl(218, 46%, 42%)
OKLCHoklch(48.5% 0.107 260.3)

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 #3A5E9B 6.45:1 AA Lc -86.9 Fine for body text
Black text on #3A5E9B 3.25:1 AA large text Lc 22.2 Dividers and decoration only
#3A5E9B text on white 6.45:1 AA Lc 81.8 Fine for body text
#3A5E9B text on black 3.25:1 AA large text Lc -20.1 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #AEC2E3

    oklch(81% 0.052 260.4)

  5. Step 400

    400

    #83A2D5

    oklch(70.8% 0.083 260.2)

  6. Step 500

    500

    #638AC9

    oklch(63.1% 0.105 259.7)

  7. Step 600

    600

    #4A72B6

    oklch(55.5% 0.116 260.4)

  8. Step 700

    700 (this color)

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  9. Step 800

    800

    #314E7F

    oklch(42.6% 0.089 260.3)

  10. Step 900

    900

    #2C4166

    oklch(37.6% 0.069 261.2)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A5E9B 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)#44639D0.020
Deuteranopia (no green cones)#365A9A0.013
Tritanopia (no blue cones)#006C750.091
Achromatopsia (no color)#5E5E5E0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5E9B

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  • #7C5800

    #7C5800

    oklch(48.6% 0.1 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5E9B

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  • #00688B

    #00688B

    oklch(48.5% 0.097 230.3)

  • #5F5397

    #5F5397

    oklch(48.6% 0.107 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #3A5E9B

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  • #8E4A1F

    #8E4A1F

    oklch(48.5% 0.107 49.8)

  • #636400

    #636400

    oklch(48.6% 0.106 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5E9B

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  • #924345

    #924345

    oklch(48.5% 0.107 20.3)

  • #3B6D30

    #3B6D30

    oklch(48.4% 0.107 140.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5E9B

    #3A5E9B

    oklch(48.5% 0.107 260.3)

  • #8B4367

    #8B4367

    oklch(48.5% 0.107 350.5)

  • #7C5800

    #7C5800

    oklch(48.6% 0.1 81)

  • #007057

    #007057

    oklch(48.5% 0.096 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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