#3E4E87

Closest named color: Twilight (#4E518B). oklch(43.9% 0.096 270.2), rgb(62, 78, 135).

Aa

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

About this color

#3E4E87 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.096 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.026 away. White text reads best on it, at 7.94:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.64:1
White text7.94:1

Values

HEX#3E4E87
RGBrgb(62, 78, 135)
HSLhsl(227, 37%, 39%)
OKLCHoklch(43.9% 0.096 270.2)

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 #3E4E87 7.94:1 AAA Lc -92.1 Preferred for body text
Black text on #3E4E87 2.64:1 Fails Lc 16.6 Dividers and decoration only
#3E4E87 text on white 7.94:1 AAA Lc 87.4 Fine for body text
#3E4E87 text on black 2.64:1 Fails Lc -14.7 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B2C0E6

    oklch(81% 0.056 269.2)

  5. Step 400

    400

    #8B9ED9

    oklch(70.7% 0.089 270.3)

  6. Step 500

    500

    #6F85CF

    oklch(63.1% 0.115 270.3)

  7. Step 600

    600

    #586DBC

    oklch(55.6% 0.125 270.7)

  8. Step 700

    700

    #485BA2

    oklch(49.1% 0.116 270.4)

  9. Step 800

    800 (this color)

    #3E4E87

    oklch(43.9% 0.096 270.2)

  10. Step 900

    900

    #323F69

    oklch(37.7% 0.074 269.6)

  11. Step 950

    950

    #1D253E

    oklch(27% 0.048 269.5)

Export this scale for Tailwind in the Tailwind colors tool

#3E4E87 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)#3754890.018
Deuteranopia (no green cones)#2F4E860.019
Tritanopia (no blue cones)#1C5A640.085
Achromatopsia (no color)#5151510.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E4E87

    #3E4E87

    oklch(43.9% 0.096 270.2)

  • #654F00

    #654F00

    oklch(43.8% 0.09 90.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E4E87

    #3E4E87

    oklch(43.9% 0.096 270.2)

  • #0C5881

    #0C5881

    oklch(43.9% 0.095 239.8)

  • #5B447F

    #5B447F

    oklch(43.8% 0.097 300.4)

Open the analogous palette in the generator

Split complementary

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

  • #3E4E87

    #3E4E87

    oklch(43.9% 0.096 270.2)

  • #78430C

    #78430C

    oklch(43.8% 0.097 59.8)

  • #4B5910

    #4B5910

    oklch(43.7% 0.095 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E4E87

    #3E4E87

    oklch(43.9% 0.096 270.2)

  • #7F3B31

    #7F3B31

    oklch(43.9% 0.096 30)

  • #226135

    #226135

    oklch(44% 0.096 150.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E4E87

    #3E4E87

    oklch(43.9% 0.096 270.2)

  • #7C3950

    #7C3950

    oklch(44% 0.097 0.2)

  • #654F00

    #654F00

    oklch(43.8% 0.09 90.2)

  • #006054

    #006054

    oklch(43.8% 0.079 180.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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