#3B51C4

Closest named color: Warm Blue (#4B57DB). oklch(48.8% 0.18 270.1), rgb(59, 81, 196).

Aa

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

About this color

#3B51C4 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.180 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.045 away. White text reads best on it, at 6.64:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.180)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.16:1
White text6.64:1

Values

HEX#3B51C4
RGBrgb(59, 81, 196)
HSLhsl(230, 54%, 50%)
OKLCHoklch(48.8% 0.18 270.1)

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 #3B51C4 6.64:1 AA Lc -87.4 Fine for body text
Black text on #3B51C4 3.16:1 AA large text Lc 21.7 Dividers and decoration only
#3B51C4 text on white 6.64:1 AA Lc 82.3 Fine for body text
#3B51C4 text on black 3.16:1 AA large text Lc -19.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CCD8FA

    oklch(88.4% 0.049 270)

  4. Step 300

    300

    #ABBEFA

    oklch(80.9% 0.088 270.8)

  5. Step 400

    400

    #7F9BF7

    oklch(70.8% 0.139 269.8)

  6. Step 500

    500

    #617EF4

    oklch(63.1% 0.179 270.2)

  7. Step 600

    600

    #4A64E3

    oklch(55.6% 0.194 270.1)

  8. Step 700

    700 (this color)

    #3B51C4

    oklch(48.8% 0.18 270.1)

  9. Step 800

    800

    #31449F

    oklch(42.7% 0.149 270)

  10. Step 900

    900

    #2B3A7E

    oklch(37.6% 0.116 270.5)

  11. Step 950

    950

    #19234A

    oklch(27.1% 0.073 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#3B51C4 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)#0063C80.050
Deuteranopia (no green cones)#0056C20.037
Tritanopia (no blue cones)#006E820.147
Achromatopsia (no color)#5C5C5C0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B51C4

    #3B51C4

    oklch(48.8% 0.18 270.1)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B51C4

    #3B51C4

    oklch(48.8% 0.18 270.1)

  • #006698

    #006698

    oklch(48.7% 0.112 240.2)

  • #723DB4

    #723DB4

    oklch(48.8% 0.18 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #3B51C4

    #3B51C4

    oklch(48.8% 0.18 270.1)

  • #8D4D00

    #8D4D00

    oklch(48.7% 0.114 60.1)

  • #586900

    #586900

    oklch(48.9% 0.116 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B51C4

    #3B51C4

    oklch(48.8% 0.18 270.1)

  • #AF1F12

    #AF1F12

    oklch(48.8% 0.181 30)

  • #007433

    #007433

    oklch(48.9% 0.134 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B51C4

    #3B51C4

    oklch(48.8% 0.18 270.1)

  • #A91B5B

    #A91B5B

    oklch(48.7% 0.18 0.3)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

  • #007062

    #007062

    oklch(48.9% 0.089 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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