#333A64

Closest named color: Prussian Blue (#1D3557). oklch(36.3% 0.073 275), rgb(51, 58, 100).

Aa

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

About this color

#333A64 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.073 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.042 away. White text reads best on it, at 10.88:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.93:1
White text10.88:1

Values

HEX#333A64
RGBrgb(51, 58, 100)
HSLhsl(231, 32%, 30%)
OKLCHoklch(36.3% 0.073 275)

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 #333A64 10.88:1 AAA Lc -99.0 Preferred for body text
Black text on #333A64 1.93:1 Fails Lc 8.8 Not readable
#333A64 text on white 10.88:1 AAA Lc 95.1 Preferred for body text
#333A64 text on black 1.93:1 Fails Lc -7.5 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D3D8EE

    oklch(88.5% 0.031 275.6)

  4. Step 300

    300

    #B6BFE5

    oklch(81% 0.055 274.7)

  5. Step 400

    400

    #909CD7

    oklch(70.6% 0.088 275.1)

  6. Step 500

    500

    #7683CD

    oklch(63.1% 0.112 275.1)

  7. Step 600

    600

    #5F6CBA

    oklch(55.7% 0.122 274.6)

  8. Step 700

    700

    #4F59A0

    oklch(49% 0.114 275.4)

  9. Step 800

    800

    #414982

    oklch(42.7% 0.095 275.6)

  10. Step 900

    900 (this color)

    #333A64

    oklch(36.3% 0.073 275)

  11. Step 950

    950

    #20243D

    oklch(26.9% 0.047 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#333A64 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)#2A3F660.018
Deuteranopia (no green cones)#263B630.018
Tritanopia (no blue cones)#21434A0.065
Achromatopsia (no color)#3D3D3D0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #333A64

    #333A64

    oklch(36.3% 0.073 275)

  • #4A3D02

    #4A3D02

    oklch(36.3% 0.073 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333A64

    #333A64

    oklch(36.3% 0.073 275)

  • #174162

    #174162

    oklch(36.3% 0.074 245.7)

  • #47335D

    #47335D

    oklch(36.3% 0.074 304.9)

Open the analogous palette in the generator

Split complementary

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

  • #333A64

    #333A64

    oklch(36.3% 0.073 275)

  • #58350C

    #58350C

    oklch(36.4% 0.073 65.1)

  • #354415

    #354415

    oklch(36.2% 0.072 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333A64

    #333A64

    oklch(36.3% 0.073 275)

  • #5E2E22

    #5E2E22

    oklch(36.2% 0.073 35.1)

  • #17492C

    #17492C

    oklch(36.3% 0.073 154.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333A64

    #333A64

    oklch(36.3% 0.073 275)

  • #5D2C39

    #5D2C39

    oklch(36.3% 0.073 4.5)

  • #4A3D02

    #4A3D02

    oklch(36.3% 0.073 95.1)

  • #004942

    #004942

    oklch(36.4% 0.065 184)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #333A64 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.