#335F68

Closest named color: Petrol (#005F6A). oklch(45.8% 0.051 212.4), rgb(51, 95, 104).

Aa

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

About this color

#335F68 is a medium-dark, muted teal or cyan. In OKLCH its lightness is 46%, its chroma 0.051 and its hue 212°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.029 away. White text reads best on it, at 7.05:1.

Hue familyTeals and cyans
Lightnessmedium-dark (46%)
Chromamuted (0.051)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.97:1
White text7.05:1

Values

HEX#335F68
RGBrgb(51, 95, 104)
HSLhsl(190, 34%, 30%)
OKLCHoklch(45.8% 0.051 212.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 #335F68 7.05:1 AAA Lc -89.3 Fine for body text
Black text on #335F68 2.97:1 Fails Lc 19.7 Dividers and decoration only
#335F68 text on white 7.05:1 AAA Lc 84.3 Fine for body text
#335F68 text on black 2.97:1 Fails Lc -17.6 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBED

    oklch(93.5% 0.008 216.6)

  3. Step 200

    200

    #CDDCDF

    oklch(88.4% 0.017 211)

  4. Step 300

    300

    #ACC6CC

    oklch(80.9% 0.029 213.2)

  5. Step 400

    400

    #7FA9B2

    oklch(70.7% 0.047 212.3)

  6. Step 500

    500

    #5C949F

    oklch(63.2% 0.061 211.4)

  7. Step 600

    600

    #417E8A

    oklch(55.7% 0.066 211.9)

  8. Step 700

    700

    #326A75

    oklch(49.1% 0.061 212.1)

  9. Step 800

    800 (this color)

    #335F68

    oklch(45.8% 0.051 212.4)

  10. Step 900

    900

    #27474E

    oklch(37.6% 0.04 213.3)

  11. Step 950

    950

    #172A2E

    oklch(27.1% 0.026 212.5)

Export this scale for Tailwind in the Tailwind colors tool

#335F68 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)#585C690.048
Deuteranopia (no green cones)#4F56680.042
Tritanopia (no blue cones)#1663620.028
Achromatopsia (no color)#5959590.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #335F68

    #335F68

    oklch(45.8% 0.051 212.4)

  • #714D45

    #714D45

    oklch(45.8% 0.051 33)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335F68

    #335F68

    oklch(45.8% 0.051 212.4)

  • #35615A

    #35615A

    oklch(45.9% 0.05 182.7)

  • #3E5B72

    #3E5B72

    oklch(45.8% 0.051 243.1)

Open the analogous palette in the generator

Split complementary

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

  • #335F68

    #335F68

    oklch(45.8% 0.051 212.4)

  • #704C55

    #704C55

    oklch(45.9% 0.05 2.8)

  • #6C513A

    #6C513A

    oklch(45.7% 0.05 61.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335F68

    #335F68

    oklch(45.8% 0.051 212.4)

  • #694D64

    #694D64

    oklch(45.8% 0.051 332.7)

  • #615736

    #615736

    oklch(45.8% 0.051 93.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335F68

    #335F68

    oklch(45.8% 0.051 212.4)

  • #5D516F

    #5D516F

    oklch(45.8% 0.05 302.8)

  • #714D45

    #714D45

    oklch(45.8% 0.051 33)

  • #525C3C

    #525C3C

    oklch(45.7% 0.051 122.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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