#333B87

Closest named color: Dark Slate Blue (#483D8B). oklch(39.1% 0.126 274.5), rgb(51, 59, 135).

Aa

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

About this color

#333B87 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.126 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.035 away. White text reads best on it, at 9.92:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.11:1
White text9.92:1

Values

HEX#333B87
RGBrgb(51, 59, 135)
HSLhsl(234, 45%, 36%)
OKLCHoklch(39.1% 0.126 274.5)

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 #333B87 9.92:1 AAA Lc -96.9 Preferred for body text
Black text on #333B87 2.11:1 Fails Lc 11.2 Not readable
#333B87 text on white 9.92:1 AAA Lc 92.7 Preferred for body text
#333B87 text on black 2.11:1 Fails Lc -9.7 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

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED7FD

    oklch(88.4% 0.053 274.8)

  4. Step 300

    300

    #AEBCFE

    oklch(80.8% 0.095 274.8)

  5. Step 400

    400

    #8597FE

    oklch(70.7% 0.151 274.4)

  6. Step 500

    500

    #6A79FC

    oklch(63.2% 0.193 274.5)

  7. Step 600

    600

    #545DEB

    oklch(55.6% 0.211 274.5)

  8. Step 700

    700

    #454CCC

    oklch(49.1% 0.194 274.3)

  9. Step 800

    800

    #393FA5

    oklch(42.7% 0.161 274.7)

  10. Step 900

    900 (this color)

    #333B87

    oklch(39.1% 0.126 274.5)

  11. Step 950

    950

    #1C214D

    oklch(27.1% 0.08 274.8)

Export this scale for Tailwind in the Tailwind colors tool

#333B87 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)#05478A0.045
Deuteranopia (no green cones)#003F850.043
Tritanopia (no blue cones)#004D5B0.108
Achromatopsia (no color)#4343430.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #333B87

    #333B87

    oklch(39.1% 0.126 274.5)

  • #534400

    #534400

    oklch(39.1% 0.08 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333B87

    #333B87

    oklch(39.1% 0.126 274.5)

  • #004975

    #004975

    oklch(39.1% 0.097 244.3)

  • #552F7A

    #552F7A

    oklch(39.1% 0.125 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #333B87

    #333B87

    oklch(39.1% 0.126 274.5)

  • #653900

    #653900

    oklch(39% 0.088 64.1)

  • #3A4D00

    #3A4D00

    oklch(39% 0.097 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333B87

    #333B87

    oklch(39.1% 0.126 274.5)

  • #7A220D

    #7A220D

    oklch(39% 0.126 34.3)

  • #00542C

    #00542C

    oklch(39.1% 0.098 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333B87

    #333B87

    oklch(39.1% 0.126 274.5)

  • #781E3D

    #781E3D

    oklch(39.1% 0.126 4.3)

  • #534400

    #534400

    oklch(39.1% 0.08 94.6)

  • #00514A

    #00514A

    oklch(39.1% 0.069 184.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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