#33317A

Closest named color: Dark Slate Blue (#483D8B). oklch(36% 0.121 279.7), rgb(51, 49, 122).

Aa

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

About this color

#33317A is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.121 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.056 away. White text reads best on it, at 11.28:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.86:1
White text11.28:1

Values

HEX#33317A
RGBrgb(51, 49, 122)
HSLhsl(242, 43%, 34%)
OKLCHoklch(36% 0.121 279.7)

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 #33317A 11.28:1 AAA Lc -99.5 Preferred for body text
Black text on #33317A 1.86:1 Fails Lc 8.2 Not readable
#33317A text on white 11.28:1 AAA Lc 95.7 Preferred for body text
#33317A text on black 1.86:1 Fails Lc 0.0 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B4BBFB

    oklch(80.9% 0.091 279.3)

  5. Step 400

    400

    #8F95F9

    oklch(70.8% 0.145 279.4)

  6. Step 500

    500

    #7676F5

    oklch(63% 0.185 279.7)

  7. Step 600

    600

    #615BE4

    oklch(55.5% 0.201 279.5)

  8. Step 700

    700

    #514AC6

    oklch(49.1% 0.186 279.5)

  9. Step 800

    800

    #423DA0

    oklch(42.6% 0.155 279.8)

  10. Step 900

    900 (this color)

    #33317A

    oklch(36% 0.121 279.7)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#33317A 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)#003D7C0.052
Deuteranopia (no green cones)#0038780.050
Tritanopia (no blue cones)#0E42500.104
Achromatopsia (no color)#3B3B3B0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #33317A

    #33317A

    oklch(36% 0.121 279.7)

  • #473D00

    #473D00

    oklch(35.9% 0.074 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #33317A

    #33317A

    oklch(36% 0.121 279.7)

  • #003F6F

    #003F6F

    oklch(36.1% 0.1 249.3)

  • #50256B

    #50256B

    oklch(35.9% 0.121 310)

Open the analogous palette in the generator

Split complementary

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

  • #33317A

    #33317A

    oklch(36% 0.121 279.7)

  • #573400

    #573400

    oklch(36% 0.078 69)

  • #2C4600

    #2C4600

    oklch(35.9% 0.096 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #33317A

    #33317A

    oklch(36% 0.121 279.7)

  • #6C2000

    #6C2000

    oklch(36.1% 0.115 39.4)

  • #004A2D

    #004A2D

    oklch(36.1% 0.083 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #33317A

    #33317A

    oklch(36% 0.121 279.7)

  • #6E172F

    #6E172F

    oklch(36.1% 0.121 9.7)

  • #473D00

    #473D00

    oklch(35.9% 0.074 98.8)

  • #004744

    #004744

    oklch(35.9% 0.062 190)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #33317A 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.