#3A5EB5

Closest named color: Mid Blue (#276AB3). oklch(50.2% 0.144 264.8), rgb(58, 94, 181).

Aa

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

About this color

#3A5EB5 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.144 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.035 away. White text reads best on it, at 6.09:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.144)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.44:1
White text6.09:1

Values

HEX#3A5EB5
RGBrgb(58, 94, 181)
HSLhsl(222, 51%, 47%)
OKLCHoklch(50.2% 0.144 264.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 #3A5EB5 6.09:1 AA Lc -85.3 Fine for body text
Black text on #3A5EB5 3.44:1 AA large text Lc 24.0 Dividers and decoration only
#3A5EB5 text on white 6.09:1 AA Lc 80.1 Fine for body text
#3A5EB5 text on black 3.44:1 AA large text Lc -21.7 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ABC1EF

    oklch(81% 0.07 264.9)

  5. Step 400

    400

    #7E9FE6

    oklch(70.7% 0.111 264.7)

  6. Step 500

    500

    #5E85DF

    oklch(63% 0.143 264.9)

  7. Step 600

    600

    #456DCD

    oklch(55.6% 0.155 264.8)

  8. Step 700

    700 (this color)

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  9. Step 800

    800

    #2E4B90

    oklch(42.9% 0.119 264.7)

  10. Step 900

    900

    #293F73

    oklch(37.8% 0.093 265)

  11. Step 950

    950

    #182543

    oklch(27% 0.059 265)

Export this scale for Tailwind in the Tailwind colors tool

#3A5EB5 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)#3068B80.027
Deuteranopia (no green cones)#135DB30.030
Tritanopia (no blue cones)#0072810.117
Achromatopsia (no color)#6262620.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #7F5E00

    #7F5E00

    oklch(50.2% 0.103 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #006C97

    #006C97

    oklch(50.1% 0.106 234.9)

  • #6B4FAC

    #6B4FAC

    oklch(50.3% 0.143 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #984C00

    #984C00

    oklch(50.1% 0.125 54.6)

  • #636B00

    #636B00

    oklch(50.4% 0.114 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #A63A38

    #A63A38

    oklch(50.2% 0.143 24.8)

  • #1B7827

    #1B7827

    oklch(50.2% 0.144 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #9F3968

    #9F3968

    oklch(50.2% 0.143 355)

  • #7F5E00

    #7F5E00

    oklch(50.2% 0.103 84.6)

  • #007560

    #007560

    oklch(50.2% 0.095 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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