#333F68

Closest named color: Dark Grey Blue (#29465B). oklch(37.7% 0.072 270.3), rgb(51, 63, 104).

Aa

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

About this color

#333F68 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.072 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.037 away. White text reads best on it, at 10.23:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.05:1
White text10.23:1

Values

HEX#333F68
RGBrgb(51, 63, 104)
HSLhsl(226, 34%, 30%)
OKLCHoklch(37.7% 0.072 270.3)

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 #333F68 10.23:1 AAA Lc -97.7 Preferred for body text
Black text on #333F68 2.05:1 Fails Lc 10.3 Not readable
#333F68 text on white 10.23:1 AAA Lc 93.7 Preferred for body text
#333F68 text on black 2.05:1 Fails Lc -8.8 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D1D9EE

    oklch(88.6% 0.03 269.1)

  4. Step 300

    300

    #B3C0E5

    oklch(81% 0.054 269.9)

  5. Step 400

    400

    #8C9ED7

    oklch(70.7% 0.086 270.6)

  6. Step 500

    500

    #7085CD

    oklch(63.1% 0.111 270.6)

  7. Step 600

    600

    #596EB9

    oklch(55.6% 0.119 270.4)

  8. Step 700

    700

    #495BA0

    oklch(49% 0.113 270.8)

  9. Step 800

    800

    #3C4B81

    oklch(42.7% 0.092 270.4)

  10. Step 900

    900 (this color)

    #333F68

    oklch(37.7% 0.072 270.3)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#333F68 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)#30436A0.012
Deuteranopia (no green cones)#2A3F670.012
Tritanopia (no blue cones)#1E484E0.066
Achromatopsia (no color)#4141410.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #333F68

    #333F68

    oklch(37.7% 0.072 270.3)

  • #504008

    #504008

    oklch(37.8% 0.073 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333F68

    #333F68

    oklch(37.7% 0.072 270.3)

  • #164664

    #164664

    oklch(37.7% 0.072 240.3)

  • #483862

    #483862

    oklch(37.7% 0.072 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #333F68

    #333F68

    oklch(37.7% 0.072 270.3)

  • #5D3715

    #5D3715

    oklch(37.6% 0.072 59.4)

  • #3D4716

    #3D4716

    oklch(37.7% 0.072 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333F68

    #333F68

    oklch(37.7% 0.072 270.3)

  • #62322A

    #62322A

    oklch(37.7% 0.071 30.6)

  • #214C2D

    #214C2D

    oklch(37.6% 0.072 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333F68

    #333F68

    oklch(37.7% 0.072 270.3)

  • #603040

    #603040

    oklch(37.7% 0.072 359.9)

  • #504008

    #504008

    oklch(37.8% 0.073 91.4)

  • #004D43

    #004D43

    oklch(37.7% 0.068 180.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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