#3F406B

Closest named color: Dark Grey Blue (#29465B). oklch(39.1% 0.072 281.5), rgb(63, 64, 107).

Aa

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

About this color

#3F406B is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.072 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.048 away. White text reads best on it, at 9.73:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.15:1
White text9.73:1

Values

HEX#3F406B
RGBrgb(63, 64, 107)
HSLhsl(239, 26%, 33%)
OKLCHoklch(39.1% 0.072 281.5)

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 #3F406B 9.73:1 AAA Lc -96.7 Preferred for body text
Black text on #3F406B 2.15:1 Fails Lc 11.4 Not readable
#3F406B text on white 9.73:1 AAA Lc 92.5 Preferred for body text
#3F406B text on black 2.15:1 Fails Lc -9.9 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 900.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D5D7ED

    oklch(88.4% 0.03 281.6)

  4. Step 300

    300

    #BABDE4

    oklch(80.9% 0.055 281.6)

  5. Step 400

    400

    #979AD6

    oklch(70.6% 0.087 281.7)

  6. Step 500

    500

    #7E81CB

    oklch(63.2% 0.111 281)

  7. Step 600

    600

    #6869B8

    oklch(55.6% 0.121 281.2)

  8. Step 700

    700

    #57579E

    oklch(49.1% 0.112 281.5)

  9. Step 800

    800

    #474780

    oklch(42.6% 0.093 281.7)

  10. Step 900

    900 (this color)

    #3F406B

    oklch(39.1% 0.072 281.5)

  11. Step 950

    950

    #23233C

    oklch(26.9% 0.046 282.9)

Export this scale for Tailwind in the Tailwind colors tool

#3F406B 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)#32466D0.024
Deuteranopia (no green cones)#2F436A0.024
Tritanopia (no blue cones)#3248500.062
Achromatopsia (no color)#4444440.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F406B

    #3F406B

    oklch(39.1% 0.072 281.5)

  • #4D4610

    #4D4610

    oklch(39% 0.072 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F406B

    #3F406B

    oklch(39.1% 0.072 281.5)

  • #26476B

    #26476B

    oklch(39.1% 0.073 252)

  • #523961

    #523961

    oklch(39% 0.072 312)

Open the analogous palette in the generator

Split complementary

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

  • #3F406B

    #3F406B

    oklch(39.1% 0.072 281.5)

  • #5D3E12

    #5D3E12

    oklch(39.1% 0.072 71.7)

  • #374D22

    #374D22

    oklch(39.1% 0.072 131.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F406B

    #3F406B

    oklch(39.1% 0.072 281.5)

  • #653725

    #653725

    oklch(39% 0.072 41.8)

  • #185139

    #185139

    oklch(39.1% 0.072 161.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F406B

    #3F406B

    oklch(39.1% 0.072 281.5)

  • #66343B

    #66343B

    oklch(39.1% 0.072 12.1)

  • #4D4610

    #4D4610

    oklch(39% 0.072 101.7)

  • #00504E

    #00504E

    oklch(39% 0.067 191.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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