#335A6B

Closest named color: YInMn Blue (#415A77). oklch(44.6% 0.052 227.9), rgb(51, 90, 107).

Aa

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

About this color

#335A6B is a dark, muted teal or cyan. In OKLCH its lightness is 45%, its chroma 0.052 and its hue 228°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.027 away. White text reads best on it, at 7.45:1.

Hue familyTeals and cyans
Lightnessdark (45%)
Chromamuted (0.052)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.81:1
White text7.45:1

Values

HEX#335A6B
RGBrgb(51, 90, 107)
HSLhsl(198, 35%, 31%)
OKLCHoklch(44.6% 0.052 227.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 #335A6B 7.45:1 AAA Lc -90.7 Preferred for body text
Black text on #335A6B 2.81:1 Fails Lc 18.2 Dividers and decoration only
#335A6B text on white 7.45:1 AAA Lc 85.8 Fine for body text
#335A6B text on black 2.81:1 Fails Lc -16.2 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE2

    oklch(88.6% 0.017 225.2)

  4. Step 300

    300

    #ADC5D0

    oklch(80.9% 0.03 227.1)

  5. Step 400

    400

    #81A7B9

    oklch(70.7% 0.049 228.5)

  6. Step 500

    500

    #6091A7

    oklch(63% 0.062 228)

  7. Step 600

    600

    #457B93

    oklch(55.5% 0.068 228.6)

  8. Step 700

    700

    #36687D

    oklch(49.1% 0.063 227.5)

  9. Step 800

    800 (this color)

    #335A6B

    oklch(44.6% 0.052 227.9)

  10. Step 900

    900

    #294653

    oklch(37.7% 0.041 228.3)

  11. Step 950

    950

    #192930

    oklch(27% 0.025 227.2)

Export this scale for Tailwind in the Tailwind colors tool

#335A6B 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)#51596C0.039
Deuteranopia (no green cones)#49526B0.035
Tritanopia (no blue cones)#155F5F0.038
Achromatopsia (no color)#5555550.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #335A6B

    #335A6B

    oklch(44.6% 0.052 227.9)

  • #6C4B3B

    #6C4B3B

    oklch(44.5% 0.052 46.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335A6B

    #335A6B

    oklch(44.6% 0.052 227.9)

  • #2D5D5F

    #2D5D5F

    oklch(44.6% 0.052 199)

  • #425571

    #425571

    oklch(44.6% 0.052 257.9)

Open the analogous palette in the generator

Split complementary

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

  • #335A6B

    #335A6B

    oklch(44.6% 0.052 227.9)

  • #6E4849

    #6E4849

    oklch(44.5% 0.052 17.6)

  • #645132

    #645132

    oklch(44.6% 0.052 79)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335A6B

    #335A6B

    oklch(44.6% 0.052 227.9)

  • #6A4859

    #6A4859

    oklch(44.5% 0.053 348)

  • #575634

    #575634

    oklch(44.5% 0.051 106.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335A6B

    #335A6B

    oklch(44.6% 0.052 227.9)

  • #604B67

    #604B67

    oklch(44.5% 0.052 317.6)

  • #6C4B3B

    #6C4B3B

    oklch(44.5% 0.052 46.8)

  • #465B3F

    #465B3F

    oklch(44.6% 0.051 138)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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