#3F4C82

Closest named color: Twilight (#4E518B). oklch(43.2% 0.091 271.9), rgb(63, 76, 130).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.56:1
White text8.17:1

Values

HEX#3F4C82
RGBrgb(63, 76, 130)
HSLhsl(228, 35%, 38%)
OKLCHoklch(43.2% 0.091 271.9)

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 #3F4C82 8.17:1 AAA Lc -92.8 Preferred for body text
Black text on #3F4C82 2.56:1 Fails Lc 15.8 Dividers and decoration only
#3F4C82 text on white 8.17:1 AAA Lc 88.2 Fine for body text
#3F4C82 text on black 2.56:1 Fails Lc -14.0 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D2D8ED

    oklch(88.4% 0.03 273.1)

  4. Step 300

    300

    #B4BFE4

    oklch(80.8% 0.054 272.1)

  5. Step 400

    400

    #8E9ED6

    oklch(70.8% 0.084 271.8)

  6. Step 500

    500

    #7285CB

    oklch(63.1% 0.108 271.5)

  7. Step 600

    600

    #5B6DB8

    oklch(55.5% 0.118 271.9)

  8. Step 700

    700

    #4B5B9F

    oklch(49.1% 0.11 271.8)

  9. Step 800

    800 (this color)

    #3F4C82

    oklch(43.2% 0.091 271.9)

  10. Step 900

    900

    #343F67

    oklch(37.8% 0.07 271.1)

  11. Step 950

    950

    #1F253C

    oklch(27% 0.044 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#3F4C82 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)#3752840.019
Deuteranopia (no green cones)#304C810.019
Tritanopia (no blue cones)#2357600.081
Achromatopsia (no color)#4F4F4F0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F4C82

    #3F4C82

    oklch(43.2% 0.091 271.9)

  • #624E00

    #624E00

    oklch(43.2% 0.088 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F4C82

    #3F4C82

    oklch(43.2% 0.091 271.9)

  • #16557E

    #16557E

    oklch(43.2% 0.092 242.5)

  • #5A437A

    #5A437A

    oklch(43.2% 0.091 302)

Open the analogous palette in the generator

Split complementary

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

  • #3F4C82

    #3F4C82

    oklch(43.2% 0.091 271.9)

  • #734310

    #734310

    oklch(43.2% 0.091 61.7)

  • #485816

    #485816

    oklch(43.3% 0.091 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F4C82

    #3F4C82

    oklch(43.2% 0.091 271.9)

  • #7A3B2F

    #7A3B2F

    oklch(43.1% 0.091 32.2)

  • #215E36

    #215E36

    oklch(43.1% 0.091 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F4C82

    #3F4C82

    oklch(43.2% 0.091 271.9)

  • #78394C

    #78394C

    oklch(43.2% 0.09 2.5)

  • #624E00

    #624E00

    oklch(43.2% 0.088 91.8)

  • #005E53

    #005E53

    oklch(43.2% 0.078 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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