#333378

Closest named color: Twilight Blue (#0A437A). oklch(36.2% 0.115 279), rgb(51, 51, 120).

Aa

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

About this color

#333378 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.115 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.054 away. White text reads best on it, at 11.13:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.88:1
White text11.13:1

Values

HEX#333378
RGBrgb(51, 51, 120)
HSLhsl(240, 40%, 34%)
OKLCHoklch(36.2% 0.115 279)

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 #333378 11.13:1 AAA Lc -99.3 Preferred for body text
Black text on #333378 1.88:1 Fails Lc 8.4 Not readable
#333378 text on white 11.13:1 AAA Lc 95.5 Preferred for body text
#333378 text on black 1.88: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D7F9

    oklch(88.6% 0.047 278.8)

  4. Step 300

    300

    #B4BBF8

    oklch(80.8% 0.086 279.2)

  5. Step 400

    400

    #8F96F5

    oklch(70.8% 0.138 279)

  6. Step 500

    500

    #7679F1

    oklch(63.3% 0.176 279)

  7. Step 600

    600

    #605EDF

    oklch(55.6% 0.191 278.9)

  8. Step 700

    700

    #504CC2

    oklch(49.1% 0.179 279)

  9. Step 800

    800

    #413F9D

    oklch(42.6% 0.149 279)

  10. Step 900

    900 (this color)

    #333378

    oklch(36.2% 0.115 279)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#333378 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)#053E7A0.048
Deuteranopia (no green cones)#0039770.048
Tritanopia (no blue cones)#1143500.100
Achromatopsia (no color)#3B3B3B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #333378

    #333378

    oklch(36.2% 0.115 279)

  • #483E00

    #483E00

    oklch(36.3% 0.075 99)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333378

    #333378

    oklch(36.2% 0.115 279)

  • #00406F

    #00406F

    oklch(36.3% 0.099 248.5)

  • #4F286A

    #4F286A

    oklch(36.2% 0.114 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #333378

    #333378

    oklch(36.2% 0.115 279)

  • #583500

    #583500

    oklch(36.3% 0.079 69.5)

  • #2D4700

    #2D4700

    oklch(36.3% 0.097 129.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333378

    #333378

    oklch(36.2% 0.115 279)

  • #6D2001

    #6D2001

    oklch(36.2% 0.115 38.9)

  • #004B2D

    #004B2D

    oklch(36.4% 0.084 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333378

    #333378

    oklch(36.2% 0.115 279)

  • #6C1B31

    #6C1B31

    oklch(36.2% 0.114 8.9)

  • #483E00

    #483E00

    oklch(36.3% 0.075 99)

  • #004844

    #004844

    oklch(36.2% 0.063 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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