#3A3EAC

Closest named color: Sapphire (#2138AB). oklch(43.2% 0.172 274.9), rgb(58, 62, 172).

Aa

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

About this color

#3A3EAC is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.172 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.036 away. White text reads best on it, at 8.52:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.172)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.46:1
White text8.52:1

Values

HEX#3A3EAC
RGBrgb(58, 62, 172)
HSLhsl(238, 50%, 45%)
OKLCHoklch(43.2% 0.172 274.9)

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 #3A3EAC 8.52:1 AAA Lc -93.4 Preferred for body text
Black text on #3A3EAC 2.46:1 Fails Lc 15.2 Dividers and decoration only
#3A3EAC text on white 8.52:1 AAA Lc 88.8 Fine for body text
#3A3EAC text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CED7FF

    oklch(88.5% 0.056 275.2)

  4. Step 300

    300

    #AEBCFF

    oklch(80.9% 0.096 274.9)

  5. Step 400

    400

    #8696FF

    oklch(70.7% 0.154 275.2)

  6. Step 500

    500

    #6A77FF

    oklch(63% 0.2 275)

  7. Step 600

    600

    #555AF2

    oklch(55.7% 0.223 275)

  8. Step 700

    700

    #4648D3

    oklch(49.1% 0.208 275)

  9. Step 800

    800 (this color)

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  10. Step 900

    900

    #303587

    oklch(37.6% 0.135 275.2)

  11. Step 950

    950

    #1C204F

    oklch(27% 0.085 275.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A3EAC 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)#0052B00.057
Deuteranopia (no green cones)#0047AA0.046
Tritanopia (no blue cones)#005A6F0.141
Achromatopsia (no color)#4C4C4C0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3EAC

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3EAC

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  • #005487

    #005487

    oklch(43.1% 0.109 245)

  • #672B9A

    #672B9A

    oklch(43.2% 0.172 304.8)

Open the analogous palette in the generator

Split complementary

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

  • #3A3EAC

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  • #744300

    #744300

    oklch(43.2% 0.097 64.9)

  • #435A00

    #435A00

    oklch(43.3% 0.109 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3EAC

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  • #912200

    #912200

    oklch(43.3% 0.151 35.1)

  • #006135

    #006135

    oklch(43.3% 0.107 155)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3EAC

    #3A3EAC

    oklch(43.2% 0.172 274.9)

  • #950344

    #950344

    oklch(43.2% 0.172 4.8)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

  • #005E56

    #005E56

    oklch(43.3% 0.076 184.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3A3EAC.

Similar named colors

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

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