#3F5386

Closest named color: Dusk (#4E5481). oklch(45% 0.088 266.7), rgb(63, 83, 134).

Aa

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

About this color

#3F5386 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.088 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.023 away. White text reads best on it, at 7.51:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.79:1
White text7.51:1

Values

HEX#3F5386
RGBrgb(63, 83, 134)
HSLhsl(223, 36%, 39%)
OKLCHoklch(45% 0.088 266.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 #3F5386 7.51:1 AAA Lc -90.8 Preferred for body text
Black text on #3F5386 2.79:1 Fails Lc 18.0 Dividers and decoration only
#3F5386 text on white 7.51:1 AAA Lc 86.0 Fine for body text
#3F5386 text on black 2.79:1 Fails Lc -16.0 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 800.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B2C0E3

    oklch(80.9% 0.052 268)

  5. Step 400

    400

    #89A0D4

    oklch(70.8% 0.081 265.9)

  6. Step 500

    500

    #6C87C9

    oklch(63% 0.105 266.5)

  7. Step 600

    600

    #5570B6

    oklch(55.6% 0.114 266.8)

  8. Step 700

    700

    #455D9D

    oklch(49% 0.107 266.9)

  9. Step 800

    800 (this color)

    #3F5386

    oklch(45% 0.088 266.7)

  10. Step 900

    900

    #314066

    oklch(37.7% 0.068 266.8)

  11. Step 950

    950

    #1D263C

    oklch(27.1% 0.043 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#3F5386 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)#3F58880.014
Deuteranopia (no green cones)#3752850.011
Tritanopia (no blue cones)#1E5E660.079
Achromatopsia (no color)#5454540.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F5386

    #3F5386

    oklch(45% 0.088 266.7)

  • #6A510B

    #6A510B

    oklch(44.9% 0.087 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F5386

    #3F5386

    oklch(45% 0.088 266.7)

  • #175C7F

    #175C7F

    oklch(45% 0.087 236.2)

  • #5A4A80

    #5A4A80

    oklch(45% 0.088 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F5386

    #3F5386

    oklch(45% 0.088 266.7)

  • #79471F

    #79471F

    oklch(44.9% 0.087 56.5)

  • #525B1B

    #525B1B

    oklch(44.9% 0.087 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F5386

    #3F5386

    oklch(45% 0.088 266.7)

  • #7F403A

    #7F403A

    oklch(45% 0.088 26.8)

  • #316237

    #316237

    oklch(45% 0.087 146.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F5386

    #3F5386

    oklch(45% 0.088 266.7)

  • #7B3F56

    #7B3F56

    oklch(45% 0.088 356.9)

  • #6A510B

    #6A510B

    oklch(44.9% 0.087 86.6)

  • #006454

    #006454

    oklch(45% 0.084 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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