#3951A2

Closest named color: Dusk Blue (#26538D). oklch(46.1% 0.134 268.3), rgb(57, 81, 162).

Aa

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

About this color

#3951A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.134 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.041 away. White text reads best on it, at 7.31:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.87:1
White text7.31:1

Values

HEX#3951A2
RGBrgb(57, 81, 162)
HSLhsl(226, 48%, 43%)
OKLCHoklch(46.1% 0.134 268.3)

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 #3951A2 7.31:1 AAA Lc -90.0 Fine for body text
Black text on #3951A2 2.87:1 Fails Lc 18.9 Dividers and decoration only
#3951A2 text on white 7.31:1 AAA Lc 85.1 Fine for body text
#3951A2 text on black 2.87:1 Fails Lc -16.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AFC0EB

    oklch(80.9% 0.064 268.1)

  5. Step 400

    400

    #859EE2

    oklch(70.7% 0.104 268.2)

  6. Step 500

    500

    #6884D9

    oklch(63% 0.132 268.7)

  7. Step 600

    600

    #506CC7

    oklch(55.5% 0.145 268.5)

  8. Step 700

    700 (this color)

    #3951A2

    oklch(46.1% 0.134 268.3)

  9. Step 800

    800

    #354A8B

    oklch(42.7% 0.111 268)

  10. Step 900

    900

    #2E3E6F

    oklch(37.6% 0.086 268.4)

  11. Step 950

    950

    #1B2541

    oklch(27% 0.054 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#3951A2 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)#255BA50.030
Deuteranopia (no green cones)#0B52A00.035
Tritanopia (no blue cones)#0064720.113
Achromatopsia (no color)#5656560.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #3951A2

    #3951A2

    oklch(46.1% 0.134 268.3)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3951A2

    #3951A2

    oklch(46.1% 0.134 268.3)

  • #005F8A

    #005F8A

    oklch(46.1% 0.102 237.9)

  • #634398

    #634398

    oklch(46.1% 0.134 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #3951A2

    #3951A2

    oklch(46.1% 0.134 268.3)

  • #844600

    #844600

    oklch(46.1% 0.11 58.6)

  • #536000

    #536000

    oklch(46.2% 0.108 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3951A2

    #3951A2

    oklch(46.1% 0.134 268.3)

  • #94322A

    #94322A

    oklch(45.9% 0.133 28.1)

  • #006B29

    #006B29

    oklch(46% 0.132 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3951A2

    #3951A2

    oklch(46.1% 0.134 268.3)

  • #8F3057

    #8F3057

    oklch(46% 0.134 358.4)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #006758

    #006758

    oklch(46% 0.085 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3951A2 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.