#335A5C

Closest named color: Petrol (#005F6A). oklch(44% 0.044 199.9), rgb(51, 90, 92).

Aa

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

About this color

#335A5C is a dark, muted teal or cyan. In OKLCH its lightness is 44%, its chroma 0.044 and its hue 200°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.034 away. White text reads best on it, at 7.61:1.

Hue familyTeals and cyans
Lightnessdark (44%)
Chromamuted (0.044)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.75:1
White text7.61:1

Values

HEX#335A5C
RGBrgb(51, 90, 92)
HSLhsl(183, 29%, 28%)
OKLCHoklch(44% 0.044 199.9)

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 #335A5C 7.61:1 AAA Lc -91.2 Preferred for body text
Black text on #335A5C 2.75:1 Fails Lc 17.6 Dividers and decoration only
#335A5C text on white 7.61:1 AAA Lc 86.4 Fine for body text
#335A5C text on black 2.75:1 Fails Lc -15.7 Dividers and decoration only

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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E4EBEC

    oklch(93.5% 0.008 207.1)

  3. Step 200

    200

    #CFDCDD

    oklch(88.5% 0.014 202.4)

  4. Step 300

    300

    #AEC6C7

    oklch(80.9% 0.026 199.7)

  5. Step 400

    400

    #83A9AB

    oklch(70.8% 0.041 200.3)

  6. Step 500

    500

    #629496

    oklch(63.2% 0.054 199.1)

  7. Step 600

    600

    #487E81

    oklch(55.7% 0.058 200.2)

  8. Step 700

    700

    #396A6D

    oklch(49.1% 0.053 200.7)

  9. Step 800

    800 (this color)

    #335A5C

    oklch(44% 0.044 199.9)

  10. Step 900

    900

    #2B4749

    oklch(37.7% 0.034 201.6)

  11. Step 950

    950

    #192A2B

    oklch(27.1% 0.023 200.6)

Export this scale for Tailwind in the Tailwind colors tool

#335A5C 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)#55575C0.045
Deuteranopia (no green cones)#4E515C0.043
Tritanopia (no blue cones)#205D5A0.020
Achromatopsia (no color)#5454540.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A5C

    #335A5C

    oklch(44% 0.044 199.9)

  • #694948

    #694948

    oklch(44% 0.044 21)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A5C

    #335A5C

    oklch(44% 0.044 199.9)

  • #395B4F

    #395B4F

    oklch(44.1% 0.045 170)

  • #385766

    #385766

    oklch(43.9% 0.044 229.9)

Open the analogous palette in the generator

Split complementary

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

  • #335A5C

    #335A5C

    oklch(44% 0.044 199.9)

  • #664856

    #664856

    oklch(43.9% 0.046 349.6)

  • #674B3C

    #674B3C

    oklch(43.9% 0.045 49.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A5C

    #335A5C

    oklch(44% 0.044 199.9)

  • #5E4B62

    #5E4B62

    oklch(44.1% 0.044 320.4)

  • #5F5036

    #5F5036

    oklch(43.9% 0.044 80.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A5C

    #335A5C

    oklch(44% 0.044 199.9)

  • #524E6A

    #524E6A

    oklch(43.9% 0.046 290.9)

  • #694948

    #694948

    oklch(44% 0.044 21)

  • #545538

    #545538

    oklch(44.1% 0.044 109.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #335A5C 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.