#333C49

Closest named color: Onyx (#343A40). oklch(35.3% 0.026 257.5), rgb(51, 60, 73).

Aa

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

About this color

#333C49 is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.015 away. White text reads best on it, at 11.15:1.

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.88:1
White text11.15:1

Values

HEX#333C49
RGBrgb(51, 60, 73)
HSLhsl(215, 18%, 24%)
OKLCHoklch(35.3% 0.026 257.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 #333C49 11.15:1 AAA Lc -99.6 Preferred for body text
Black text on #333C49 1.88:1 Fails Lc 8.1 Not readable
#333C49 text on white 11.15:1 AAA Lc 95.8 Preferred for body text
#333C49 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #B9C1CD

    oklch(80.8% 0.019 258.4)

  5. Step 400

    400

    #95A2B4

    oklch(70.8% 0.03 256.5)

  6. Step 500

    500

    #7B8BA2

    oklch(63.2% 0.039 257.4)

  7. Step 600

    600

    #64748D

    oklch(55.5% 0.044 259.2)

  8. Step 700

    700

    #536278

    oklch(49.2% 0.04 257.9)

  9. Step 800

    800

    #445061

    oklch(42.8% 0.032 257.1)

  10. Step 900

    900 (this color)

    #333C49

    oklch(35.3% 0.026 257.5)

  11. Step 950

    950

    #21272F

    oklch(27% 0.017 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#333C49 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)#383D4A0.009
Deuteranopia (no green cones)#353A490.007
Tritanopia (no blue cones)#2D3F400.023
Achromatopsia (no color)#3B3B3B0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #333C49

    #333C49

    oklch(35.3% 0.026 257.5)

  • #433A2C

    #433A2C

    oklch(35.4% 0.026 78.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333C49

    #333C49

    oklch(35.3% 0.026 257.5)

  • #2D3E46

    #2D3E46

    oklch(35.2% 0.026 228.5)

  • #3A3948

    #3A3948

    oklch(35.2% 0.026 288)

Open the analogous palette in the generator

Split complementary

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

  • #333C49

    #333C49

    oklch(35.3% 0.026 257.5)

  • #473730

    #473730

    oklch(35.2% 0.026 44.8)

  • #3D3D2D

    #3D3D2D

    oklch(35.5% 0.026 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333C49

    #333C49

    oklch(35.3% 0.026 257.5)

  • #483636

    #483636

    oklch(35.3% 0.026 18.5)

  • #353F32

    #353F32

    oklch(35.4% 0.026 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333C49

    #333C49

    oklch(35.3% 0.026 257.5)

  • #46363E

    #46363E

    oklch(35.3% 0.026 347)

  • #433A2C

    #433A2C

    oklch(35.4% 0.026 78.7)

  • #2E4039

    #2E4039

    oklch(35.4% 0.026 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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