#3A5AB9

Closest named color: Mid Blue (#276AB3). oklch(49.7% 0.155 266.7), rgb(58, 90, 185).

Aa

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

About this color

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

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

Values

HEX#3A5AB9
RGBrgb(58, 90, 185)
HSLhsl(225, 52%, 48%)
OKLCHoklch(49.7% 0.155 266.7)

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 #3A5AB9 6.28:1 AA Lc -86.1 Fine for body text
Black text on #3A5AB9 3.34:1 AA large text Lc 23.1 Dividers and decoration only
#3A5AB9 text on white 6.28:1 AA Lc 80.9 Fine for body text
#3A5AB9 text on black 3.34:1 AA large text Lc -20.9 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

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ABC0F2

    oklch(80.9% 0.075 267)

  5. Step 400

    400

    #7E9EEB

    oklch(70.7% 0.119 266.2)

  6. Step 500

    500

    #5F83E5

    oklch(63% 0.153 266.8)

  7. Step 600

    600

    #476BD3

    oklch(55.7% 0.165 266.7)

  8. Step 700

    700 (this color)

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  9. Step 800

    800

    #2F4994

    oklch(42.8% 0.127 266.6)

  10. Step 900

    900

    #293E76

    oklch(37.8% 0.099 266.3)

  11. Step 950

    950

    #182445

    oklch(26.9% 0.064 267)

Export this scale for Tailwind in the Tailwind colors tool

#3A5AB9 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)#2066BC0.034
Deuteranopia (no green cones)#005BB70.035
Tritanopia (no blue cones)#0070810.125
Achromatopsia (no color)#6060600.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5AB9

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  • #7B5D00

    #7B5D00

    oklch(49.5% 0.101 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5AB9

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  • #006A97

    #006A97

    oklch(49.6% 0.108 236.5)

  • #6D49AE

    #6D49AE

    oklch(49.6% 0.155 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #3A5AB9

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  • #944D00

    #944D00

    oklch(49.7% 0.12 57)

  • #5F6A00

    #5F6A00

    oklch(49.8% 0.114 116.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5AB9

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  • #A9332E

    #A9332E

    oklch(49.8% 0.155 26.8)

  • #007727

    #007727

    oklch(49.6% 0.149 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5AB9

    #3A5AB9

    oklch(49.7% 0.155 266.7)

  • #A23164

    #A23164

    oklch(49.7% 0.155 356.7)

  • #7B5D00

    #7B5D00

    oklch(49.5% 0.101 86.6)

  • #007361

    #007361

    oklch(49.7% 0.092 176.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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