#3F418B

Closest named color: Dark Slate Blue (#483D8B). oklch(41.5% 0.12 278.6), rgb(63, 65, 139).

Aa

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

About this color

#3F418B is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.120 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.017 away. White text reads best on it, at 8.97:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.34:1
White text8.97:1

Values

HEX#3F418B
RGBrgb(63, 65, 139)
HSLhsl(238, 38%, 40%)
OKLCHoklch(41.5% 0.12 278.6)

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 #3F418B 8.97:1 AAA Lc -94.8 Preferred for body text
Black text on #3F418B 2.34:1 Fails Lc 13.6 Not readable
#3F418B text on white 8.97:1 AAA Lc 90.4 Preferred for body text
#3F418B text on black 2.34:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D3D7F3

    oklch(88.5% 0.039 279.1)

  4. Step 300

    300

    #B6BDEE

    oklch(81% 0.07 278.4)

  5. Step 400

    400

    #9199E6

    oklch(70.7% 0.113 278.6)

  6. Step 500

    500

    #777EDE

    oklch(63.1% 0.143 278.3)

  7. Step 600

    600

    #6165CC

    oklch(55.6% 0.156 278.3)

  8. Step 700

    700

    #5153B1

    oklch(49.1% 0.146 278.6)

  9. Step 800

    800 (this color)

    #3F418B

    oklch(41.5% 0.12 278.6)

  10. Step 900

    900

    #373A72

    oklch(37.6% 0.094 278.5)

  11. Step 950

    950

    #202343

    oklch(27.1% 0.059 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#3F418B 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)#1A4C8E0.046
Deuteranopia (no green cones)#0F46890.049
Tritanopia (no blue cones)#1D525F0.106
Achromatopsia (no color)#4949490.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F418B

    #3F418B

    oklch(41.5% 0.12 278.6)

  • #584C00

    #584C00

    oklch(41.6% 0.086 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F418B

    #3F418B

    oklch(41.5% 0.12 278.6)

  • #004E86

    #004E86

    oklch(41.5% 0.114 248.7)

  • #5E357D

    #5E357D

    oklch(41.4% 0.121 308.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F418B

    #3F418B

    oklch(41.5% 0.12 278.6)

  • #6B4100

    #6B4100

    oklch(41.5% 0.091 68.9)

  • #395600

    #395600

    oklch(41.4% 0.109 128.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F418B

    #3F418B

    oklch(41.5% 0.12 278.6)

  • #7F2D10

    #7F2D10

    oklch(41.3% 0.12 38.3)

  • #005B37

    #005B37

    oklch(41.5% 0.097 158.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F418B

    #3F418B

    oklch(41.5% 0.12 278.6)

  • #7F283E

    #7F283E

    oklch(41.5% 0.121 8.8)

  • #584C00

    #584C00

    oklch(41.6% 0.086 98.8)

  • #005853

    #005853

    oklch(41.5% 0.072 188.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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