#3B42A2

Closest named color: Blueberry (#464196). oklch(43.2% 0.153 274.8), rgb(59, 66, 162).

Aa

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

About this color

#3B42A2 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.153 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.025 away. White text reads best on it, at 8.44:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.153)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.48:1
White text8.44:1

Values

HEX#3B42A2
RGBrgb(59, 66, 162)
HSLhsl(236, 47%, 43%)
OKLCHoklch(43.2% 0.153 274.8)

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 #3B42A2 8.44:1 AAA Lc -93.3 Preferred for body text
Black text on #3B42A2 2.48:1 Fails Lc 15.3 Dividers and decoration only
#3B42A2 text on white 8.44:1 AAA Lc 88.7 Fine for body text
#3B42A2 text on black 2.48:1 Fails Lc -13.5 Not readable

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 800.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FB

    oklch(88.5% 0.05 275.4)

  4. Step 300

    300

    #AFBDFB

    oklch(81% 0.089 274.4)

  5. Step 400

    400

    #8798F9

    oklch(70.8% 0.143 274.7)

  6. Step 500

    500

    #6C7AF6

    oklch(63.1% 0.184 275)

  7. Step 600

    600

    #565FE4

    oklch(55.5% 0.199 274.9)

  8. Step 700

    700

    #474EC7

    oklch(49.2% 0.185 274.8)

  9. Step 800

    800 (this color)

    #3B42A2

    oklch(43.2% 0.153 274.8)

  10. Step 900

    900

    #31387F

    oklch(37.7% 0.119 274.9)

  11. Step 950

    950

    #1C214B

    oklch(26.9% 0.077 274.9)

Export this scale for Tailwind in the Tailwind colors tool

#3B42A2 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)#0052A50.053
Deuteranopia (no green cones)#0049A00.047
Tritanopia (no blue cones)#00596B0.129
Achromatopsia (no color)#4D4D4D0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #3B42A2

    #3B42A2

    oklch(43.2% 0.153 274.8)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3B42A2

    #3B42A2

    oklch(43.2% 0.153 274.8)

  • #005487

    #005487

    oklch(43.1% 0.109 245)

  • #643292

    #643292

    oklch(43.1% 0.153 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #3B42A2

    #3B42A2

    oklch(43.2% 0.153 274.8)

  • #744300

    #744300

    oklch(43.2% 0.097 64.9)

  • #435A00

    #435A00

    oklch(43.3% 0.109 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3B42A2

    #3B42A2

    oklch(43.2% 0.153 274.8)

  • #912100

    #912100

    oklch(43.2% 0.152 34.8)

  • #006135

    #006135

    oklch(43.3% 0.107 155)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3B42A2

    #3B42A2

    oklch(43.2% 0.153 274.8)

  • #8F1A45

    #8F1A45

    oklch(43.2% 0.153 5)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

  • #005D56

    #005D56

    oklch(43% 0.076 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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