#3E52B5

Closest named color: Blue Blue (#2242C7). oklch(48% 0.158 270.7), rgb(62, 82, 181).

Aa

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

About this color

#3E52B5 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.158 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.059 away. White text reads best on it, at 6.82:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.158)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.07:1
White text6.82:1

Values

HEX#3E52B5
RGBrgb(62, 82, 181)
HSLhsl(230, 49%, 48%)
OKLCHoklch(48% 0.158 270.7)

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 #3E52B5 6.82:1 AA Lc -88.2 Fine for body text
Black text on #3E52B5 3.07:1 AA large text Lc 20.9 Dividers and decoration only
#3E52B5 text on white 6.82:1 AA Lc 83.2 Fine for body text
#3E52B5 text on black 3.07:1 AA large text Lc -18.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CED8F6

    oklch(88.4% 0.043 270.9)

  4. Step 300

    300

    #AEBFF3

    oklch(81% 0.076 270.6)

  5. Step 400

    400

    #849CED

    oklch(70.8% 0.122 270.5)

  6. Step 500

    500

    #6781E7

    oklch(63.2% 0.156 270.6)

  7. Step 600

    600

    #5068D5

    oklch(55.7% 0.169 270.7)

  8. Step 700

    700 (this color)

    #3E52B5

    oklch(48% 0.158 270.7)

  9. Step 800

    800

    #354695

    oklch(42.5% 0.131 270.8)

  10. Step 900

    900

    #2E3C77

    oklch(37.7% 0.102 270.8)

  11. Step 950

    950

    #1B2446

    oklch(27.1% 0.064 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E52B5 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)#0560B80.047
Deuteranopia (no green cones)#0056B30.041
Tritanopia (no blue cones)#006A7B0.132
Achromatopsia (no color)#5B5B5B0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E52B5

    #3E52B5

    oklch(48% 0.158 270.7)

  • #725A00

    #725A00

    oklch(47.8% 0.098 90.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E52B5

    #3E52B5

    oklch(48% 0.158 270.7)

  • #006496

    #006496

    oklch(48.1% 0.111 240.7)

  • #6E41A7

    #6E41A7

    oklch(48% 0.158 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #3E52B5

    #3E52B5

    oklch(48% 0.158 270.7)

  • #8A4C00

    #8A4C00

    oklch(48.1% 0.112 60.8)

  • #556600

    #556600

    oklch(47.9% 0.114 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E52B5

    #3E52B5

    oklch(48% 0.158 270.7)

  • #A42D1E

    #A42D1E

    oklch(48% 0.158 30.7)

  • #007134

    #007134

    oklch(48% 0.13 150.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E52B5

    #3E52B5

    oklch(48% 0.158 270.7)

  • #9F2959

    #9F2959

    oklch(48% 0.158 0.5)

  • #725A00

    #725A00

    oklch(47.8% 0.098 90.6)

  • #006D60

    #006D60

    oklch(47.9% 0.087 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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