#335144

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40.7% 0.042 165.4), rgb(51, 81, 68).

Aa

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

About this color

#335144 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.042 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.022 away. White text reads best on it, at 8.74:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.042)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.40:1
White text8.74:1

Values

HEX#335144
RGBrgb(51, 81, 68)
HSLhsl(154, 23%, 26%)
OKLCHoklch(40.7% 0.042 165.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 #335144 8.74:1 AAA Lc -94.4 Preferred for body text
Black text on #335144 2.40:1 Fails Lc 14.1 Not readable
#335144 text on white 8.74:1 AAA Lc 89.9 Fine for body text
#335144 text on black 2.40:1 Fails Lc -12.4 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 800.

  1. Step 50

    50

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E6EBE9

    oklch(93.6% 0.006 170.4)

  3. Step 200

    200

    #D1DCD7

    oklch(88.5% 0.014 167.1)

  4. Step 300

    300

    #B3C6BD

    oklch(80.9% 0.024 165.7)

  5. Step 400

    400

    #8AA99B

    oklch(70.7% 0.04 166.1)

  6. Step 500

    500

    #6D9482

    oklch(63.2% 0.051 164.7)

  7. Step 600

    600

    #547E6C

    oklch(55.7% 0.055 165.8)

  8. Step 700

    700

    #446A5A

    oklch(49.1% 0.051 166.1)

  9. Step 800

    800 (this color)

    #335144

    oklch(40.7% 0.042 165.4)

  10. Step 900

    900

    #31473D

    oklch(37.6% 0.032 164.9)

  11. Step 950

    950

    #1D2A24

    oklch(27.1% 0.021 164.8)

Export this scale for Tailwind in the Tailwind colors tool

#335144 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)#504D430.042
Deuteranopia (no green cones)#4B49450.042
Tritanopia (no blue cones)#2C514D0.016
Achromatopsia (no color)#4B4B4B0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #335144

    #335144

    oklch(40.7% 0.042 165.4)

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335144

    #335144

    oklch(40.7% 0.042 165.4)

  • #404F38

    #404F38

    oklch(40.8% 0.042 134.9)

  • #2C5151

    #2C5151

    oklch(40.7% 0.043 195.6)

Open the analogous palette in the generator

Split complementary

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

  • #335144

    #335144

    oklch(40.7% 0.042 165.4)

  • #524359

    #524359

    oklch(40.7% 0.041 314.9)

  • #5E4042

    #5E4042

    oklch(40.6% 0.042 14.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335144

    #335144

    oklch(40.7% 0.042 165.4)

  • #474660

    #474660

    oklch(40.6% 0.043 286.1)

  • #5D4236

    #5D4236

    oklch(40.6% 0.043 45)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335144

    #335144

    oklch(40.7% 0.042 165.4)

  • #3A4B60

    #3A4B60

    oklch(40.7% 0.042 254)

  • #5B404F

    #5B404F

    oklch(40.7% 0.044 344.8)

  • #57462F

    #57462F

    oklch(40.6% 0.042 74.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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