#3E42A4

Closest named color: Blueberry (#464196). oklch(43.5% 0.155 276.1), rgb(62, 66, 164).

Aa

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

About this color

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

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

Values

HEX#3E42A4
RGBrgb(62, 66, 164)
HSLhsl(238, 45%, 44%)
OKLCHoklch(43.5% 0.155 276.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 #3E42A4 8.33:1 AAA Lc -93.0 Preferred for body text
Black text on #3E42A4 2.52:1 Fails Lc 15.6 Dividers and decoration only
#3E42A4 text on white 8.33:1 AAA Lc 88.4 Fine for body text
#3E42A4 text on black 2.52:1 Fails Lc -13.8 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

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D0D7FB

    oklch(88.5% 0.05 276.6)

  4. Step 300

    300

    #B0BCFB

    oklch(80.9% 0.09 275.9)

  5. Step 400

    400

    #8997FA

    oklch(70.8% 0.145 276)

  6. Step 500

    500

    #6E79F7

    oklch(63.1% 0.186 276)

  7. Step 600

    600

    #595EE6

    oklch(55.6% 0.202 276)

  8. Step 700

    700

    #4A4CC8

    oklch(49.1% 0.188 276.3)

  9. Step 800

    800 (this color)

    #3E42A4

    oklch(43.5% 0.155 276.1)

  10. Step 900

    900

    #323780

    oklch(37.6% 0.121 275.9)

  11. Step 950

    950

    #1D214B

    oklch(27% 0.077 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#3E42A4 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)#0052A70.056
Deuteranopia (no green cones)#004AA20.050
Tritanopia (no blue cones)#005A6C0.132
Achromatopsia (no color)#4E4E4E0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #3E42A4

    #3E42A4

    oklch(43.5% 0.155 276.1)

  • #605000

    #605000

    oklch(43.5% 0.089 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3E42A4

    #3E42A4

    oklch(43.5% 0.155 276.1)

  • #00558B

    #00558B

    oklch(43.6% 0.113 246.2)

  • #673293

    #673293

    oklch(43.6% 0.155 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #3E42A4

    #3E42A4

    oklch(43.5% 0.155 276.1)

  • #744400

    #744400

    oklch(43.4% 0.097 65.9)

  • #425B00

    #425B00

    oklch(43.5% 0.11 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3E42A4

    #3E42A4

    oklch(43.5% 0.155 276.1)

  • #912500

    #912500

    oklch(43.5% 0.149 36)

  • #006238

    #006238

    oklch(43.6% 0.105 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3E42A4

    #3E42A4

    oklch(43.5% 0.155 276.1)

  • #911A44

    #911A44

    oklch(43.6% 0.155 6.1)

  • #605000

    #605000

    oklch(43.5% 0.089 95.7)

  • #005F58

    #005F58

    oklch(43.7% 0.077 186.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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