#3D3F78

Closest named color: Dark Slate Blue (#483D8B). oklch(39.5% 0.095 279.6), rgb(61, 63, 120).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.18:1
White text9.63:1

Values

HEX#3D3F78
RGBrgb(61, 63, 120)
HSLhsl(238, 33%, 35%)
OKLCHoklch(39.5% 0.095 279.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 #3D3F78 9.63:1 AAA Lc -96.4 Preferred for body text
Black text on #3D3F78 2.18:1 Fails Lc 11.8 Not readable
#3D3F78 text on white 9.63:1 AAA Lc 92.2 Preferred for body text
#3D3F78 text on black 2.18:1 Fails Lc -10.2 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 900.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F8

    oklch(93.7% 0.02 279.9)

  3. Step 200

    200

    #D3D7F4

    oklch(88.5% 0.04 279.3)

  4. Step 300

    300

    #B7BCEF

    oklch(80.9% 0.072 280.3)

  5. Step 400

    400

    #9298E6

    oklch(70.6% 0.114 279.7)

  6. Step 500

    500

    #797DDF

    oklch(63.1% 0.145 279.6)

  7. Step 600

    600

    #6364CD

    oklch(55.6% 0.159 279.5)

  8. Step 700

    700

    #5252B1

    oklch(49% 0.147 279.5)

  9. Step 800

    800

    #43448F

    oklch(42.7% 0.121 279.4)

  10. Step 900

    900 (this color)

    #3D3F78

    oklch(39.5% 0.095 279.6)

  11. Step 950

    950

    #212243

    oklch(26.9% 0.061 280.2)

Export this scale for Tailwind in the Tailwind colors tool

#3D3F78 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)#28477A0.033
Deuteranopia (no green cones)#2343770.034
Tritanopia (no blue cones)#284B550.083
Achromatopsia (no color)#4545450.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D3F78

    #3D3F78

    oklch(39.5% 0.095 279.6)

  • #514700

    #514700

    oklch(39.6% 0.082 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D3F78

    #3D3F78

    oklch(39.5% 0.095 279.6)

  • #154977

    #154977

    oklch(39.6% 0.095 249.4)

  • #56366C

    #56366C

    oklch(39.5% 0.095 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #3D3F78

    #3D3F78

    oklch(39.5% 0.095 279.6)

  • #633D00

    #633D00

    oklch(39.6% 0.085 70.4)

  • #35500F

    #35500F

    oklch(39.5% 0.095 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D3F78

    #3D3F78

    oklch(39.5% 0.095 279.6)

  • #70311B

    #70311B

    oklch(39.5% 0.096 39.3)

  • #005535

    #005535

    oklch(39.7% 0.09 159.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D3F78

    #3D3F78

    oklch(39.5% 0.095 279.6)

  • #702D3B

    #702D3B

    oklch(39.6% 0.096 9.6)

  • #514700

    #514700

    oklch(39.6% 0.082 100.1)

  • #00524E

    #00524E

    oklch(39.6% 0.069 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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