#3F5186

Closest named color: Twilight (#4E518B). oklch(44.6% 0.09 268.4), rgb(63, 81, 134).

Aa

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

About this color

#3F5186 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.090 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.023 away. White text reads best on it, at 7.68:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.73:1
White text7.68:1

Values

HEX#3F5186
RGBrgb(63, 81, 134)
HSLhsl(225, 36%, 39%)
OKLCHoklch(44.6% 0.09 268.4)

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 #3F5186 7.68:1 AAA Lc -91.4 Preferred for body text
Black text on #3F5186 2.73:1 Fails Lc 17.4 Dividers and decoration only
#3F5186 text on white 7.68:1 AAA Lc 86.6 Fine for body text
#3F5186 text on black 2.73:1 Fails Lc -15.5 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

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B2C0E4

    oklch(80.9% 0.053 268.5)

  5. Step 400

    400

    #8A9FD6

    oklch(70.7% 0.084 268.1)

  6. Step 500

    500

    #6E86CB

    oklch(63.1% 0.108 268.6)

  7. Step 600

    600

    #566FB8

    oklch(55.6% 0.117 268.2)

  8. Step 700

    700

    #475C9E

    oklch(49% 0.109 268.8)

  9. Step 800

    800 (this color)

    #3F5186

    oklch(44.6% 0.09 268.4)

  10. Step 900

    900

    #323F67

    oklch(37.6% 0.071 269.2)

  11. Step 950

    950

    #1D253C

    oklch(26.9% 0.045 268.7)

Export this scale for Tailwind in the Tailwind colors tool

#3F5186 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)#3C56880.014
Deuteranopia (no green cones)#3450850.015
Tritanopia (no blue cones)#1F5C650.080
Achromatopsia (no color)#5353530.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F5186

    #3F5186

    oklch(44.6% 0.09 268.4)

  • #695002

    #695002

    oklch(44.5% 0.09 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F5186

    #3F5186

    oklch(44.6% 0.09 268.4)

  • #155A80

    #155A80

    oklch(44.5% 0.09 238.6)

  • #5B487F

    #5B487F

    oklch(44.6% 0.09 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #3F5186

    #3F5186

    oklch(44.6% 0.09 268.4)

  • #784619

    #784619

    oklch(44.5% 0.09 58.7)

  • #4F5B18

    #4F5B18

    oklch(44.6% 0.091 119)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F5186

    #3F5186

    oklch(44.6% 0.09 268.4)

  • #7F3F37

    #7F3F37

    oklch(44.7% 0.09 28.5)

  • #2C6237

    #2C6237

    oklch(44.7% 0.09 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F5186

    #3F5186

    oklch(44.6% 0.09 268.4)

  • #7B3D53

    #7B3D53

    oklch(44.6% 0.09 358.8)

  • #695002

    #695002

    oklch(44.5% 0.09 87.5)

  • #006354

    #006354

    oklch(44.7% 0.083 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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