#3A42A3

Closest named color: Blueberry (#464196). oklch(43.2% 0.155 274.3), rgb(58, 66, 163).

Aa

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

About this color

#3A42A3 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.155 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.027 away. White text reads best on it, at 8.44:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.155)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.48:1
White text8.44:1

Values

HEX#3A42A3
RGBrgb(58, 66, 163)
HSLhsl(235, 48%, 43%)
OKLCHoklch(43.2% 0.155 274.3)

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 #3A42A3 8.44:1 AAA Lc -93.3 Preferred for body text
Black text on #3A42A3 2.48:1 Fails Lc 15.3 Dividers and decoration only
#3A42A3 text on white 8.44:1 AAA Lc 88.7 Fine for body text
#3A42A3 text on black 2.48:1 Fails Lc -13.5 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FB

    oklch(88.5% 0.05 275.4)

  4. Step 300

    300

    #AEBDFB

    oklch(80.9% 0.089 273.7)

  5. Step 400

    400

    #8698FA

    oklch(70.8% 0.144 274.3)

  6. Step 500

    500

    #6A7AF7

    oklch(63% 0.185 274.3)

  7. Step 600

    600

    #555FE6

    oklch(55.6% 0.202 274.5)

  8. Step 700

    700

    #464EC8

    oklch(49.2% 0.187 274.4)

  9. Step 800

    800 (this color)

    #3A42A3

    oklch(43.2% 0.155 274.3)

  10. Step 900

    900

    #303880

    oklch(37.7% 0.12 274.3)

  11. Step 950

    950

    #1C224B

    oklch(27.1% 0.076 274)

Export this scale for Tailwind in the Tailwind colors tool

#3A42A3 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)#0052A60.052
Deuteranopia (no green cones)#0049A10.045
Tritanopia (no blue cones)#005A6C0.130
Achromatopsia (no color)#4D4D4D0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A42A3

    #3A42A3

    oklch(43.2% 0.155 274.3)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A42A3

    #3A42A3

    oklch(43.2% 0.155 274.3)

  • #005486

    #005486

    oklch(43% 0.107 244.6)

  • #643293

    #643293

    oklch(43.2% 0.154 304.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A42A3

    #3A42A3

    oklch(43.2% 0.155 274.3)

  • #744300

    #744300

    oklch(43.2% 0.097 64.9)

  • #445900

    #445900

    oklch(43.1% 0.107 123.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A42A3

    #3A42A3

    oklch(43.2% 0.155 274.3)

  • #922000

    #922000

    oklch(43.3% 0.154 34.4)

  • #006134

    #006134

    oklch(43.2% 0.108 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A42A3

    #3A42A3

    oklch(43.2% 0.155 274.3)

  • #8F1946

    #8F1946

    oklch(43.2% 0.155 4.3)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

  • #005E55

    #005E55

    oklch(43.3% 0.077 183.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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