#333754

Closest named color: Prussian Blue (#1D3557). oklch(34.7% 0.051 277.4), rgb(51, 55, 84).

Aa

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

About this color

#333754 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.051 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.033 away. White text reads best on it, at 11.56:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.051)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.81:1
White text11.56:1

Values

HEX#333754
RGBrgb(51, 55, 84)
HSLhsl(233, 24%, 26%)
OKLCHoklch(34.7% 0.051 277.4)

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 #333754 11.56:1 AAA Lc -100.3 Preferred for body text
Black text on #333754 1.81:1 Fails Lc 0.0 Not readable
#333754 text on white 11.56:1 AAA Lc 96.6 Preferred for body text
#333754 text on black 1.81: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #BABFDA

    oklch(80.9% 0.038 277.2)

  5. Step 400

    400

    #979EC7

    oklch(70.8% 0.06 277.2)

  6. Step 500

    500

    #7D85B9

    oklch(63% 0.079 277.1)

  7. Step 600

    600

    #676EA5

    oklch(55.5% 0.086 277.7)

  8. Step 700

    700

    #565C8D

    oklch(49.1% 0.079 277.7)

  9. Step 800

    800

    #464B73

    oklch(42.6% 0.067 277.7)

  10. Step 900

    900 (this color)

    #333754

    oklch(34.7% 0.051 277.4)

  11. Step 950

    950

    #222536

    oklch(27% 0.032 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#333754 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)#2E3A550.011
Deuteranopia (no green cones)#2C38530.011
Tritanopia (no blue cones)#2A3D410.046
Achromatopsia (no color)#3939390.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #333754

    #333754

    oklch(34.7% 0.051 277.4)

  • #413A18

    #413A18

    oklch(34.7% 0.052 97.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333754

    #333754

    oklch(34.7% 0.051 277.4)

  • #233C53

    #233C53

    oklch(34.7% 0.051 247.5)

  • #41324E

    #41324E

    oklch(34.6% 0.051 308.4)

Open the analogous palette in the generator

Split complementary

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

  • #333754

    #333754

    oklch(34.7% 0.051 277.4)

  • #4B341B

    #4B341B

    oklch(34.6% 0.051 67.1)

  • #323F21

    #323F21

    oklch(34.7% 0.052 128)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333754

    #333754

    oklch(34.7% 0.051 277.4)

  • #513026

    #513026

    oklch(34.7% 0.052 37.6)

  • #21422F

    #21422F

    oklch(34.8% 0.052 157.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333754

    #333754

    oklch(34.7% 0.051 277.4)

  • #502E35

    #502E35

    oklch(34.6% 0.051 6.7)

  • #413A18

    #413A18

    oklch(34.7% 0.052 97.9)

  • #12423E

    #12423E

    oklch(34.6% 0.051 187.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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