#3A42A5

Closest named color: Blueberry (#464196). oklch(43.3% 0.157 274.3), rgb(58, 66, 165).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.157)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.50:1
White text8.39:1

Values

HEX#3A42A5
RGBrgb(58, 66, 165)
HSLhsl(236, 48%, 44%)
OKLCHoklch(43.3% 0.157 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 #3A42A5 8.39:1 AAA Lc -93.1 Preferred for body text
Black text on #3A42A5 2.50:1 Fails Lc 15.5 Dividers and decoration only
#3A42A5 text on white 8.39:1 AAA Lc 88.5 Fine for body text
#3A42A5 text on black 2.50:1 Fails Lc -13.7 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

    #CED7FC

    oklch(88.4% 0.052 274.5)

  4. Step 300

    300

    #AEBDFD

    oklch(81% 0.092 274)

  5. Step 400

    400

    #8597FB

    oklch(70.6% 0.147 274.3)

  6. Step 500

    500

    #6A7AF9

    oklch(63.2% 0.188 274.3)

  7. Step 600

    600

    #545FE8

    oklch(55.7% 0.204 274.2)

  8. Step 700

    700

    #454DCA

    oklch(49.1% 0.191 274.2)

  9. Step 800

    800 (this color)

    #3A42A5

    oklch(43.3% 0.157 274.3)

  10. Step 900

    900

    #303881

    oklch(37.8% 0.122 274.3)

  11. Step 950

    950

    #1C214C

    oklch(27% 0.079 274.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A42A5 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)#0052A80.052
Deuteranopia (no green cones)#0049A30.045
Tritanopia (no blue cones)#005A6D0.130
Achromatopsia (no color)#4D4D4D0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A42A5

    #3A42A5

    oklch(43.3% 0.157 274.3)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A42A5

    #3A42A5

    oklch(43.3% 0.157 274.3)

  • #005587

    #005587

    oklch(43.3% 0.108 244.3)

  • #653195

    #653195

    oklch(43.3% 0.158 304.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A42A5

    #3A42A5

    oklch(43.3% 0.157 274.3)

  • #754300

    #754300

    oklch(43.4% 0.098 64.2)

  • #445A00

    #445A00

    oklch(43.3% 0.108 124.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A42A5

    #3A42A5

    oklch(43.3% 0.157 274.3)

  • #932000

    #932000

    oklch(43.4% 0.155 34.3)

  • #006134

    #006134

    oklch(43.2% 0.108 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A42A5

    #3A42A5

    oklch(43.3% 0.157 274.3)

  • #901746

    #901746

    oklch(43.2% 0.157 4.2)

  • #614F00

    #614F00

    oklch(43.3% 0.089 93.7)

  • #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 #3A42A5, closest first.

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

Similar named colors

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

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