#3F508E

Closest named color: Twilight (#4E518B). oklch(44.8% 0.104 270.2), rgb(63, 80, 142).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.74:1
White text7.63:1

Values

HEX#3F508E
RGBrgb(63, 80, 142)
HSLhsl(227, 39%, 40%)
OKLCHoklch(44.8% 0.104 270.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 #3F508E 7.63:1 AAA Lc -91.2 Preferred for body text
Black text on #3F508E 2.74:1 Fails Lc 17.6 Dividers and decoration only
#3F508E text on white 7.63:1 AAA Lc 86.4 Fine for body text
#3F508E text on black 2.74:1 Fails Lc -15.7 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

    #D0D9F0

    oklch(88.6% 0.033 268.7)

  4. Step 300

    300

    #B1BFE9

    oklch(80.8% 0.061 270.5)

  5. Step 400

    400

    #899EDE

    oklch(70.8% 0.097 269.9)

  6. Step 500

    500

    #6D84D4

    oklch(63.1% 0.124 270.4)

  7. Step 600

    600

    #566CC2

    oklch(55.6% 0.136 270.7)

  8. Step 700

    700

    #465AA7

    oklch(49.1% 0.125 270.3)

  9. Step 800

    800 (this color)

    #3F508E

    oklch(44.8% 0.104 270.2)

  10. Step 900

    900

    #313E6C

    oklch(37.6% 0.081 270.3)

  11. Step 950

    950

    #1D253F

    oklch(27.1% 0.05 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#3F508E 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)#3657900.021
Deuteranopia (no green cones)#2C508D0.022
Tritanopia (no blue cones)#165E680.093
Achromatopsia (no color)#5353530.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F508E

    #3F508E

    oklch(44.8% 0.104 270.2)

  • #685200

    #685200

    oklch(44.8% 0.092 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F508E

    #3F508E

    oklch(44.8% 0.104 270.2)

  • #005B88

    #005B88

    oklch(44.9% 0.103 240.1)

  • #5E4685

    #5E4685

    oklch(44.9% 0.103 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #3F508E

    #3F508E

    oklch(44.8% 0.104 270.2)

  • #7D4402

    #7D4402

    oklch(44.7% 0.104 60.1)

  • #4E5D06

    #4E5D06

    oklch(45% 0.104 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F508E

    #3F508E

    oklch(44.8% 0.104 270.2)

  • #853B30

    #853B30

    oklch(44.8% 0.104 30.3)

  • #1E6434

    #1E6434

    oklch(44.7% 0.104 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F508E

    #3F508E

    oklch(44.8% 0.104 270.2)

  • #813952

    #813952

    oklch(44.8% 0.103 0.2)

  • #685200

    #685200

    oklch(44.8% 0.092 90.8)

  • #006357

    #006357

    oklch(44.8% 0.081 180.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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