#3821CE

Closest named color: Majorelle Blue (#3F37C9). oklch(42.7% 0.241 275), rgb(56, 33, 206).

Aa

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

About this color

#3821CE is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.241 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Majorelle Blue (#3F37C9), ΔE 0.036 away. White text reads best on it, at 9.22:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.241)
Temperaturecool
Nearest nameMajorelle Blue (#3F37C9)
Black text2.27:1
White text9.22:1

Values

HEX#3821CE
RGBrgb(56, 33, 206)
HSLhsl(248, 72%, 47%)
OKLCHoklch(42.7% 0.241 275)

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 #3821CE 9.22:1 AAA Lc -94.2 Preferred for body text
Black text on #3821CE 2.27:1 Fails Lc 14.3 Not readable
#3821CE text on white 9.22:1 AAA Lc 89.7 Fine for body text
#3821CE text on black 2.27:1 Fails Lc -12.6 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  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

    #5353FF

    oklch(55.6% 0.247 274.8)

  8. Step 700

    700

    #4620FF

    oklch(49.1% 0.29 275)

  9. Step 800

    800 (this color)

    #3821CE

    oklch(42.7% 0.241 275)

  10. Step 900

    900

    #2E27A2

    oklch(37.8% 0.188 275.1)

  11. Step 950

    950

    #1A195F

    oklch(27% 0.12 275.4)

Export this scale for Tailwind in the Tailwind colors tool

#3821CE 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)#004FD30.081
Deuteranopia (no green cones)#0040CB0.056
Tritanopia (no blue cones)#005A7B0.186
Achromatopsia (no color)#4747470.243

Harmonies

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

Complementary

The opposite hue (180°).

  • #3821CE

    #3821CE

    oklch(42.7% 0.241 275)

  • #5E4E00

    #5E4E00

    oklch(42.8% 0.088 95.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3821CE

    #3821CE

    oklch(42.7% 0.241 275)

  • #005385

    #005385

    oklch(42.7% 0.107 244.8)

  • #6D00AC

    #6D00AC

    oklch(42.7% 0.221 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #3821CE

    #3821CE

    oklch(42.7% 0.241 275)

  • #724200

    #724200

    oklch(42.7% 0.096 65.1)

  • #425800

    #425800

    oklch(42.6% 0.107 124.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3821CE

    #3821CE

    oklch(42.7% 0.241 275)

  • #8E2100

    #8E2100

    oklch(42.6% 0.149 35.1)

  • #005F34

    #005F34

    oklch(42.6% 0.105 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3821CE

    #3821CE

    oklch(42.7% 0.241 275)

  • #930042

    #930042

    oklch(42.7% 0.171 5.1)

  • #5E4E00

    #5E4E00

    oklch(42.8% 0.088 95.4)

  • #005C54

    #005C54

    oklch(42.7% 0.075 184.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3821CE.

Similar named colors

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

Use #3821CE 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.