#3E4C8B

Closest named color: Twilight (#4E518B). oklch(43.7% 0.105 272), rgb(62, 76, 139).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.61:1
White text8.04:1

Values

HEX#3E4C8B
RGBrgb(62, 76, 139)
HSLhsl(229, 38%, 39%)
OKLCHoklch(43.7% 0.105 272)

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 #3E4C8B 8.04:1 AAA Lc -92.4 Preferred for body text
Black text on #3E4C8B 2.61:1 Fails Lc 16.3 Dividers and decoration only
#3E4C8B text on white 8.04:1 AAA Lc 87.7 Fine for body text
#3E4C8B text on black 2.61:1 Fails Lc -14.4 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

    #E5E9F6

    oklch(93.5% 0.018 272.3)

  3. Step 200

    200

    #D1D8F0

    oklch(88.4% 0.034 272.8)

  4. Step 300

    300

    #B2BFE9

    oklch(80.9% 0.061 271.5)

  5. Step 400

    400

    #8B9DDE

    oklch(70.7% 0.098 271.8)

  6. Step 500

    500

    #6F83D5

    oklch(63% 0.126 272)

  7. Step 600

    600

    #586BC2

    oklch(55.5% 0.136 272)

  8. Step 700

    700

    #4859A8

    oklch(49.1% 0.127 271.8)

  9. Step 800

    800 (this color)

    #3E4C8B

    oklch(43.7% 0.105 272)

  10. Step 900

    900

    #333E6D

    oklch(37.8% 0.082 272)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#3E4C8B 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)#31548D0.025
Deuteranopia (no green cones)#284D8A0.026
Tritanopia (no blue cones)#175A640.095
Achromatopsia (no color)#5050500.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E4C8B

    #3E4C8B

    oklch(43.7% 0.105 272)

  • #634F00

    #634F00

    oklch(43.6% 0.089 92)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E4C8B

    #3E4C8B

    oklch(43.7% 0.105 272)

  • #005785

    #005785

    oklch(43.7% 0.103 241.7)

  • #5D4281

    #5D4281

    oklch(43.8% 0.104 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #3E4C8B

    #3E4C8B

    oklch(43.7% 0.105 272)

  • #784300

    #784300

    oklch(43.8% 0.1 62.4)

  • #485A02

    #485A02

    oklch(43.7% 0.105 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E4C8B

    #3E4C8B

    oklch(43.7% 0.105 272)

  • #81382B

    #81382B

    oklch(43.6% 0.104 31.8)

  • #146233

    #146233

    oklch(43.8% 0.106 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E4C8B

    #3E4C8B

    oklch(43.7% 0.105 272)

  • #7F354D

    #7F354D

    oklch(43.7% 0.105 2.1)

  • #634F00

    #634F00

    oklch(43.6% 0.089 92)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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