#3F538E

Closest named color: Twilight (#4E518B). oklch(45.5% 0.1 268.2), rgb(63, 83, 142).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.83:1
White text7.39:1

Values

HEX#3F538E
RGBrgb(63, 83, 142)
HSLhsl(225, 39%, 40%)
OKLCHoklch(45.5% 0.1 268.2)

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 #3F538E 7.39:1 AAA Lc -90.4 Preferred for body text
Black text on #3F538E 2.83:1 Fails Lc 18.5 Dividers and decoration only
#3F538E text on white 7.39:1 AAA Lc 85.6 Fine for body text
#3F538E text on black 2.83:1 Fails Lc -16.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D9EF

    oklch(88.5% 0.032 268)

  4. Step 300

    300

    #B0C0E7

    oklch(80.9% 0.058 267.6)

  5. Step 400

    400

    #889FDB

    oklch(70.8% 0.092 267.9)

  6. Step 500

    500

    #6B86D2

    oklch(63.2% 0.119 268.1)

  7. Step 600

    600

    #536EBF

    oklch(55.6% 0.13 268.1)

  8. Step 700

    700

    #445BA5

    oklch(49% 0.122 268.6)

  9. Step 800

    800 (this color)

    #3F538E

    oklch(45.5% 0.1 268.2)

  10. Step 900

    900

    #303F6B

    oklch(37.7% 0.078 268.3)

  11. Step 950

    950

    #1C253F

    oklch(27% 0.05 268.4)

Export this scale for Tailwind in the Tailwind colors tool

#3F538E 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)#3B59900.017
Deuteranopia (no green cones)#31528D0.017
Tritanopia (no blue cones)#1560690.090
Achromatopsia (no color)#5656560.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F538E

    #3F538E

    oklch(45.5% 0.1 268.2)

  • #6C5300

    #6C5300

    oklch(45.5% 0.093 88.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F538E

    #3F538E

    oklch(45.5% 0.1 268.2)

  • #045D87

    #045D87

    oklch(45.4% 0.1 238.2)

  • #5E4986

    #5E4986

    oklch(45.5% 0.099 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F538E

    #3F538E

    oklch(45.5% 0.1 268.2)

  • #7F4611

    #7F4611

    oklch(45.5% 0.1 57.6)

  • #525E0E

    #525E0E

    oklch(45.6% 0.1 118.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F538E

    #3F538E

    oklch(45.5% 0.1 268.2)

  • #853E36

    #853E36

    oklch(45.4% 0.099 28.2)

  • #286535

    #286535

    oklch(45.4% 0.099 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F538E

    #3F538E

    oklch(45.5% 0.1 268.2)

  • #813C56

    #813C56

    oklch(45.4% 0.1 358)

  • #6C5300

    #6C5300

    oklch(45.5% 0.093 88.4)

  • #006657

    #006657

    oklch(45.7% 0.084 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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