#3A5AB7

Closest named color: Mid Blue (#276AB3). oklch(49.5% 0.152 266.6), rgb(58, 90, 183).

Aa

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

About this color

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

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

Values

HEX#3A5AB7
RGBrgb(58, 90, 183)
HSLhsl(225, 52%, 47%)
OKLCHoklch(49.5% 0.152 266.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 #3A5AB7 6.31:1 AA Lc -86.2 Fine for body text
Black text on #3A5AB7 3.32:1 AA large text Lc 23.0 Dividers and decoration only
#3A5AB7 text on white 6.31:1 AA Lc 81.1 Fine for body text
#3A5AB7 text on black 3.32:1 AA large text Lc -20.8 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

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F1

    oklch(80.9% 0.073 266.7)

  5. Step 400

    400

    #7F9EEA

    oklch(70.7% 0.117 266.5)

  6. Step 500

    500

    #6084E4

    oklch(63.2% 0.15 266.7)

  7. Step 600

    600

    #476BD2

    oklch(55.6% 0.164 266.6)

  8. Step 700

    700 (this color)

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  9. Step 800

    800

    #2F4993

    oklch(42.7% 0.126 266.5)

  10. Step 900

    900

    #293E75

    oklch(37.7% 0.098 266.1)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A5AB7 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)#2366BA0.034
Deuteranopia (no green cones)#005AB50.036
Tritanopia (no blue cones)#0070800.124
Achromatopsia (no color)#6060600.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5AB7

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  • #7B5D00

    #7B5D00

    oklch(49.5% 0.101 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5AB7

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  • #006A97

    #006A97

    oklch(49.6% 0.108 236.5)

  • #6C4AAC

    #6C4AAC

    oklch(49.5% 0.151 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A5AB7

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  • #944C00

    #944C00

    oklch(49.5% 0.121 56.2)

  • #5E6900

    #5E6900

    oklch(49.4% 0.114 116.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5AB7

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  • #A7342F

    #A7342F

    oklch(49.5% 0.152 26.7)

  • #007726

    #007726

    oklch(49.6% 0.149 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5AB7

    #3A5AB7

    oklch(49.5% 0.152 266.6)

  • #A03264

    #A03264

    oklch(49.4% 0.152 356.2)

  • #7B5D00

    #7B5D00

    oklch(49.5% 0.101 86.6)

  • #007360

    #007360

    oklch(49.6% 0.093 175.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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