#3B51AB

Closest named color: Blueberry (#464196). oklch(46.8% 0.146 269.6), rgb(59, 81, 171).

Aa

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

About this color

#3B51AB is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.146 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.051 away. White text reads best on it, at 7.11:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.146)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.95:1
White text7.11:1

Values

HEX#3B51AB
RGBrgb(59, 81, 171)
HSLhsl(228, 49%, 45%)
OKLCHoklch(46.8% 0.146 269.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 #3B51AB 7.11:1 AAA Lc -89.3 Fine for body text
Black text on #3B51AB 2.95:1 Fails Lc 19.7 Dividers and decoration only
#3B51AB text on white 7.11:1 AAA Lc 84.4 Fine for body text
#3B51AB text on black 2.95:1 Fails Lc -17.6 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

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F4

    oklch(88.6% 0.039 269.4)

  4. Step 300

    300

    #AEBFEF

    oklch(80.8% 0.071 269.6)

  5. Step 400

    400

    #859DE7

    oklch(70.7% 0.112 269.7)

  6. Step 500

    500

    #6783E0

    oklch(63.2% 0.144 269.4)

  7. Step 600

    600

    #506ACE

    oklch(55.6% 0.157 269.7)

  8. Step 700

    700 (this color)

    #3B51AB

    oklch(46.8% 0.146 269.6)

  9. Step 800

    800

    #354890

    oklch(42.6% 0.121 269.6)

  10. Step 900

    900

    #2E3D73

    oklch(37.6% 0.094 269.8)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#3B51AB 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)#195DAE0.038
Deuteranopia (no green cones)#0053A90.040
Tritanopia (no blue cones)#0066760.122
Achromatopsia (no color)#5858580.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B51AB

    #3B51AB

    oklch(46.8% 0.146 269.6)

  • #6F5700

    #6F5700

    oklch(46.8% 0.096 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B51AB

    #3B51AB

    oklch(46.8% 0.146 269.6)

  • #00618F

    #00618F

    oklch(46.9% 0.106 239.2)

  • #68429F

    #68429F

    oklch(46.9% 0.146 299.6)

Open the analogous palette in the generator

Split complementary

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

  • #3B51AB

    #3B51AB

    oklch(46.8% 0.146 269.6)

  • #864800

    #864800

    oklch(46.8% 0.11 59.4)

  • #536200

    #536200

    oklch(46.7% 0.11 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B51AB

    #3B51AB

    oklch(46.8% 0.146 269.6)

  • #9C2F24

    #9C2F24

    oklch(46.9% 0.146 29.4)

  • #006D2E

    #006D2E

    oklch(46.7% 0.13 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B51AB

    #3B51AB

    oklch(46.8% 0.146 269.6)

  • #972C57

    #972C57

    oklch(46.8% 0.147 360)

  • #6F5700

    #6F5700

    oklch(46.8% 0.096 90.1)

  • #006A5C

    #006A5C

    oklch(47% 0.085 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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