#3A3F7E

Closest named color: Dark Slate Blue (#483D8B). oklch(39.7% 0.105 277.1), rgb(58, 63, 126).

Aa

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

About this color

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

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

Values

HEX#3A3F7E
RGBrgb(58, 63, 126)
HSLhsl(236, 37%, 36%)
OKLCHoklch(39.7% 0.105 277.1)

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 #3A3F7E 9.57:1 AAA Lc -96.3 Preferred for body text
Black text on #3A3F7E 2.19:1 Fails Lc 11.9 Not readable
#3A3F7E text on white 9.57:1 AAA Lc 92.0 Preferred for body text
#3A3F7E text on black 2.19:1 Fails Lc -10.4 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D1D7F7

    oklch(88.5% 0.044 277.1)

  4. Step 300

    300

    #B3BDF4

    oklch(81% 0.079 276.5)

  5. Step 400

    400

    #8D98EE

    oklch(70.6% 0.126 277.1)

  6. Step 500

    500

    #737CE8

    oklch(63% 0.16 277.2)

  7. Step 600

    600

    #5D63D7

    oklch(55.7% 0.175 276.9)

  8. Step 700

    700

    #4D51BA

    oklch(49.1% 0.162 277)

  9. Step 800

    800

    #3F4396

    oklch(42.7% 0.134 277)

  10. Step 900

    900 (this color)

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  11. Step 950

    950

    #1F2246

    oklch(27% 0.066 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A3F7E 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)#2248800.035
Deuteranopia (no green cones)#1B427D0.036
Tritanopia (no blue cones)#1D4D580.093
Achromatopsia (no color)#4545450.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3F7E

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  • #534600

    #534600

    oklch(39.6% 0.082 97)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3F7E

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  • #004A7B

    #004A7B

    oklch(39.8% 0.104 246.7)

  • #563572

    #563572

    oklch(39.7% 0.105 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #3A3F7E

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  • #663C00

    #663C00

    oklch(39.8% 0.088 66.9)

  • #385000

    #385000

    oklch(39.7% 0.102 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3F7E

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  • #742E19

    #742E19

    oklch(39.7% 0.104 37.2)

  • #005632

    #005632

    oklch(39.9% 0.095 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3F7E

    #3A3F7E

    oklch(39.7% 0.105 277.1)

  • #732A3D

    #732A3D

    oklch(39.7% 0.104 7.1)

  • #534600

    #534600

    oklch(39.6% 0.082 97)

  • #00534D

    #00534D

    oklch(39.8% 0.07 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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