#333179

Closest named color: Dark Slate Blue (#483D8B). oklch(35.9% 0.119 279.8), rgb(51, 49, 121).

Aa

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

About this color

#333179 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.119 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.057 away. White text reads best on it, at 11.31:1.

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

Values

HEX#333179
RGBrgb(51, 49, 121)
HSLhsl(242, 42%, 33%)
OKLCHoklch(35.9% 0.119 279.8)

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 #333179 11.31:1 AAA Lc -99.6 Preferred for body text
Black text on #333179 1.85:1 Fails Lc 8.1 Not readable
#333179 text on white 11.31:1 AAA Lc 95.8 Preferred for body text
#333179 text on black 1.85: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B4BBFA

    oklch(80.9% 0.089 279.3)

  5. Step 400

    400

    #9095F8

    oklch(70.8% 0.143 279.9)

  6. Step 500

    500

    #7777F4

    oklch(63.2% 0.182 279.8)

  7. Step 600

    600

    #625CE3

    oklch(55.7% 0.199 279.8)

  8. Step 700

    700

    #514AC5

    oklch(49% 0.185 279.6)

  9. Step 800

    800

    #423E9F

    oklch(42.7% 0.152 279.6)

  10. Step 900

    900 (this color)

    #333179

    oklch(35.9% 0.119 279.8)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#333179 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)#003D7B0.052
Deuteranopia (no green cones)#0038780.050
Tritanopia (no blue cones)#1042500.103
Achromatopsia (no color)#3A3A3A0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #333179

    #333179

    oklch(35.9% 0.119 279.8)

  • #463D00

    #463D00

    oklch(35.8% 0.074 99.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333179

    #333179

    oklch(35.9% 0.119 279.8)

  • #003E6F

    #003E6F

    oklch(35.8% 0.101 250)

  • #50266B

    #50266B

    oklch(36% 0.119 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #333179

    #333179

    oklch(35.9% 0.119 279.8)

  • #563400

    #563400

    oklch(35.8% 0.078 69.9)

  • #2C4600

    #2C4600

    oklch(35.9% 0.096 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333179

    #333179

    oklch(35.9% 0.119 279.8)

  • #6B2000

    #6B2000

    oklch(35.9% 0.113 39.6)

  • #00492D

    #00492D

    oklch(35.8% 0.081 159.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333179

    #333179

    oklch(35.9% 0.119 279.8)

  • #6D172F

    #6D172F

    oklch(35.9% 0.12 9.5)

  • #463D00

    #463D00

    oklch(35.8% 0.074 99.9)

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

Similar named colors

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

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