#335A5D

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

Aa

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

About this color

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

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

Values

HEX#335A5D
RGBrgb(51, 90, 93)
HSLhsl(184, 29%, 28%)
OKLCHoklch(44% 0.044 202)

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 #335A5D 7.60:1 AAA Lc -91.1 Preferred for body text
Black text on #335A5D 2.76:1 Fails Lc 17.7 Dividers and decoration only
#335A5D text on white 7.60:1 AAA Lc 86.3 Fine for body text
#335A5D text on black 2.76: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

    #AEC6C8

    oklch(80.9% 0.026 202.8)

  5. Step 400

    400

    #83A9AC

    oklch(70.8% 0.041 202.3)

  6. Step 500

    500

    #629397

    oklch(63% 0.053 202.4)

  7. Step 600

    600

    #487E82

    oklch(55.7% 0.058 201.8)

  8. Step 700

    700

    #396A6E

    oklch(49.2% 0.053 202.4)

  9. Step 800

    800 (this color)

    #335A5D

    oklch(44% 0.044 202)

  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

#335A5D 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)#55575D0.045
Deuteranopia (no green cones)#4E515D0.043
Tritanopia (no blue cones)#205D5B0.020
Achromatopsia (no color)#5454540.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A5D

    #335A5D

    oklch(44% 0.044 202)

  • #694947

    #694947

    oklch(44% 0.044 23)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A5D

    #335A5D

    oklch(44% 0.044 202)

  • #385B50

    #385B50

    oklch(44.1% 0.045 172.3)

  • #395767

    #395767

    oklch(44% 0.044 232.4)

Open the analogous palette in the generator

Split complementary

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

  • #335A5D

    #335A5D

    oklch(44% 0.044 202)

  • #664855

    #664855

    oklch(43.9% 0.045 351.4)

  • #674C3C

    #674C3C

    oklch(44.1% 0.045 51.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A5D

    #335A5D

    oklch(44% 0.044 202)

  • #5E4A61

    #5E4A61

    oklch(43.8% 0.045 322)

  • #5F5036

    #5F5036

    oklch(43.9% 0.044 80.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A5D

    #335A5D

    oklch(44% 0.044 202)

  • #534E69

    #534E69

    oklch(44% 0.044 293)

  • #694947

    #694947

    oklch(44% 0.044 23)

  • #535538

    #535538

    oklch(44% 0.045 111.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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