#333187

Closest named color: Dark Slate Blue (#483D8B). oklch(37.1% 0.139 278.2), rgb(51, 49, 135).

Aa

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

About this color

#333187 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.139 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.049 away. White text reads best on it, at 10.88:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.92:1
White text10.88:1

Values

HEX#333187
RGBrgb(51, 49, 135)
HSLhsl(241, 47%, 36%)
OKLCHoklch(37.1% 0.139 278.2)

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 #333187 10.88:1 AAA Lc -98.7 Preferred for body text
Black text on #333187 1.92:1 Fails Lc 9.1 Not readable
#333187 text on white 10.88:1 AAA Lc 94.8 Preferred for body text
#333187 text on black 1.92:1 Fails Lc -7.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 900.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FF

    oklch(93.6% 0.031 279.9)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5D54F6

    oklch(55.6% 0.233 278.1)

  8. Step 700

    700

    #4E43D6

    oklch(49.2% 0.215 278.3)

  9. Step 800

    800

    #3F38AD

    oklch(42.6% 0.179 278.2)

  10. Step 900

    900 (this color)

    #333187

    oklch(37.1% 0.139 278.2)

  11. Step 950

    950

    #1E1F50

    oklch(27% 0.088 277.9)

Export this scale for Tailwind in the Tailwind colors tool

#333187 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)#00408A0.053
Deuteranopia (no green cones)#0039850.048
Tritanopia (no blue cones)#0046570.118
Achromatopsia (no color)#3D3D3D0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #333187

    #333187

    oklch(37.1% 0.139 278.2)

  • #4B4000

    #4B4000

    oklch(37.2% 0.077 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333187

    #333187

    oklch(37.1% 0.139 278.2)

  • #004272

    #004272

    oklch(37.1% 0.101 248.4)

  • #552377

    #552377

    oklch(37.2% 0.139 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #333187

    #333187

    oklch(37.1% 0.139 278.2)

  • #5C3600

    #5C3600

    oklch(37.1% 0.082 67.4)

  • #314900

    #314900

    oklch(37.2% 0.097 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333187

    #333187

    oklch(37.1% 0.139 278.2)

  • #722000

    #722000

    oklch(37.2% 0.121 38.3)

  • #004D2E

    #004D2E

    oklch(37% 0.086 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333187

    #333187

    oklch(37.1% 0.139 278.2)

  • #770B31

    #770B31

    oklch(37.1% 0.14 8.4)

  • #4B4000

    #4B4000

    oklch(37.2% 0.077 98.2)

  • #004B46

    #004B46

    oklch(37.2% 0.065 187.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #333187 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.