#371ED2

Closest named color: Majorelle Blue (#3F37C9). oklch(42.8% 0.247 274.4), rgb(55, 30, 210).

Aa

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

About this color

#371ED2 is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.247 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Majorelle Blue (#3F37C9), ΔE 0.040 away. White text reads best on it, at 9.21:1.

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

Values

HEX#371ED2
RGBrgb(55, 30, 210)
HSLhsl(248, 75%, 47%)
OKLCHoklch(42.8% 0.247 274.4)

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 #371ED2 9.21:1 AAA Lc -94.0 Preferred for body text
Black text on #371ED2 2.27:1 Fails Lc 14.5 Not readable
#371ED2 text on white 9.21:1 AAA Lc 89.5 Fine for body text
#371ED2 text on black 2.27:1 Fails Lc -12.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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  4. Step 300

    300

    #AEBCFF

    oklch(80.9% 0.096 274.9)

  5. Step 400

    400

    #8597FF

    oklch(70.8% 0.153 274.4)

  6. Step 500

    500

    #6978FF

    oklch(63.1% 0.199 274.4)

  7. Step 600

    600

    #5254FF

    oklch(55.7% 0.246 274.4)

  8. Step 700

    700

    #4422FF

    oklch(49.1% 0.289 274.4)

  9. Step 800

    800 (this color)

    #371ED2

    oklch(42.8% 0.247 274.4)

  10. Step 900

    900

    #2C25A4

    oklch(37.6% 0.193 274.4)

  11. Step 950

    950

    #191960

    oklch(27% 0.122 274.6)

Export this scale for Tailwind in the Tailwind colors tool

#371ED2 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)#004FD70.082
Deuteranopia (no green cones)#003FCF0.055
Tritanopia (no blue cones)#005B7D0.190
Achromatopsia (no color)#4848480.249

Harmonies

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

Complementary

The opposite hue (180°).

  • #371ED2

    #371ED2

    oklch(42.8% 0.247 274.4)

  • #5F4E00

    #5F4E00

    oklch(42.9% 0.088 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #371ED2

    #371ED2

    oklch(42.8% 0.247 274.4)

  • #005385

    #005385

    oklch(42.7% 0.107 244.8)

  • #6C00AE

    #6C00AE

    oklch(42.7% 0.223 304.2)

Open the analogous palette in the generator

Split complementary

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

  • #371ED2

    #371ED2

    oklch(42.8% 0.247 274.4)

  • #734200

    #734200

    oklch(42.9% 0.097 64.5)

  • #435800

    #435800

    oklch(42.7% 0.106 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #371ED2

    #371ED2

    oklch(42.8% 0.247 274.4)

  • #901F00

    #901F00

    oklch(42.8% 0.153 34.3)

  • #006033

    #006033

    oklch(42.9% 0.108 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #371ED2

    #371ED2

    oklch(42.8% 0.247 274.4)

  • #930043

    #930043

    oklch(42.7% 0.172 4.5)

  • #5F4E00

    #5F4E00

    oklch(42.9% 0.088 94.5)

  • #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 #371ED2, closest first.

No curated palette has a color within ΔE 0.04 of #371ED2.

Similar named colors

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

Use #371ED2 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.