#3A3F7B

Closest named color: Dark Slate Blue (#483D8B). oklch(39.5% 0.1 277.2), rgb(58, 63, 123).

Aa

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

About this color

#3A3F7B is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.100 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.036 away. White text reads best on it, at 9.64:1.

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

Values

HEX#3A3F7B
RGBrgb(58, 63, 123)
HSLhsl(235, 36%, 35%)
OKLCHoklch(39.5% 0.1 277.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 #3A3F7B 9.64:1 AAA Lc -96.4 Preferred for body text
Black text on #3A3F7B 2.17:1 Fails Lc 11.8 Not readable
#3A3F7B text on white 9.64:1 AAA Lc 92.2 Preferred for body text
#3A3F7B text on black 2.17: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B4BDF1

    oklch(80.9% 0.074 277)

  5. Step 400

    400

    #8E99EB

    oklch(70.8% 0.12 277)

  6. Step 500

    500

    #747DE4

    oklch(63.1% 0.153 277.3)

  7. Step 600

    600

    #5E64D2

    oklch(55.6% 0.166 277.2)

  8. Step 700

    700

    #4E52B6

    oklch(49.1% 0.155 277.3)

  9. Step 800

    800

    #404493

    oklch(42.7% 0.128 277.4)

  10. Step 900

    900 (this color)

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  11. Step 950

    950

    #1F2245

    oklch(26.9% 0.064 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A3F7B 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)#25477D0.032
Deuteranopia (no green cones)#1E427A0.034
Tritanopia (no blue cones)#1F4C570.088
Achromatopsia (no color)#4545450.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3F7B

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  • #534600

    #534600

    oklch(39.6% 0.082 97)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3F7B

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  • #074979

    #074979

    oklch(39.5% 0.101 247.6)

  • #553570

    #553570

    oklch(39.5% 0.102 307.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A3F7B

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  • #653B00

    #653B00

    oklch(39.4% 0.088 66.4)

  • #375003

    #375003

    oklch(39.6% 0.101 127.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3F7B

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  • #722F1B

    #722F1B

    oklch(39.5% 0.1 37.2)

  • #005531

    #005531

    oklch(39.6% 0.094 156.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3F7B

    #3A3F7B

    oklch(39.5% 0.1 277.2)

  • #712B3D

    #712B3D

    oklch(39.5% 0.1 6.9)

  • #534600

    #534600

    oklch(39.6% 0.082 97)

  • #00524D

    #00524D

    oklch(39.5% 0.069 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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